SPOTIFY n8n INTEGRATION: AUTOMATE SPOTIFY WITH N8N
Looking to automate Spotify with n8n? You're in the right place. The Spotify n8n integration gives you access to 29 powerful actions to control and interact with your Spotify account programmatically—all without writing a single line of code.
Whether you need to manage playlists, control playback, search for tracks and artists, or retrieve your listening history, this integration puts the full power of Spotify's API at your fingertips. From creating automated playlist curation systems to building music discovery workflows, the possibilities are genuinely exciting.
In this comprehensive guide, you'll discover exactly how to connect Spotify to n8n, explore every available action in detail, and learn practical use cases that will transform how you interact with the world's most popular music streaming platform.
Need help automating Spotify with n8n?
Our team will get back to you in minutes.
Why automate Spotify with n8n?
The Spotify n8n integration gives you access to 29 actions spanning album management, artist discovery, playlist operations, player control, track searches, and personal library access. This means you can build sophisticated music automation workflows that would otherwise require extensive custom development.
The benefits are substantial. Time savings become immediate when you automate repetitive tasks like playlist curation or track organization. Instead of manually searching and adding songs one by one, set up smart rules that automatically populate playlists based on criteria you define. Enhanced music discovery happens when you create workflows that surface related artists, new releases, or tracks matching specific audio features. Seamless integration with n8n's 400+ other nodes means you can connect Spotify to virtually any other service—trigger Slack notifications when your favorite artist drops new music, log your listening history to a database, or build complex multi-step workflows involving CRM systems, spreadsheets, and messaging platforms.
Concrete workflow examples include: automatically adding tracks to playlists based on audio features, creating daily digest notifications of new releases from followed artists, building a personal music analytics dashboard, syncing liked tracks to external databases, or controlling playback remotely based on calendar events or time-of-day triggers.
How to connect Spotify to n8n?
! 1 stepHow to connect Spotify to n8n?
- 01
Add the node
Search and add the node in your workflow.
TIP💡 TIP: Make sure to request all the scopes you'll need when setting up your Spotify app. Some actions (like controlling playback or modifying playlists) require specific permissions. If you encounter authorization errors later, you may need to re-authenticate with additional scopes enabled. For more help with common issues, check our n8n troubleshooting guide.- 01
Need help automating Spotify with n8n?
Our team will get back to you in minutes.
Spotify actions available in n8n
01 Action 01Search Track
The Search Track action lets you find songs on Spotify using keywords—an essential starting point for countless music automation workflows. Whether you're building a playlist generator, a music recommendation system, or simply need to locate specific tracks programmatically, this action handles the heavy lifting.
Key parameters: Search Keyword (required text field for search terms), Return All (toggle to fetch all results), Limit (maximum results to retrieve, default: 50), and Filters (optional criteria to narrow results).
Use cases: Search for tracks by a specific artist and automatically add them to a playlist, build a workflow that finds songs mentioned in social media posts or emails, or create a music discovery system that searches based on mood keywords.

02 Action 02Get Audio Features
This action retrieves detailed audio analysis data for any Spotify track—think danceability, energy, tempo, valence, and more. It's incredibly powerful for building intelligent playlist curation or music analysis workflows.
Key parameters: Track ID (required Spotify URI or ID of the track to analyze).
Use cases: Automatically sort tracks into mood-based playlists using audio features, build a "focus music" filter that only selects tracks below a certain energy level, or create analytics dashboards showing your listening preferences over time.

03 Action 03Get Track
Use this action to retrieve comprehensive details about a specific Spotify track, including its name, artists, album, duration, popularity score, and more.
Key parameters: Track ID (required unique Spotify identifier for the track).
Use cases: Fetch track metadata for logging or database storage, verify track details before adding to a playlist, or build music information bots that respond with song details on demand.

04 Action 04Search Playlist
Find public playlists on Spotify based on your search criteria. Perfect for discovering curated playlists or finding inspiration for your own playlist creation workflows.
Key parameters: Search Keyword (optional text for playlist search), Return All (toggle to fetch all matching playlists), Limit (maximum playlists to return, default: 50), and Filters (advanced filtering criteria).
Use cases: Find popular playlists in a specific genre and analyze their track composition, discover competing playlists in your niche for playlist marketing strategies, or build a recommendation engine that suggests playlists based on user preferences.

05 Action 05Remove an Item
Remove specific tracks from your Spotify playlists programmatically. Useful for playlist maintenance, cleanup workflows, or building "skip list" automations.
Key parameters: Playlist ID (required Spotify URI of the target playlist) and Track ID (required Spotify URI of the track to remove).
Use cases: Automatically remove tracks that fall below a certain popularity threshold, build a "dislike" workflow that removes skipped tracks from playlists, or clean up playlists by removing duplicates or tracks matching certain criteria.

