The Spotify service on IFTTT supports eight actions that can be used to integrate Spotify with other triggers available on IFTTT. These actions range from managing playlists and saving tracks to starting and stopping a playback.
The actions currently supported by the Spotify service
Most of these actions work even if Spotify isn't open or playing music. However, three actions do require an active Spotify device to function:
These actions are designed to be used when a track is playing or paused on an active Spotify device. For example, you could create an Applet using the Ring service where if a New Ring is Detected pause the Spotify playback, then five minutes resume the playback using the Start playback action by linking two Applets together.
The above Applet would only run if there is an playback on an active device. If not the Applet will return an error stating "You must have an active device. None was found."
Troubleshooting steps:
The Start playback, Pause playback, and Skip track action will run as long as these conditions are met:
-
Spotify must be open and actively running on your device when the applet is triggered.
- If you're using the Spotify Mobile app, the app will need to remain open on your device. For example, if the app is opened and a playback is started then closed and re-opened the Applet will no longer run
- If you're using a playback through Spotify.com the browser window will need to remain open
-
A track must be shown as being active as seen in the screen grab below
-
Your must have a Spotify Premium subscription
Example of a paused playback on the Spotify mobile app
To ensure your Spotify action runs properly, follow these steps:
-
Open Spotify on your device.
-
Start playing a track, then manually pause it.
-
Leave Spotify open and do not close the app or switch to another playback device.
-
Make sure your phone is unlocked when the trigger is expected to run.
Additional considerations:
- The other 5 actions available on Spotify as well as the Spotify service's triggers and queries do not require an active device to run
- Applets using a time based trigger with a Spotify action, such as every day at X time then Start playback can be used but the playback would need to be queued up and paused in advance of the Applet running.