This is just for demonstration, and Alexa (Amazon's echo) does not support us by clicking on it to speak randomly, so we want to remove the hack.
- User speaks in Alexa
- We have our lambda that takes an action, and then hopefully sleep and wait for an API response that won't happen until we do something
- Then we can send a response from another user
- Lambda now returns text
Thus, we are trying to simulate two-way communication through Alexa.
Should I worry that Alexa will choose the time? If so, how long will it take? Will my Lambda timeout also (I assume I can just sleep in this code or hang on a remote call)?
source share