Stay organized with collections
Save and categorize content based on your preferences.
The simulator in the Actions console
lets you test your Action through an easy-to-use web interface that lets you
simulate hardware devices and their settings. You can also access debug
information such as the request and response that your fulfillment receives
and sends.
To test your Interactive Canvas Action in the simulator, you should select either
the Smart Display or Phone option. These options allow you to see how
your Action appears on devices with screens.
To use the simulator, follow these steps:
Make sure the most recent version of your code is deployed through Dialogflow's inline code editor.
Under Suggested input, click the suggestion chip that says Talk to my
test app to begin a conversation with your agent. You can also type Talk
to my test app and press enter in the Input field.
Debug your Action
The debug tab in the simulator shows the actual payload the Google Assistant
sends to your fulfillment in the assistantToAgentJson object
(see the request reference documentation)
and the response from your fulfillment in the agentToAssistant object
(see the response
reference documentation).
To copy the debug information to your clipboard, click on the clipboard icon
at the top right of the JSON debug information panel.
You can also use Chrome DevTools
to debug the iframe that hosts the web app on the simulator web page.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The Actions console simulator provides a web interface for testing Actions, offering device simulation and debug information access."],["To test Interactive Canvas Actions, select either the Smart Display or Phone option for device surface visualization."],["Debugging tools include access to request/response payloads in the debug tab and Chrome DevTools for web app debugging within the simulator."],["Initiating a conversation with your agent within the simulator is achieved by selecting the \"Talk to my test app\" suggestion or manually typing the phrase."],["Ensuring the latest code deployment and navigating to the \"Test\" section within the Actions console are prerequisites for simulator usage."]]],[]]