We're building skills. That will be installed on the user's Alexa device.
That skill will perform the below-mentioned operations.
1. If the alarm goes off, then the Alexa device should send an event to our skill. Based on that we'll perform some action like playing music...etc
2. If the user plays a song through amazon prime, then the Alexa should send an event to our skill. Based on that our skill will perform certain operations.
Went through all the Alexa documentation. But didn't find any solutions. If there is a way to achieve this, please point me in the right direction. Any help would be very much appreciated.
Thank you in advance.