I believe there's something fundamental im not understanding with Alexa Dialog and the interface.
Basically, when the user invokes the skill, I need to check an endpoint to see if theyve registered. this registration is nothing more than the Lambda passing the alexa user id to an endpoint for storage. If we have the alexa user id, theyre registered. The problem is, I have to push them through a "registration" process... which means there needs to be dialog.
So the user fires the initial intent, and once it finds they need to register, i need to switch to the registration intent... how can i do that? What am I missing?
I'm hoping someone can help me.
Here's my flow...
User: Alexa, ask device skill what is my battery level?
[Starts with checkBattery Intent which checks endpoint finds user isn't linked.]
Alexa: Hello, it looks like your account is not linked. Please tell me your device ID.
[Switches to "registration" intent dialogState "STARTED" not sure how to do this part]
User: (user gets and read id from device to alexa) 986233
Alexa: Great thanks. Are you Steve from Detroit?
Alexa: Okay lets try that again. Please tell me your device ID
Alexa: Great thanks. Are you John from Houston?
Alexa: Hi John, your battery level is 28%. What else can I help you with?