Templates / Automated Spotify playlist organizer - sort and queue tracks by popularity

Automated Spotify playlist organizer - sort and queue tracks by popularity

Ready for 3.0

by Arthur Dimeglio · 421 views · created 2025-10-19 · Miscellaneous

Ready 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”.

  1. Get a user's playlists (Spotify): get user playlists
  2. Clean & Deduplicate (Code): runs custom JavaScript code
  3. Get a playlist's tracks by URI or ID (Spotify): get (playlist)
  4. Playlist reorganizer (Code): runs custom JavaScript code
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Add a song to a queue (Spotify): uses Spotify

Services it uses

Spotify

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)

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…

Excerpt from Arthur Dimeglio's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.