Skip to content

Automate Spotify

People automate the playlist chores Spotify leaves to you: filing liked songs by month, saving Discover Weekly before it rotates, reordering a party mix, and backing up a library. Tell your AI assistant what should happen to your music, review the plan it shows you, and it keeps running on its own.

Try asking

Create a ClickRuntime automation: give me a link where I can send a playlist idea. Have AI pick 20 songs that fit it, find them on Spotify, create a private playlist and email me the link.

Paste it into your assistant. It tells you what it will send or change before it runs live.

Ideas

What you can automate in Spotify

These keep your playlists tidy, archive tracks you would otherwise lose, and send you a picture of your listening habits. These are ready-made starting points. Anything else you can describe works too.

Build your own

Build any Spotify automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what Spotify should do in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Every Monday, take the songs I liked on Spotify last week and sort them into my playlists by mood, using AI to judge each track.

Every Friday, save my Spotify Discover Weekly tracks into a dated playlist and add the track list to Google Sheets.

When I add a song to my Spotify playlist, log it in Notion with artist and album, and post the track to my Telegram channel.

Beyond chat

Have Spotify work when you're not in the chat

Connecting Spotify to ChatGPT or Claude lets you ask about it while you chat. ClickRuntime handles the part that should happen on its own: checks on a schedule and actions on each new event, set up from the same chat and running after you close it.

Setup

Connect Spotify

Spotify connects through an OAuth app that you create yourself in the Spotify developer dashboard. Your app starts in development mode, which only lets accounts you add by hand use it.

Spotify

Media / Music

  1. Open the Spotify developer dashboard and create an app, selecting "Web API".
  2. Set the redirect URI to https://clickruntime.com/oauth/callback.
  3. Under Settings → User Management, add the email of your own Spotify account (up to 5 accounts).
  4. Copy the Client ID and Client Secret, then enter them under Connections in the ClickRuntime dashboard, choosing scopes such as playlist-read-private, playlist-modify-private, user-library-read and user-read-recently-played.

Good to know

Spotify limits that affect automations

  • A development-mode app works for at most 5 allowlisted users, and the app owner needs Spotify Premium. Accounts not on the list get a 403.
  • Access tokens last one hour and are refreshed automatically with the refresh token.
  • Recently played only returns your last 50 tracks, so listening recaps poll every hour to catch everything.
  • Playback controls such as queue, skip and pause need Premium and an active device.
  • Spotify restricts algorithmic playlists like Discover Weekly for newer apps, so test an archive run before relying on it.

FAQ

Questions about automating Spotify

Can ClickRuntime change my playlists?
Yes, with the playlist scopes you grant. It can create playlists, add and remove tracks and reorder them. It only reads your library and listening history if you add those scopes.
Why do I need my own Spotify developer app?
Spotify keeps new apps in development mode, limited to 5 hand-picked users. Creating the app yourself and adding your own account is how ClickRuntime gets access to your music.
Can it control what is playing right now?
It can queue a song, skip or pause through a link you call, as long as you have Premium and a device is active. Without an active device, the player calls fail.
Will my Discover Weekly archive always work?
Spotify limits access to its algorithmic playlists for newer apps, so the archive may not be able to read Discover Weekly. Run it once by hand to confirm before leaving it on a schedule.
Do I need my own AI key to build a playlist from a description?
No. AI comes with every plan, so the playlist builder picks songs without an extra key.
Is this a Spotify connector for ChatGPT or Claude?
Not for chatting with Spotify data. A chat connector lets your assistant read and change Spotify while you're in the conversation. ClickRuntime is for the work that should happen without you: you set up an automation from the chat once, and it keeps running on a schedule or on each Spotify event.

Tell your assistant what Spotify should do

Free plan. No credit card.