I have created an amazon alexa skills. I will show the list of upcoming events to the users. In background for getting the list of events, called an api and triggered an intent on the launch. I have used APL in this case, but can you please tell me how can I retrigger the intent from the skills in every 10 mins without any user invocation so that user can see last events list even if he keeps the echo show device idle.
Welcome @parth! I dont think proactive events will help either and there is any other way to do this.
Thanks @dominik-meissner for the clearance. Can you suggest me any other better approach for this use case.
If I understand right… Alexa closes idle connections. One way to cheat that would be to use a streaming API (as though you were playing music) .
You would need a codec “loop server” that would be dynamically generating soft background music on loop but every 10 minutes, splice in the update message. The challenge is that your message needs to be spliced in as audio rather than simple SSML. Maybe you could use Amazon “Polly” service to generate the update snippets. It’s not easy but it is theoretically possible.
The debugger manages to send requests to the skill… I find myself wondering whether the skill could “self-debug”, using this channel to submit text requests back through the system to itself. (I’d already been wondering whether that could be kluged into letting a skill front-end other skills…)
That way you would keep the server alive, the Debugger has nothing to do with the platform. Keeping a skill alive for more than 10 minutes without user invocation or interaction is bad design and therefore not recommended.