Created
December 4, 2018 22:09
-
-
Save crazyrohila/881ad84ab361b109e6170fee38fb7c3c to your computer and use it in GitHub Desktop.
alexa show reprompt with touch and voice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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