Relevance AI
Relevance AI
Spotify logo

Spotify integration

Spotify is a digital music service that gives you access to millions of songs.

What your agents can do with Spotify

19 pre-built Spotify tool steps, ready to drop into any agent. Anything they do not cover, an agent can reach with an authenticated API call.

Actions (15)

Get currently playing track

Get the object currently being played on the user's Spotify account.

Get Album Tracks

Get all tracks in an album.

Save Tracks for User

Save one or more tracks to the current user’s "Your Music" library.

Remove User's Saved Tracks

Remove one or more tracks from the current user’s ‘Your Music’ library.

Remove Items from a Playlist

Remove one or more items from a user’s playlist.

Get a Track

Get a track by its name or ID.

Get Recommendations

Create a list of recommendations based on the available information for a given seed entity and matched against similar artists and tracks. If there is sufficient information about the provided seeds, a list of tracks will be returned together with pool size details.

Get a Playlist

Get a playlist owned by a Spotify user.

Get a Playlist's Items

Get full details of the items of a playlist owned by a Spotify user.

Get a Category's Playlists

Get a list of Spotify playlists tagged with a particular category.

Get Audio Features for a Track

Get audio feature information for a single track identified by its unique Spotify ID.

Get an Artist's Top Tracks

Get Spotify catalog information about an artist’s top tracks by country.

And 3 more, available in the tool step browser.

Triggers (4)

New Track in Playlist

Emit new event for each new Spotify track added to a playlist.

New Track by Artist

Emit new event for each new Spotify track related with an artist.

New Saved Track

Emit new event for each new track saved to the current Spotify user's Music Library.

New Playlist

Emit new event when a new playlist is created or followed by the current Spotify user.

Set up Spotify in Relevance AI

Do this once. Every agent in your workspace can then use the connection.

1

Create a Relevance AI account

Sign in, or create a free account. You do not need to be a developer to set this up.

2

Connect your Spotify account

In Relevance AI, open Integrations and add Spotify. You will be sent to Spotify to sign in and approve access, and the connection is stored against your workspace.

3

Use Spotify in an agent

Create a tool, add a Spotify tool step, and connect it to an agent. The agent fills in the step's inputs each time it runs.

Put Spotify to work in your agents

Connect Spotify alongside 1,800+ other integrations and let your agents run the busywork.