Templates / 🎵 Sync YouTube and Spotify music playlists

🎵 Sync YouTube and Spotify music playlists

Ready for 3.0

by Louis ✓ · 2,966 views · created 2024-11-01 · Personal Productivity

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 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Spotify and YouTube.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Get my tracks inside my playlist (YouTube): get many (playlist item)
  2. Get tracks inside the Spotify Playlist (Spotify): get tracks (playlist)
  3. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Extract the spotify track ID (Edit Fields (Set)): sets 1 field: Playlist avant ajout
  5. Extract the Spotify Track ID (Edit Fields (Set)): sets 1 field: Nouvelle pistes
  6. Find the returned tracks on Spotify (Spotify): search (track)
  7. Compare the two Datasets (Compare Datasets): uses Compare Datasets
  8. Add tracks not already in playlist (Spotify): work with playlist

Services it uses

SpotifyYouTube

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 (6)

From the author

Workflow Overview This workflow automates the process of updating a Spotify playlist with tracks from a YouTube playlist, ensuring no duplicates are added. Key Components 1. Manual Trigger: Starts the workflow when you click ‘Test workflow’. 2. Spotify…

Excerpt from Louis'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.