The moment it happens
Queue, skip or pause Spotify from a link
Calling a link adds a track to your queue, skips to the next song or pauses playback.
- Runs
- The moment it happens
- Apps
- Spotify
- AI
- Not needed
- Access
- user-modify-playback-state
Send this to your assistant
Create a ClickRuntime automation: give me one link that adds the Spotify track I send to my queue, one that skips to the next song, and one that pauses.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Spotify's controls live inside its app, which is awkward when the person who wants to control the music is not holding the phone. A host wants guests to suggest songs without sharing a login. A stream deck, a smart home button or a barcode on the wall should skip the track. A shortcut on a watch should pause. Without something in between, each of these needs a custom integration, and Spotify's own remote options are limited.
Press a button or open a link, and the request goes to ClickRuntime with an action and, when relevant, a track. It reads what you asked for, such as add to queue, skip or pause, and calls the matching Spotify player endpoint on your account. The playback changes on whichever device you are currently using.
It is practical for parties, shared offices, cafes, workshops and home setups with a physical button.
What you get out of it
Guests can add songs without a login
Share a link or a QR code, and anyone can queue a song while your account stays private. Your party's music reflects the crowd's taste instead of one person's phone.
Physical buttons become possible
A stream deck key, a smart home button or an NFC tag can pause or skip, which is much easier than unlocking a phone when your hands are full while cooking or setting up. Setup is a one-time job, and then a single press does the work.
It works across devices
Playback commands go to Spotify's player API, so they control the active device, whether that is a speaker, a laptop or a TV, without needing to be near it. One link can serve every room, which suits households with several speakers.
Simple shortcuts replace app switching
A single tap on a phone shortcut or a watch can skip a song without opening anything, which is useful while driving a car, running or on a call. Hands stay on the wheel, the treadmill or the keyboard.
Shared spaces get shared control
An office or a cafe can let staff add to a queue from a web page, and the owner decides who knows the link. There is no need to pass around a password.
How it works
What happens, step by step
When you call your automation's link, ClickRuntime reads what you asked for: queue a song, skip or pause.
It tells Spotify to do that on the device you're listening on.
A queued song plays next, a skip moves straight to the next track, and a pause stops playback.
Before it runs live
- Connect Spotify
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
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.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Spotify steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http
API = "https://api.spotify.com/v1/me/player"
@on_event
def handle(event):
body = event.json or {}
action = body.get("action", "queue")
h = {"Authorization": f"Bearer {credentials.connection('spotify', 'personal')}"}
if action == "queue":
track = body["track"] # a track link or spotify:track:... uri
uri = track if track.startswith("spotify:") else "spotify:track:" + track.rstrip("/").split("/")[-1].split("?")[0]
resp = http.post(f"{API}/queue", headers=h, params={"uri": uri})
elif action == "next":
resp = http.post(f"{API}/next", headers=h)
elif action == "pause":
resp = http.put(f"{API}/pause", headers=h)
else:
return {"error": f"unknown action {action}"}
resp.raise_for_status()
return {"done": action}FAQ
Common questions
Does this need Spotify Premium?
Does something need to be playing already?
Can anyone who finds the link control my music?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Build a Spotify playlist from a mood you describe
You send an idea like "rainy Sunday jazz" and get an email with a link to a new 20-song playlist.
See how it worksSave Discover Weekly to a permanent playlist each Monday
Each week's Discover Weekly tracks land in an archive playlist, with no duplicates.
See how it worksCollect each month's liked songs in their own playlist
Songs you like go into a playlist named for the month, created when the month starts.
See how it worksKeep exploring
Set up “Queue, skip or pause Spotify from a link” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.