Test and Submit Actions

Now that you have your Dialogflow agent and fulfillment deployed, you can test out your Action on real hardware devices or the Actions Console simulator.

Testing on real hardware

On a supported device, such as a voice-activated speaker or an Android phone, log into the device with the same account that you used to create your Actions on Google project.

Test with the Actions simulator

The Actions console is where you manage all of the information, deployment, and configuration of your actions. In this case, we are building an app for the Google Assistant that consists of multiple actions and is powered by Dialogflow.

The left panel has information on your actions, like analytics, an overview of information, and how to deploy. The center is where you can talk to and test your app for Google Assistant. The right panel has debugging information on the current conversation and tools to test different situations. You can read more on how to use the Actions console on the Actions on Google developer site.


To test your Assistant app, click the text box that says "Talk to my test app" and press enter. The Google Assistant hands off the conversation to your app by saying "Okay. Let's get the test version of my test app." Then, your Dialogflow agent's Default Welcome intent will be matched, and the resulting response is sent to the Assistant.

After the welcome intent is matched, the user's next query is matched against your agent's intents, just like in the Dialogflow simulator. For instance, if you have an intent that captures when a user asks for your agent's name, when asked "What's your name?", the Actions on Google simulator would look like this:

Submit your Action for approval

When you want to update your developer project with a copy of your agent so you can submit it for review, use the update feature of Dialogflow. This uploads an Action package to your developer project for review.

  1. In Dialogflow's left navigation, click Integrations, then the Actions on Google card.
  2. Click on the UPDATE button.
  3. Go to the Actions on Google Developer Console and select your project. Fill out the information requested to submit your Action for approval. See Registering and Publishing for more information.

Dialogflow versioning

Dialogflow versioning allows you to take a snapshot of your agent to create a version that is immutable. You can create as many versions as you want and deploy a specific version to production or alpha/beta environments.

With the Dialogflow versioning feature, any edits you make to your Dialogflow agent will not impact your publicly available Actions. You can iterate and improve your Action in draft mode and make it available to users only when you're ready.

You’ll also be able to release different versions of your Actions in alpha, beta, or production release environments and roll back to previous versions if necessary.

Publishing to alpha/beta release environments

Dialogflow versioning is enabled automatically for Actions, when you submit an Action that you built with Dialogflow through the Actions Console.

To submit Actions from the Dialogflow Console to a Actions on Google release environment, follow these steps:

  1. Click on Integrations in the left navigation, click on the Google Assistant card and then click MANAGE ASSISTANT APP in the dialog.
  2. In the Actions Console, follow the steps described in Set up alpha/beta releases.

FAQ

  • How does Dialogflow versioning impact my existing Actions?

    • Existing Actions submitted to the Actions Console prior to May 8, 2018 will not be impacted. This means that edits you make to your Dialogflow agent will continue to be reflected in the existing Action. If the Action is already published, the edits will continue to be reflected live.
  • Will there be two versions I need to maintain in Action on Google and Dialogflow?

    • No, you have only one version as shown in your Manage releases page. It is unified across Actions on Google and Dialogflow. The only difference is now that we will create a snapshot of your Dialogflow agent at the time of submission. This snapshot will not be impacted by any future edits you make to your Dialogflow intents and entities.
  • Is versioning supported for Dialogflow V1?

    • Yes, it is supported for Actions on Google projects built with Dialogflow V1 or V2 APIs.
  • Can I create and deploy Actions on Google versions from the Dialogflow Console?

    • No, you can only do so via the Actions Console.
  • In the Dialogflow page I saw that this is available for users who opt-in to beta, is that applicable for Actions on Google?

    • No, the Dialogflow beta program is for Dialogflow agents that are not on the Actions on Google platform. If you have a Dialogflow agent for the Actions on Google platform, then it is automatically enabled and not in beta.
  • What happens if I enable beta in the Dialogflow Console?

    • Doing so will not change Actions on Google projects. If you enable beta, you will see an Environment tab in the Dialogflow Agent settings. In that page, you can view (but not edit) the same versions you created from the Actions Console and load any specific ones into the draft.