Automated Spotify playlist organizer - sort and queue tracks by popularity
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 7 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Spotify.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get a user's playlists (Spotify): get user playlists
- Clean & Deduplicate (Code): runs custom JavaScript code
- Get a playlist's tracks by URI or ID (Spotify): get (playlist)
- Playlist reorganizer (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Add a song to a queue (Spotify): uses Spotify
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- Manual Trigger
n8n-nodes-base.manualTrigger - Spotify
n8n-nodes-base.spotify - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code
From the author
🎧 Automated Spotify Playlist Organizer — Sort and Queue Tracks by Popularity 🧠 Overview This workflow acts as your AI-powered Spotify DJ assistant. It retrieves your playlists, cleans and organizes them, sorts tracks by popularity, and automatically queues…