Actions on Google intents
Smart displays and speakers introduce two new types of intent:
- No input: when the user doesn't respond within a certain period of time.
- Cancelled input: when the user wants to end the interaction early.
Handling these intents allows you to provide a custom prompt to re-engage the user, and to gracefully end the conversation, respectively.
You can enable handling of these intents from the Actions on Google integrations settings page.

No input
When users don't respond to a prompt, the bot will receive this intent.
states
no_input_1
component meya.input_pattern
properties
text"What's your favorite color?"
pattern"^(?!actions.intent.NO_INPUT).*$"
output color
scope user
error_message"Sorry, I couldn't hear you. Try again."
# alternatively, you can set require_match: false
# and handle no_match for more advanced use-cases
require_matchtrue
no_input_2
component meya.text
properties
text"{COLOR} is a nice color."
actions.intent.CANCEL
When users say a global cancel command such as quit
, the bot will receive this intent, so you can respond with a final message.
triggers
type meya.keyword
properties
ignorecasetrue
keyword actions.intent.CANCEL
states
first
component meya.text
properties
text"Sad to see you go."
Updated about 1 month ago