Remote OpenClaw Blog
OpenClaw Spotify Integration: Music Playback Control Setup
What changed
This post was reviewed and updated to reflect current deployment, security hardening, and operations guidance.
What should operators know about OpenClaw Spotify Integration: Music Playback Control Setup?
Answer: The Spotify integration is one of the most fun OpenClaw tools — and one of the simplest to set up. It lets you control your music playback, manage playlists, and discover new music through natural conversation in your messaging channel. Text "Play something relaxing" and your speakers start playing. This guide covers practical deployment decisions, security controls, and.
How to connect OpenClaw to Spotify for voice-controlled playback, playlist management, and music discovery. Covers Spotify Developer setup, OAuth flow, and playback commands.
The Spotify integration is one of the most fun OpenClaw tools — and one of the simplest to set up. It lets you control your music playback, manage playlists, and discover new music through natural conversation in your messaging channel. Text "Play something relaxing" and your speakers start playing.
While it may seem like a novelty, music control is a practical quality-of-life feature for users who interact with OpenClaw throughout the day. It keeps you in one interface instead of switching apps.
Marketplace
Free skills and AI personas for OpenClaw — deploy a pre-built agent in 15 minutes.
Browse the Marketplace →Join the Community
Join 500+ OpenClaw operators sharing deployment guides, security configs, and workflow automations.
What Does the OpenClaw Spotify Integration Do?
- Playback control — play, pause, skip, previous, volume up/down, shuffle, repeat
- Natural language search — "Play some jazz" or "Play the latest album by Radiohead"
- Device control — switch playback between your phone, computer, and smart speakers
- Playlist management — create, edit, and populate playlists through conversation
- Now playing — "What song is this?" returns the current track info
- Music discovery — "Recommend something similar to what I've been listening to"
- Listening history — "What did I listen to most this week?"
What Do You Need Before Starting?
- A running OpenClaw instance
- A Spotify account (Premium required for playback control)
- A Spotify Developer account at developer.spotify.com
How Do You Connect OpenClaw to Spotify?
Step 1 — Create a Spotify Developer app
Go to the Spotify Developer Dashboard and click Create App. Name it "OpenClaw Music" and add a redirect URI: http://localhost:8888/callback. Note the Client ID and Client Secret.
Step 2 — Configure OpenClaw
tools:
spotify:
enabled: true
client_id: "your-spotify-client-id"
client_secret: "your-spotify-client-secret"
redirect_uri: "http://localhost:8888/callback"
scopes:
- "user-modify-playback-state"
- "user-read-playback-state"
- "user-read-currently-playing"
- "playlist-modify-public"
- "playlist-modify-private"
- "user-read-recently-played"
- "user-top-read"
Step 3 — Authorize OpenClaw
openclaw auth spotify
This opens a browser window for Spotify OAuth. Log in with your Spotify account and approve the permissions. OpenClaw stores the refresh token for persistent access.
Step 4 — Start and test
openclaw start
Make sure Spotify is active on one of your devices (phone, desktop, or web player). Message your bot: "Play some lo-fi hip hop." Your active Spotify device should start playing.
What Can You Do With OpenClaw and Spotify?
- Focus playlists — "Play my Focus playlist" when you start a deep work session
- Smart playlists — "Create a workout playlist with 30 high-energy tracks"
- Context switching — "Switch music to my office speakers" when you move rooms
- Morning routine — your morning briefing ends with "...and I've started your Morning Mix on the kitchen speaker"
- Discovery — "What's trending in electronic music right now?" with playable recommendations
- Shared office — team members can request songs through the bot in a shared Slack or Discord channel
How Do You Fix Common Spotify Issues?
- "No active device" error: Spotify requires at least one device to be actively running Spotify. Open the Spotify app on your phone, desktop, or web player before sending playback commands.
- Playback commands return 403: You need a Spotify Premium account for playback control. Free accounts can only manage playlists and search.
- Token refresh fails: Spotify refresh tokens can be invalidated if you revoke app access or change your password. Re-run
openclaw auth spotifyto reauthorize. - Wrong device playing: Use "Play on [device name]" to target a specific device. Run "List my Spotify devices" to see available targets.
- Search returns wrong results: Be more specific with artist or album names. "Play Creep by Radiohead" is better than "Play Creep" which might match multiple artists.
FAQ
Does the Spotify integration require a Premium account?
Yes, for playback control. Spotify's Web API only allows playback control (play, pause, skip, volume) for Premium subscribers. Free accounts can still use the integration for playlist management, search, and viewing listening history.
Can OpenClaw create Spotify playlists?
Yes. You can tell OpenClaw to create playlists, add tracks, remove tracks, and reorder them. For example, "Create a playlist called Focus Music and add 20 instrumental tracks" will search, create the playlist, and populate it.
Does OpenClaw need to be on the same network as my Spotify device?
No. OpenClaw controls Spotify through the Web API, which works over the internet. It can control playback on any of your active Spotify devices — phone, desktop, smart speaker, or web player — regardless of network location.
Can I control Spotify through WhatsApp messages?
Yes. Once the Spotify integration is configured, you can send commands like "Play some jazz" or "Skip this song" through any configured messaging channel — WhatsApp, Telegram, Discord, or any other gateway.
*Last updated: March 2026. Published by the Remote OpenClaw team at remoteopenclaw.com.*
