Wondering if the wizards here are able to push me in the right direction. I’m trying to dynamically set two values in a service call…with what I think is a twist.
Using the Alexa Actionable Notifications, I’m attempting to create a scenario where a user would be prompted for two values in sequence, and those values would then be used to set parameters for in this case an Eight Sleep Mattress.
The Alexa actionable notifications will return an event with the relevant data attached within the event.
I’m trying to wrap my head around how I would achieve this or if it’s even possible. Would I need multiple automatons and scripts or can this be done in one single run? I have the Alexa actionable notifications working great out of the box. This is really about parsing multiples events and setting multiple variables.
I believe the sequence would be:
- Call Service 1
- Wait for Trigger (Event 1)
- Receive Event 1
- Parse Event 1 event_data and set Variable 1
- Call Service 2
- Wait for Trigger (Event 2)
- Receive Event 2
- Parse Event 2 event_data and set Variable 2
- Call Service 3 and replace values in Service call with Variable 1 and Variable 2
I’m relatively new to variables but have been trying to research this on my own without any luck. Any help would be greatly appreciated. Thanks!