There is a built-in event for actions.intent.PLAY_GAME which should allow you to say “Hey Google, play APP”
How do I set that up and add it to the models.json
file?
There is a built-in event for actions.intent.PLAY_GAME which should allow you to say “Hey Google, play APP”
How do I set that up and add it to the models.json
file?
https://developers.google.com/assistant/conversational/df-asdk/discovery/built-in-intents
Probably you just need to set Dialogflow intent with event object.
@Mistic92 I used this in my model.json:
{
“name”: “PLAY_GAME-Intent”,
“auto”: true,
“webhookUsed”: true,
“events”: [
{
“name”:“actions_intent_PLAY_GAME”
}
]
},
and mapped this intent to the launch intent for the moment in the config.js:
intentMap: {
// …
‘PLAY_GAME-Intent’: ‘LAUNCH’,
// …
},