question

newuser-2f2acb6a-93a2-4863-a051-aecfde137240 avatar image
newuser-2f2acb6a-93a2-4863-a051-aecfde137240 asked ·

How to do Alexa Intent chaining?

Hi,

I am integrating Alexa with ServiceNow. I had created a skill and published it in the Amazon. account.

Please find the below sample conversation:


Step 1 : User: what's happening today?

Step 2 : Alexa: There are 1 critical incident and 2 pending approvals

Step 3 : User: Tell me about the critical incident.

Step 4 : Alexa: INC923982 has raised for Networking issues.


As the user says whats happening today then the todays_intent (Step 1) should get invoke and give a proper response and the user's next question should be related to todays_custom_intent( Step3 - Tell me about the critical incident).

Here the response for Step 3 is not coming as expected way. So, how can I chain the todays_intent with todays_custom_intent?



Thanks in Advance,

Karthik

alexa skills kitintentsskillsfallbackintent
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Anand@Amazon avatar image
Anand@Amazon answered ·

Hello there,

Yes , you can invoke different intent when user uttered "Tell me about the critical incident."

return handlerInput.responseBuilder
    .addDelegateDirective({
        name: 'OrderIntent',
        confirmationStatus: 'NONE',
        slots: {}
    })
    .speak("There are 1 critical incident and 2 pending approvals")
    .getResponse();

Check this link to know more about Intent chaining.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.