会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
概要(Dialogflow)
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Actions on Google では、アクションによって Google アシスタントの機能を拡張できます。アクションを使用すると、会話型インターフェースを介して、ユーザーがさまざまな目的を果たすことができます。簡単な指示を出して照明をつけたり、雑学クイズなどで長い会話をしたりできます。
アクションを設計して作成するには、Dialogflow という会話型プラットフォームを使用できます。Dialogflow では、アクションに Actions SDK の機能を含めて、使いやすい IDE、自然言語理解(NLU)、機械学習などといった機能を追加できます。
Google アシスタントを拡張するには、次の手順でアクションを作成します。
会話を設計する
開発を始める前に、会話、つまりアクションのユーザー インターフェースを設計する必要があります。会話は、ユーザーがアクションを呼び出す方法、アクションに有効なユーザーの呼びかけ、アクションがユーザーに応答する方法を記述するものです。
詳細
Actions on Google デベロッパー プロジェクトと Dialogflow エージェントを作成する
Actions Console に移動して、デベロッパー プロジェクトを作成します。プロジェクトを使用して、アクションに関するメタデータを定義し、承認プロセスを通してアクションを管理、追跡できます。プロジェクトを作成したら、すべてのアクションを定義する Dialogflow エージェントを作成します。
詳細
アクションの定義
Dialogflow エージェントでアクションを定義するには、インテントを使用します。インテントとは、アクションの機能へのエントリ ポイントを定義するものです。たとえば、作成するアクションで、品物を購入し、注文の状況をチェックし、1 日の取引を表示できるようにするとします。その場合、次の発話によってトリガーされるインテントを定義できます。
- 「OK Google、靴を買いたいのでお気に入りの靴屋さんにアクセスして」
- 「OK Google、お気に入りの靴屋さんで私の注文を調べて」
- 「OK Google、お気に入りの靴屋さんで今日のお買い得を調べて」
詳細
フルフィルメントを作成してデプロイする
アクションに含まれるアクションが呼び出されると、そのアクションを遂行するためにフルフィルメントが呼び出されて、ユーザーとの会話を開始します。
会話を作成するには、会話の文法(ユーザーが実際にアクションに話しかけることができるもの)を作成するために Dialogflow でインテントを定義します。ユーザーが実際に何かを話しかけてインテントがトリガーされると、フルフィルメントが呼び出され、フルフィルメントによってユーザーにレスポンスが返されます。
このリクエストとレスポンスのやり取りは、タスクを完了するのに十分な情報がフルフィルメントに収集されるまで繰り返されます。
詳細
アクションを提出し、承認を得てからユーザーに公開する

詳細
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-24 UTC。
[null,null,["最終更新日 2025-07-24 UTC。"],[[["\u003cp\u003eActions on Google lets you build Actions to extend Google Assistant functionality, enabling users to interact through voice commands for tasks or conversations.\u003c/p\u003e\n"],["\u003cp\u003eDialogflow simplifies Action development by providing tools like an IDE, NLU, and machine learning, wrapping the Actions SDK functionality.\u003c/p\u003e\n"],["\u003cp\u003eBuilding an Action involves designing the conversation flow, creating a developer project and Dialogflow agent, defining Actions with intents, and building and deploying fulfillment logic.\u003c/p\u003e\n"],["\u003cp\u003eBefore submitting your Action for approval, it's essential to thoroughly design the user interaction and define how users invoke and interact with your Action.\u003c/p\u003e\n"],["\u003cp\u003eActions are invoked through specific phrases or commands, triggering intents within your Dialogflow agent, which then execute fulfillment logic to handle the user request.\u003c/p\u003e\n"]]],["Actions on Google enhance Google Assistant's capabilities through conversational interfaces. Developers use Dialogflow to build these Actions. The process involves designing the conversation flow and creating a developer project and Dialogflow agent. Define Actions using intents within the Dialogflow agent, which are triggered by user phrases. When triggered, intents call on fulfillment to complete the requested task, creating an interactive conversation until the task is done. Finally, the action is submitted for approval.\n"],null,["# Overview (Dialogflow)\n\nActions on Google lets you extend the functionality of Google Assistant with\n***Actions***. Actions let users get things done through a conversational\ninterface that can range from a quick command to turn on some lights or a\nlonger conversation, such as playing a trivia game.\n\nDialogflow is a conversational platform that lets you design and build\nActions by wrapping the functionality of the [Actions SDK](/assistant/df-asdk/actions-sdk)\nand providing additional features such as an easy-to-use IDE, natural language\nunderstanding (NLU), machine learning, and more.\n\nTo extend Google Assistant, you build an Action with the following steps.\n\nDesign your Conversation\n------------------------\n\nBefore developing, you should design your conversation, or the user interface\nfor your Action. The conversation describes how users invoke your Action, the\nvalid things that they can say to your Action, and how your Action responds to\nthem.\n\n[Learn more](/assistant/df-asdk/design)\n\nCreate an Actions on Google developer project and Dialogflow Agent\n------------------------------------------------------------------\n\nGo to the [Actions console](https://console.actions.google.com/) and create a developer project.\nThe project lets you define metadata about your Action and manage and track\nyour Action through the approval process. Once you have a project, you can\ncreate a Dialogflow agent that defines all your Actions.\n\n[Learn more](/assistant/df-asdk/dialogflow/project-agent)\n\nDefine Actions\n--------------\n\nYou define Actions in your Dialogflow agent with intents that define entry\npoints into your Action's functionality. For example, say you wanted to build an\nAction that could purchase some goods, check the status of orders, and to show\nsome daily deals. You can define intents that are triggered by saying:\n\n- *\"Ok Google, talk to My Favorite Shoe Store to purchase some shoes\"*\n- *\"Ok Google, talk to My Favorite Shoe Store to check on my order\"*\n- *\"Ok Google, talk to My Favorite Shoe Store to show me today's deals\"*\n\n[Learn more](/assistant/df-asdk/dialogflow/define-actions)\n\nBuild and deploy fulfillment\n----------------------------\n\nWhen an Action in your Action is invoked, it calls fulfillment to start a\nconversation with users to fulfill the Action.\n\nTo create your conversation, you define intents in Dialogflow to create your\nconversation's grammar, or the things users can actually say to your Action.\nWhen users actually say something to trigger an intent, your fulfillment is\ncalled and returns a response back to the user.\n\nThis back and forth request and response happens repeatedly until your\nfulfillment has enough information to complete the task.\n\n[Learn more](/assistant/df-asdk/dialogflow/fulfillment)\n\nSubmit your Action for approval and make it available to users\n--------------------------------------------------------------\n\n[Learn more](/assistant/df-asdk/submit-project)"]]