06 Action 06Get Playlist Tracks
Retrieve all tracks from a specific playlist with full metadata. Essential for playlist analysis, backup workflows, or building secondary automations based on playlist contents.
Key parameters: Playlist ID (required unique identifier for the target playlist), Return All (fetch every track when enabled), and Limit (maximum tracks to retrieve, default: 50).
Use cases: Export playlist contents to a spreadsheet or database, analyze track patterns across multiple playlists, or create backup systems for your favorite playlists.

07 Action 07Get the User's Playlists
Fetch all playlists owned by the authenticated Spotify user. A foundational action for building playlist management dashboards or selection interfaces.
Key parameters: Return All (toggle to retrieve every playlist the user owns) and Limit (maximum number of playlists to return, default: 50).
Use cases: Build a playlist selection interface for other workflow steps, create automated reports of all your playlists and their track counts, or monitor playlist growth over time.

08 Action 08Get Playlist
Retrieve detailed information about a specific playlist, including its name, description, owner, follower count, and other metadata.
Key parameters: Playlist ID (required Spotify URI or ID of the playlist).
Use cases: Verify playlist details before performing operations, track follower counts for playlist analytics, or retrieve playlist images and descriptions for display purposes.

09 Action 09Create a Playlist
Create new Spotify playlists programmatically. This action opens up possibilities for automated playlist generation based on any criteria you can imagine.
Key parameters: Name (required playlist name) and Additional Fields (optional settings including public/private visibility and description).
Use cases: Generate weekly themed playlists automatically, create personalized playlists for different activities or moods, or build "smart playlist" systems that create new playlists based on triggers.

