We’ve changed our name! API.AI is now Dialogflow. Learn more here.

Google Assistant

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 then switch on Google Assistant.

Actions on Google requires an Actions on Google Developer Console project in order to complete the setup. If you've never used the developer console, you'll be asked to create a project. Click on the Create Project button then enter the desired name of the project.

If you've previously used the developer console, you'll be asked to create a new project (leave the menu on the "Create a new Google project" and click the Create button) or choose an existing project from the list.

Once the new project is created you'll need to link it in the developer console. To do this, click the Create Project button and enter a project name.

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.

Using helpers

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 an Android phone. 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:

  1. Click on Integrations in the left menu and then click on the Google Assistant tile
  2. Click the Test button.
  3. Click on the View link to navigate to the Actions Simulator

  4. Click Start to log in to your Google account, in the developer console

  5. Enter "talk to my test app" in the Input area of the simulator to begin testing your agent