Build apps for the Google Assistant through the Actions on Google developer platform. Dialogflow's Actions on Google integration allows you to reach users on voice-activated speakers like Google Home, eligible Android phones, iPhones, and in the future, every experience where the Google Assistant is available.
Setting Up Actions on Google
Steps for the initial setup of Actions on Google can be found here.
Setting Up Dialogflow
- Click on the Integrations option in the left menu and click on the Google Assistant banner at the top of the page.
- Choose the intent you want to use for your Explicit invocation. This is set to Default Welcome Intent to start. To choose a different intent, click the X to clear the field and choose a different intent from the resulting list.
- Choose one or more Implicit invocation intents. This is how users can invoke your app without specifying it's name. For example, if your app can locate nearby concerts, users can say "Ok Google, I want to find concerts around me".
Enable the Auto-preview Changes setting to have updates to your Dialogflow agent automatically sent to the Actions on Google console and simulator.
Click on the Test link to test your app in the Actions on Google simulator or click on Manage Assistant App to go to the Actions on Google console.
Building and Deploying Fulfillment
Since each Dialogflow agent has a Google Project automatically associated with it, we suggest using Google's Cloud Platform for your fulfillment hosting and deployment. Check out the following docs for how to:
As you develop your agent, you'll be working on a draft version. This means the app is not currently in production and has not yet been submitted. You can submit your agent by following the steps in the Actions on Google docs.
Helpers are specific to Google Assistant and allow it to momentarily take over the conversation to get common data (full name, date and time, delivery address, etc.).
In order to use helpers with your Dialogflow agent, you need to take these addtional steps.
On a device
You can test your agent on supported devices, such as a Google Home or supported mobile device. To do this, log into the device with the same Google account you used to login to Dialogflow and the Actions on Google Developer Console.
In the Actions Simulator
To test your agent in the Actions Simulator:
- Click on Integrations in the left menu and then click on the Google Assistant banner.
- Click the Test link at the bottom of the popup.
- Click Start to log in to your Google account, in the developer console
- Enter "talk to my test app" in the Input area of the simulator to begin testing your agent