question

JoseFM avatar image
JoseFM asked

How can I create an option menu in a Alexa skill?

I'm trying to create a menu of options, but I can't find information anywhere on how I can do it.

I'm using MQTT to send data between AWS Lambda and Node-RED and I want to give to the user the choice to select the broker they prefers, among other options.

alexa skills kitalexanodejsaws iot
10 |5000

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

1 Answer

Kwami E Occansey avatar image
Kwami E Occansey answered

Hi @JoseFM

To solve this problem in my skills, i created slot type with values of the choices. then elicit for that slot value. Another way i solved this is to create and numeration i.e. "Please choose one of these options: option A- AWS, option B- Node" and track the options and their value in the session attribute. when the user say A or option A, i check the session attribute for the value of A.

1 comment
10 |5000

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

JoseFM avatar image JoseFM commented ·

Thank you! I will try to do this. If I achieve something, I will tell.

0 Likes 0 ·