Actions SDK
Stay organized with collections
Save and categorize content based on your preferences.
The Actions SDK is a set of developer tools for building Actions for the
Google Assistant.
The SDK provides webhook libraries, a standard file-based schema to define
your Actions project, and a CLI to manage your Actions project, so you can
integrate building Actions for the Google Assistant into your existing workflow.
Key Features
Actions project file-based configuration
The Actions SDK uses the new Action Builder conversational model and provides
file-based representations of all the components of your conversational model:
intents, types,
scenes, prompts.
With the Actions project file-based configuration, it's easy to keep track of
versions of your Actions using the file-based version control system of your choice,
for example git.
Learn more about the Actions project file-based configuration
Client libraries
Actions SDK comes with a Node.js Client library that provides idiomatic interfaces
for the Conversation Webhook Protocol.
The Google Assistant uses the Webhook protocol to
communicate the user's requests to an Action and receive the response that
fulfills those requests.
With the Node.js Client library, it's easy to implement many common user flows,
for example extracting parameters from a voice query (e.g. categories or other type of
user preferences) and generating a multimodal representation (voice only and voice
and visuals) for the Google Assistant.
Get started with the Node.js client library
gactions command-Line interface
The gactions CLI manages project lifecycle through a set of configuration files
that define your Actions project, and provides functionalities to easily support
more advanced features of Actions for the Google Assistant like localization and
account linking.
With the gactions CLI, it’s easy to perform many common workflows, for example importing
an existing project and start working on a feature branch to add localization.
Get started with gactions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe Actions SDK offers developer tools for creating Actions for Google Assistant, simplifying the integration process.\u003c/p\u003e\n"],["\u003cp\u003eIt provides file-based project configuration, allowing version control and easier management of conversational models.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries, including a Node.js library, facilitate communication with the Google Assistant via the Conversation Webhook Protocol.\u003c/p\u003e\n"],["\u003cp\u003eThe gactions CLI manages project lifecycles, enabling features like localization and account linking for advanced Actions.\u003c/p\u003e\n"]]],["The Actions SDK provides tools for developing Google Assistant Actions. It uses a file-based system for configuring intents, types, scenes, and prompts, allowing version control via tools like Git. A Node.js client library facilitates communication between the user's requests and the Action's response. The `gactions` CLI manages the project lifecycle, supporting localization and account linking, and enabling workflows like importing existing projects and working on feature branches.\n"],null,["# Actions SDK\n\nThe Actions SDK is a set of developer tools for building Actions for the\nGoogle Assistant.\n\nThe SDK provides webhook libraries, a standard file-based schema to define\nyour Actions project, and a CLI to manage your Actions project, so you can\nintegrate building Actions for the Google Assistant into your existing workflow.\n\nKey Features\n------------\n\n### Actions project file-based configuration\n\nThe Actions SDK uses the [new Action Builder conversational model]() and provides\nfile-based representations of all the components of your conversational model:\n[intents](/assistant/conversational/intents), [types](/assistant/conversational/types),\n[scenes](/assistant/conversational/scenes), [prompts](/assistant/conversational/prompts).\n\nWith the Actions project file-based configuration, it's easy to keep track of\nversions of your Actions using the file-based version control system of your choice,\nfor example git.\n\n[Learn more about the Actions project file-based configuration](/assistant/conversational/build/projects)\n\n### Client libraries\n\nActions SDK comes with a Node.js Client library that provides idiomatic interfaces\nfor the [Conversation Webhook Protocol](/assistant/actionssdk/assistant/conversational/webhooks).\nThe Google Assistant uses the Webhook protocol to\ncommunicate the user's requests to an Action and receive the response that\nfulfills those requests.\n\nWith the Node.js Client library, it's easy to implement many common user flows,\nfor example extracting parameters from a voice query (e.g. categories or other type of\nuser preferences) and generating a multimodal representation (voice only and voice\nand visuals) for the Google Assistant.\n\n[Get started with the Node.js client library]()\n\n### gactions command-Line interface\n\nThe gactions CLI manages project lifecycle through a set of configuration files\nthat define your Actions project, and provides functionalities to easily support\nmore advanced features of Actions for the Google Assistant like localization and\naccount linking.\n\nWith the gactions CLI, it's easy to perform many common workflows, for example importing\nan existing project and start working on a feature branch to add localization.\n\n[Get started with gactions](/assistant/actionssdk/first-action)"]]