This is an example template that shows how to use timers in a custom Alexa skill. It also includes code that shows how to implement support for voice permissions.
- An Amazon Developer Account
- Create an Alexa-Hosted skill for Node.js
- Require timer permissions
- Require the axios npm package
- Define a timer item
- Check for permissions when skill is launched
- Add the
AskForPermissionsConsentRequest
directive - Handel the
Connections.Response
- Set time when user affirms prompt to start timer