I am having trouble with implementing a confirmation for an intent. The documentation is really vague. I am currently using jovo framework in writing my code with nodeJs which saved me a ton of time.
This is an example of how I want to confirm the user's request:
User: Alexa, play NRJ radio
Alexa: Do you want me to play NRJ radio?
User: Yes
Alexa: I will play NRJ radio
Alexa plays NRJ radio
I have enabled intent confirmation in the Alexa console and I thought that was enough. But, it isn't. And I need to know what to do exactly to make this work. Thank you.
I have read the documentation multiple times and I couldn't understand how I should use dialog.delegate to achieve my goal and whether I should modify the JSON file in the console in one way or another.
This is really confusing so all help is welcome. Thank you :)
Alexa how to implement intent confirmation?
763 Views Asked by AG_HIHI At
1
We usually recommend using states for things like this. For example, you could add a state
PlayConfirmationState
to your question withfollowUpState
and then in this state listen for theAMAZON.YesIntent
.This is how it could look like in your
app.js
:For more information, take a look at the following resources: