Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save crazyrohila/881ad84ab361b109e6170fee38fb7c3c to your computer and use it in GitHub Desktop.
Save crazyrohila/881ad84ab361b109e6170fee38fb7c3c to your computer and use it in GitHub Desktop.
alexa show reprompt with touch and voice
{
"version": "1.0",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "Yeah, sure. You can claim expenses through Keka."
},
"reprompt": {
"outputSpeech": {
"type": "PlainText",
"text": "Do you want to know anything else?"
}
},
"directives": [{
"type": "Display.RenderTemplate",
"template": {
"type": "BodyTemplate1",
"title": "Welcome",
"textContent": {
"primaryText": {
"type": "RichText",
"text": "Yeah, sure. You can claim expenses through Keka."
},
"tertiaryText": {
"type": "RichText",
"text": "<br/><br/>Do you want to know anything else? <br/><action token='close_session'><u>No</u></action> <action token='open_session'><u>Yes</u></action>"
}
}
}
}],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment