Developing an Action that uses Interactive Canvas follows the same general steps for building a conversational Action. Once you create your Actions project, Dialogflow agent, fulfillment, and web app, you define the communication between your Action and Interactive Canvas.
Follow these development steps to build your Interactive Canvas Action:
Setup: Set up the various tools and platforms for developing an Action that uses Interactive Canvas.
- Create an Actions project: Create the project that contains the metadata required to configure, manage, and publish your Action.
- Create the Dialogflow agent: Use Dialogflow to build the conversational interface for your Action.
Build your conversational Action: Define the webhook logic for the intents in your Action that include an
HtmlResponse. The Interactive Canvas documentation shows you how to build your Action with the Node.js client library, but you can also build with the Java client library.
Deploy your fulfillment: Use the Firebase CLI to deploy your fulfillment code.
Test your Action: Learn how to use the simulator to test your Action.