Spotify
App · Music & Podcasts · 27 actions
Search tracks, albums, and artists, build and edit playlists, save music to your library, and see and control what's playing on Spotify.
Actions
| Action | What it does |
|---|---|
| Add to queue | Add a song or podcast episode to the end of what's up next on the device you're playing Spotify on. |
| Add tracks to playlist | Add one or more tracks to a Spotify playlist. |
| Create playlist | Create a new playlist in your connected Spotify account. |
| Get album details | Look up a Spotify album by its ID, including its track list. |
| Get artist details | Look up a Spotify artist by their ID. |
| Get current playback | Get details about what's currently playing on Spotify. |
| Get playlist details | Look up a Spotify playlist's name, description, owner, whether it's public, and how many songs it has. |
| Get track details | Look up the details of a Spotify track by its ID. |
| Go back to previous song | Go back to the previous song on Spotify. |
| List album tracks | List the tracks on a Spotify album, in order. |
| List artist's albums | List an artist's albums, singles and compilations on Spotify, newest first, 10 at a time. |
| List followed artists | List the artists you follow on Spotify. |
| List liked songs | List the songs in your Liked Songs, the most recently liked first. |
| List my playlists | List the playlists in your Spotify library, the ones you made and the ones you follow, with each one's name, owner and length. |
| List recently played songs | List the songs you played most recently on Spotify, newest first (podcast episodes aren't included). |
| List songs in a playlist | List the songs and podcast episodes in one of your playlists, in playlist order. |
| Pause playback | Pause what's playing on Spotify. |
| Play music | Start playing an album, artist, playlist or podcast, or a list of songs, on the device you're playing Spotify on. |
| Remove tracks from playlist | Remove one or more tracks from a Spotify playlist. |
| Resume playback | Carry on playing what was paused on Spotify. |
| Save albums to library | Save one or more albums to your Spotify library. |
| Save episodes to library | Save one or more podcast episodes to Your Episodes in your Spotify library. |
| Save tracks to library | Save one or more tracks to your Spotify library (Liked Songs). |
| Search Spotify | Search Spotify for tracks, albums, artists, playlists, podcasts or podcast episodes by keyword and return the top matches. |
| Set volume | Set the volume of the device you're playing Spotify on, from 0 to 100. |
| Skip to next song | Skip to the next song in the queue on Spotify. |
| Update playlist | Rename one of your Spotify playlists, change its description, or make it public or private. |
Add to queue
Add a song or podcast episode to the end of what's up next on the device you're playing Spotify on. Needs Spotify Premium.
Inputs
- Song or episode
itemtextRequired - A Spotify song or episode link, a spotify:track: or spotify:episode: URI, or a song's ID.
Outputs
queuedtrue/false- True when Spotify took the song.
uritext- The Spotify URI that was queued.
Example output
{
"queued": true,
"uri": "spotify:track:abc123xyz"
}Add tracks to playlist
Add one or more tracks to a Spotify playlist.
Inputs
- Playlist
playlist_idtextRequired - The playlist to add tracks to. Paste a Spotify playlist link, a spotify:playlist: URI, or the playlist's ID.
- Tracks to add
track_urislistRequired - A list of tracks to add (up to 100). Each item can be a Spotify track link, a spotify:track: URI, or a track ID. Build the list with a Create a list step.
- Insert position
positionnumber - Where to place the tracks, counting from 0. Leave empty to add them at the end.At least 0.
Outputs
snapshot_idtext- Playlist snapshot ID representing the current version after tracks were added.
Example output
{
"snapshot_id": "abc123xyz789"
}Create playlist
Create a new playlist in your connected Spotify account. You can add a description, choose whether it's public, and make it collaborative.
Inputs
- Playlist name
nametextRequired - The name of the new playlist.
- Description
descriptiontext - An optional description shown on the playlist in Spotify.
- Public
publictrue/false - Make the playlist visible on your public profile.Default:
false. - Collaborative
collaborativetrue/false - Let others add and remove tracks. A collaborative playlist must be private, so keep Public set to No.Default:
false.
Outputs
playlistobject- Playlist details
Example output
{
"playlist": {
"collaborative": false,
"id": "abc123xyz789",
"name": "Sample Item",
"public": false,
"uri": "spotify:playlist:abc123xyz"
}
}Get album details
Look up a Spotify album by its ID, including its track list.
Inputs
- Album
album_idtextRequired - The album to look up. Paste a Spotify album link, a spotify:album: URI, or the album's ID.
Outputs
albumobject- Album details
Example output
{
"album": {
"artists": [
"mock_value"
],
"id": "abc123xyz789",
"name": "Sample Item",
"release_date": "2020-01-01",
"total_tracks": 1,
"tracks": [
{
"id": "trk123",
"name": "Sample Track",
"uri": "spotify:track:trk123"
}
],
"uri": "spotify:album:abc123xyz"
}
}Get artist details
Look up a Spotify artist by their ID.
Inputs
- Artist
artist_idtextRequired - The artist to look up. Paste a Spotify artist link, a spotify:artist: URI, or the artist's ID.
Outputs
artistobject- Artist details
Example output
{
"artist": {
"followers": 1,
"genres": [
"mock_value"
],
"id": "abc123xyz789",
"name": "Sample Item",
"popularity": 1,
"uri": "spotify:artist:abc123xyz"
}
}Get current playback
Get details about what's currently playing on Spotify.
Inputs
None.
Outputs
devicetext- Active device name, or null when no device is active
is_playingtrue/false- True if a track is currently playing, false if paused or nothing is playing
progress_msnumber- Current playback position in milliseconds, or null when nothing is playing
trackobject- Currently playing track, or null when nothing is playing
Example output
{
"device": "Web Player",
"is_playing": true,
"progress_ms": 1,
"track": {
"artists": [
"mock_value"
],
"id": "abc123xyz789",
"name": "Sample Item",
"uri": "spotify:track:abc123xyz"
}
}Get playlist details
Look up a Spotify playlist's name, description, owner, whether it's public, and how many songs it has.
Inputs
- Playlist
playlist_idtextRequired - The playlist to look up: a Spotify playlist link, a spotify:playlist: URI, or a playlist ID.
Outputs
playlistobject- The playlist.
Example output
{
"playlist": {
"collaborative": false,
"description": "Songs for the drive",
"id": "37i9dQZF1DXcBWIGoYBM5M",
"name": "Road trip",
"owner": "Sam",
"public": false,
"snapshot_id": "AAAAB8C2sMgYb1g",
"total_items": 24,
"uri": "spotify:playlist:37i9dQZF1DXcBWIGoYBM5M",
"url": "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M"
}
}Get track details
Look up the details of a Spotify track by its ID.
Inputs
- Track
track_idtextRequired - The track to look up. Paste a Spotify track link, a spotify:track: URI, or the track's ID.
Outputs
trackobject- Track details
Example output
{
"track": {
"album": "Greatest Hits",
"artists": [
"mock_value"
],
"duration_ms": 1,
"id": "abc123xyz789",
"name": "Sample Item",
"preview_url": "https://example.com/path/123",
"uri": "spotify:track:abc123xyz"
}
}Go back to previous song
Go back to the previous song on Spotify. Needs Spotify Premium.
Inputs
None.
Outputs
skippedtrue/false- True when Spotify went back.
Example output
{
"skipped": true
}List album tracks
List the tracks on a Spotify album, in order.
Inputs
- Album
album_idtextRequired - The album: a Spotify album link, a spotify:album: URI, or the album's ID.
- Number of tracks
limitnumber - How many tracks to return (1-50). Defaults to 50.From 1 to 50. Default:
50. - Skip
offsetnumber - How many tracks to skip, to get the next page. Leave at 0 to start from the first.At least 0. Default:
0.
Outputs
totalnumber- How many tracks the album has.
trackslist- The album's tracks, in order.
Example output
{
"total": 1,
"tracks": [
{
"album": null,
"artists": [
"The Beatles"
],
"duration_ms": 185733,
"id": "abc123xyz789",
"name": "Here Comes the Sun",
"track_number": 1,
"type": "track",
"uri": "spotify:track:abc123xyz789",
"url": "https://open.spotify.com/track/abc123xyz789"
}
]
}List artist's albums
List an artist's albums, singles and compilations on Spotify, newest first, 10 at a time.
Inputs
- Artist
artist_idtextRequired - The artist: a Spotify artist link, a spotify:artist: URI, or the artist's ID.
- Kind of release
album_typetext - Which of the artist's releases to list.One of:
all(Everything),album(Albums),single(Singles and EPs),compilation(Compilations),appears_on(Albums they appear on). Default:all. - Number of albums
limitnumber - How many albums to return (1-10). Defaults to 10.From 1 to 10. Default:
10. - Skip
offsetnumber - How many albums to skip, to get the next page. Leave at 0 to start from the first.At least 0. Default:
0.
Outputs
albumslist- The artist's releases.
totalnumber- How many such releases the artist has in all.
Example output
{
"albums": [
{
"album_type": "album",
"artists": [
"The Beatles"
],
"id": "0ETFjACtuP2ADo6LFhL6HN",
"name": "Abbey Road",
"release_date": "1969-09-26",
"total_tracks": 17,
"uri": "spotify:album:0ETFjACtuP2ADo6LFhL6HN",
"url": "https://open.spotify.com/album/0ETFjACtuP2ADo6LFhL6HN"
}
],
"total": 1
}List followed artists
List the artists you follow on Spotify.
Inputs
- Number of artists
limitnumber - How many artists to return (1-50). Defaults to 20.From 1 to 50. Default:
20. - Start after
aftertext - To get the next page, the Next page value from the last run. Leave blank to start from the beginning.
Outputs
artistslist- The artists you follow.
next_aftertext- Put this in Start after to get the next page; blank when there are no more.
totalnumber- How many artists you follow in all.
Example output
{
"artists": [
{
"id": "3WrFJ7ztbogyGnTHbHJFl2",
"name": "The Beatles",
"uri": "spotify:artist:3WrFJ7ztbogyGnTHbHJFl2",
"url": "https://open.spotify.com/artist/3WrFJ7ztbogyGnTHbHJFl2"
}
],
"next_after": "",
"total": 1
}List liked songs
List the songs in your Liked Songs, the most recently liked first.
Inputs
- Number of songs
limitnumber - How many songs to return (1-50). Defaults to 20.From 1 to 50. Default:
20. - Skip
offsetnumber - How many songs to skip, to get the next page. Leave at 0 to start from the first.At least 0. Default:
0.
Outputs
totalnumber- How many liked songs you have in all.
trackslist- Your liked songs, newest first.
Example output
{
"total": 1,
"tracks": [
{
"added_at": "2026-11-02T09:15:00Z",
"album": "Abbey Road",
"artists": [
"The Beatles"
],
"duration_ms": 185733,
"id": "abc123xyz789",
"name": "Here Comes the Sun",
"type": "track",
"uri": "spotify:track:abc123xyz789",
"url": "https://open.spotify.com/track/abc123xyz789"
}
]
}List my playlists
List the playlists in your Spotify library, the ones you made and the ones you follow, with each one's name, owner and length.
Inputs
- Number of playlists
limitnumber - How many playlists to return (1-50). Defaults to 20.From 1 to 50. Default:
20. - Skip
offsetnumber - How many playlists to skip, to get the next page. Leave at 0 to start from the first.At least 0. Default:
0.
Outputs
playlistslist- Your playlists, as Spotify lists them.
totalnumber- How many playlists your library has in all.
Example output
{
"playlists": [
{
"collaborative": false,
"description": "Songs for the drive",
"id": "37i9dQZF1DXcBWIGoYBM5M",
"name": "Road trip",
"owner": "Sam",
"public": false,
"total_items": 24,
"uri": "spotify:playlist:37i9dQZF1DXcBWIGoYBM5M",
"url": "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M"
}
],
"total": 1
}List recently played songs
List the songs you played most recently on Spotify, newest first (podcast episodes aren't included).
Inputs
- Number of songs
limitnumber - How many songs to return (1-50). Defaults to 20.From 1 to 50. Default:
20.
Outputs
trackslist- What you played, newest first.
Example output
{
"tracks": [
{
"album": "Abbey Road",
"artists": [
"The Beatles"
],
"duration_ms": 185733,
"id": "abc123xyz789",
"name": "Here Comes the Sun",
"played_at": "2026-11-29T18:42:10Z",
"type": "track",
"uri": "spotify:track:abc123xyz789",
"url": "https://open.spotify.com/track/abc123xyz789"
}
]
}List songs in a playlist
List the songs and podcast episodes in one of your playlists, in playlist order. Spotify only lists playlists you own or collaborate on.
Inputs
- Playlist
playlist_idtextRequired - The playlist to read, one you own or collaborate on: a Spotify playlist link, a spotify:playlist: URI, or a playlist ID.
- Number of songs
limitnumber - How many songs to return (1-50). Defaults to 50.From 1 to 50. Default:
50. - Skip
offsetnumber - How many songs to skip, to get the next page. Leave at 0 to start from the first.At least 0. Default:
0.
Outputs
itemslist- The songs and episodes, in playlist order.
totalnumber- How many items the playlist has in all.
Example output
{
"items": [
{
"added_at": "2026-11-02T09:15:00Z",
"album": "Abbey Road",
"artists": [
"The Beatles"
],
"duration_ms": 185733,
"id": "abc123xyz789",
"name": "Here Comes the Sun",
"type": "track",
"uri": "spotify:track:abc123xyz789",
"url": "https://open.spotify.com/track/abc123xyz789"
}
],
"total": 1
}Pause playback
Pause what's playing on Spotify. Needs Spotify Premium.
Inputs
None.
Outputs
pausedtrue/false- True when Spotify paused.
Example output
{
"paused": true
}Play music
Start playing an album, artist, playlist or podcast, or a list of songs, on the device you're playing Spotify on. It replaces what's playing. Needs Spotify Premium.
Inputs
- What to play
playtext - A Spotify link or URI for an album, artist, playlist, podcast or single song. Leave blank to play the songs below.
- Songs to play
track_urislist - Instead, a list of songs to play in order (up to 100): Spotify links, spotify:track: URIs or IDs. Build the list with a Create a list step.
Outputs
playingtrue/false- True when Spotify started playing.
startedtext- The Spotify URI (or URIs) it started.
Example output
{
"playing": true,
"started": "spotify:album:1A2GTWGtFfWp7KSQTwWOyo"
}Remove tracks from playlist
Remove one or more tracks from a Spotify playlist.
Inputs
- Playlist
playlist_idtextRequired - The playlist to remove tracks from. Paste a Spotify playlist link, a spotify:playlist: URI, or the playlist's ID.
- Tracks to remove
track_urislistRequired - A list of tracks to remove (up to 100). Each item can be a Spotify track link, a spotify:track: URI, or a track ID. Build the list with a Create a list step.
Outputs
snapshot_idtext- Playlist snapshot ID representing the current version after tracks were removed.
Example output
{
"snapshot_id": "abc123xyz789"
}Resume playback
Carry on playing what was paused on Spotify. Needs Spotify Premium.
Inputs
None.
Outputs
playingtrue/false- True when Spotify carried on playing.
Example output
{
"playing": true
}Save albums to library
Save one or more albums to your Spotify library.
Inputs
- Albums to save
album_urislistRequired - A list of albums to save (up to 40). Each item can be a Spotify album link, a spotify:album: URI, or an album ID. Build the list with a Create a list step.
Outputs
countnumber- How many albums were saved.
savedtrue/false- True when the albums were saved.
Example output
{
"count": 1,
"saved": true
}Save episodes to library
Save one or more podcast episodes to Your Episodes in your Spotify library.
Inputs
- Episodes to save
episode_urislistRequired - A list of podcast episodes to save (up to 40). Each item can be a Spotify episode link, a spotify:episode: URI, or an episode ID. Build the list with a Create a list step.
Outputs
countnumber- How many episodes were saved.
savedtrue/false- True when the episodes were saved.
Example output
{
"count": 1,
"saved": true
}Save tracks to library
Save one or more tracks to your Spotify library (Liked Songs).
Inputs
- Tracks to save
track_urislistRequired - A list of tracks to save (up to 40). Each item can be a Spotify track link, a spotify:track: URI, or a track ID. Build the list with a Create a list step.
Outputs
countnumber- How many tracks were saved.
savedtrue/false- True when the tracks were saved.
Example output
{
"count": 1,
"saved": true
}Search Spotify
Search Spotify for tracks, albums, artists, playlists, podcasts or podcast episodes by keyword and return the top matches.
Inputs
- Search terms
querytextRequired - What to look for: a song, album, artist, playlist, podcast or episode.
- What to search for
search_typetext - Choose the kind of item to search for.One of:
track,album,artist,playlist,show(Podcast),episode(Podcast episode). Default:track. - Number of results
limitnumber - How many results to return (1-10). Defaults to 5.From 1 to 10. Default:
5.
Outputs
resultslist- List of matching items.
Example output
{
"results": [
{
"artists": [
"mock_value"
],
"id": "abc123xyz789",
"name": "Sample Item",
"type": "track",
"uri": "spotify:track:abc123xyz"
}
]
}Set volume
Set the volume of the device you're playing Spotify on, from 0 to 100. Needs Spotify Premium.
Inputs
- Volume
volume_percentnumberRequired - The volume, from 0 (silent) to 100 (loudest).From 0 to 100.
Outputs
volume_percentnumber- The volume it was set to.
Example output
{
"volume_percent": 40
}Skip to next song
Skip to the next song in the queue on Spotify. Needs Spotify Premium.
Inputs
None.
Outputs
skippedtrue/false- True when Spotify skipped.
Example output
{
"skipped": true
}Update playlist
Rename one of your Spotify playlists, change its description, or make it public or private. A blank field is left as it is.
Inputs
- Playlist
playlist_idtextRequired - The playlist to change, one you own: a Spotify playlist link, a spotify:playlist: URI, or a playlist ID.
- New name
nametext - The playlist's new name. Leave blank to keep it.
- New description
descriptiontext - The playlist's new description. Leave blank to keep it.
- Visibility
visibilitytext - Whether the playlist shows on your profile. A collaborative playlist must stay private.One of:
unchanged(Leave as it is),public,private. Default:unchanged.
Outputs
descriptiontext- Its new description, when one was given.
idtext- The playlist's ID.
nametext- Its new name, when one was given.
publictrue/false- Whether it is now public, when that was changed.
updatedtrue/false- True when the playlist was changed.
Example output
{
"description": "Songs for the drive",
"id": "37i9dQZF1DXcBWIGoYBM5M",
"name": "Road trip",
"public": false,
"updated": true
}