I am making a skill for a project and I am attempting to make it control music playback. Is there a way I can make Alexa play a particular playlist on Spotify or Amazon Music? I don't want to say "Alexa, play <song name> on Spotify." Instead I want her to use the skill to choose a custom playlist.
For example, I want to be able to say "Alexa, ask <custom skill> to 'party'" and Alexa will play the playlist associated with the word "party." Otherwise I could say "Alexa, ask <custom skill> to study" and it will play the playlist associated with the word "study." Is there any way to do this?
If so, is there a blueprint or sample code that can be provided?