10 Action 10Playlist: Add an Item
Add tracks to existing Spotify playlists. The core action for any playlist curation automation.
Key parameters: Playlist ID (required target playlist's Spotify URI), Track ID (required Spotify URI of the track to add), and Additional Fields (optional parameters for position and other settings).
Use cases: Automatically add saved tracks to specific playlists, build "Add to Playlist" workflows triggered from other apps, or create smart playlist population based on audio features or genres.

11 Action 11Start Music
Begin playback of a specific album, playlist, or track on your Spotify player. Perfect for building automated music playback systems.
Key parameters: Resource ID (required Spotify URI of what to play: album, playlist, or track).
Use cases: Start focus music when a work session begins in your Google Calendar, play specific playlists based on time of day, or build voice-controlled or remote playback triggers.

12 Action 12Set Volume
Adjust the volume on your active Spotify player programmatically.
Key parameters: Volume (required number between 0 and 100 representing volume percentage).
Use cases: Gradually reduce volume during wind-down routines, set appropriate volume levels based on time of day, or create accessibility workflows for volume control.

13 Action 13Player: Resume
Resume paused playback on your Spotify player. Simple but essential for playback control workflows.
Key parameters: None beyond authentication—this action resumes whatever was last playing.
Use cases: Resume music after a meeting ends, build play/pause toggles in custom interfaces, or coordinate music with other automation triggers.

14 Action 14Player: Recently Played
Retrieve your recent listening history from Spotify. Valuable for analytics, logging, or building recommendation systems based on actual listening behavior.
Key parameters: Return All (fetch complete recent history when enabled) and Limit (maximum items to retrieve, default: 50).
Use cases: Log listening history to a personal database, analyze listening patterns over time, or build "more like this" recommendations based on recent plays.

15 Action 15Previous Song
Skip to the previous track in your current playback queue.
Key parameters: None beyond authentication credentials.
Use cases: Build custom playback controls in external interfaces, create voice-activated or gesture-based skip controls, or integrate with HomeAssistant smart home systems.

16 Action 16Spotify Player Pause
Pause current playback on your Spotify player.
Key parameters: None beyond the Spotify account connection.
Use cases: Pause music when a phone call comes in, stop playback at a scheduled time, or build custom pause controls for various triggers.

17 Action 17Spotify: Player - Next Song
Skip to the next track in your playback queue.
Key parameters: Just your Spotify account credential—the action handles the rest.
Use cases: Build skip buttons in custom interfaces, skip automatically based on track criteria, or integrate with physical buttons or IoT devices.

18 Action 18Currently Playing (Spotify Player)
Retrieve information about what's currently playing on your Spotify account. Essential for building "now playing" displays or conditional logic based on current track.
Key parameters: Only authentication required—returns current playback state.
Use cases: Display "Now Playing" on a personal dashboard, log currently playing tracks at intervals, or trigger different workflows based on what's playing.

19 Action 19Add Song to Queue
Add a specific track to your Spotify playback queue without interrupting current playback.
Key parameters: Track ID (required Spotify URI of the track to queue).
Use cases: Build "Play Next" functionality in custom interfaces, queue recommended tracks based on current listening, or create song request systems for parties or events.

20 Action 20Get Following Artists
Retrieve the list of artists you follow on Spotify. Useful for music discovery workflows or preference analysis.
Key parameters: Return All (fetch all followed artists when enabled) and Limit (maximum artists to retrieve, default: 50).
Use cases: Monitor new releases from followed artists, analyze your artist preferences and genres, or build recommendation systems based on followed artists.

21 Action 21Get Liked Tracks
Fetch your saved/liked tracks from your Spotify library.
Key parameters: Return All (retrieve entire liked songs library when enabled) and Limit (maximum tracks to fetch, default: 50).
Use cases: Export your liked songs to Google Sheets or databases, analyze your music preferences over time, or build automated playlist creation from liked tracks.

22 Action 22Search Artist
Find artists on Spotify based on search keywords.
Key parameters: Search Keyword (text to search for in artist names), Return All (fetch all matching results), Limit (maximum artists to return, default: 50), and Filters (additional search criteria).
Use cases: Find artists mentioned in text or conversation, build artist discovery workflows, or verify artist existence before other operations.

23 Action 23Get Top Tracks
Retrieve an artist's most popular tracks in a specific market.
Key parameters: Artist ID (required Spotify URI of the artist) and Country (required two-letter ISO country code for market-specific results).
Use cases: Create "Best Of" playlists for artists automatically, compare popularity of tracks across artists, or build introduction playlists for new artist discovery.

25 Action 25Get Albums
Retrieve all albums for a specific artist.
Key parameters: Artist ID (required Spotify URI of the artist), Return All (fetch complete discography when enabled), and Limit (maximum albums to return, default: 50).
Use cases: Build complete discography playlists, track new album releases from favorite artists, or analyze artist output over time.

26 Action 26Get Artist
Retrieve detailed information about a specific artist including genres, followers, popularity, and images.
Key parameters: Artist ID (required unique Spotify identifier for the artist).
Use cases: Fetch artist details for display or storage, verify artist information before other operations, or build artist profile databases.

27 Action 27Search
Search for albums on Spotify using keywords.
Key parameters: Search Keyword (required text to search in album names), Return All (fetch all matching results), Limit (maximum albums to return, default: 50), and Filters (advanced filtering criteria).
Use cases: Find albums mentioned in external sources, build album discovery workflows, or search for releases in specific genres.

28 Action 28Get Tracks
Retrieve all tracks from a specific album.
Key parameters: Album ID (required Spotify URI of the album), Return All (fetch complete track listing when enabled), and Limit (maximum tracks to return, default: 50).
Use cases: Extract album tracks for playlist creation, analyze track counts and durations across albums, or build album playback queues.

29 Action 29Get New Releases
Discover newly released albums on Spotify. Perfect for staying current with music releases.
Key parameters: Return All (fetch all new releases when enabled), Limit (maximum releases to return, default: 50), and Filters (criteria to narrow results).
Use cases: Build weekly new music discovery workflows, monitor specific genres for new releases, or create "New Music Friday" automated playlists using Discord notifications.

30 Action 30Get Album
Retrieve detailed information about a specific album including tracks, release date, artists, and images.
Key parameters: Album ID (required Spotify URI or ID of the album).
Use cases: Fetch album artwork and metadata for display, verify album details before playlist operations, or build album information databases.

Build your first workflow with our team
Drop your email and we'll send you the catalog of automations you can ship today.
- Free n8n & Make scenarios to import
- Step-by-step setup docs
- Live cohort + community support
Frequently asked questions
Is the Spotify n8n integration free?
Yes, the Spotify integration itself is completely free to use in n8n, whether you're using the cloud version or self-hosting. However, you'll need a Spotify account to authenticate, and some features (like controlling playback) require a Spotify Premium subscription on the Spotify side. The Spotify Developer API has rate limits, but for most personal automation use cases, you'll stay well within them. If you're building high-volume applications, check Spotify's rate limit documentation to ensure your workflows remain within acceptable thresholds.What can I automate between Spotify and other apps using n8n?
The possibilities are extensive. You can connect Spotify to databases like Airtable or Google Sheets to log listening history, link to messaging apps like Slack or WhatsApp for music notifications, integrate with calendar apps to control playback based on events, or connect to social media to share what you're listening to. Popular workflows include sending Slack messages when followed artists release new music, logging daily listening stats to spreadsheets, automatically creating monthly "top tracks" playlists, and building music recommendation bots that respond to chat commands.How long does it take to set up the Spotify n8n integration?
Most users can complete the setup in under 10 minutes. Creating a Spotify Developer application takes about 2 minutes, configuring credentials in n8n another 2-3 minutes, and the OAuth authorization flow is instant. The longest part is typically deciding what to automate first! If you encounter issues, they're usually related to redirect URI configuration—double-check that your n8n callback URL exactly matches what's registered in your Spotify app settings. For more complex workflows, explore our n8n AI agent tutorial.



