Spotify to YouTube Playlist Synchronization

Go to Workflow
2,270 views
Built by Lugnicca Lugnicca
Created on June 07, 2026

Description

Spotify to YouTube Playlist Synchronization
A workflow that maintains a YouTube playlist in sync with a Spotify playlist, featuring smart video matching and persistent synchronization.

Key Features
One-way Sync**: Spotify playlist → YouTube playlist (additions and deletions)
Continuous Monitoring**: Automatic synchronization (every hour by default, but you can put any time you want)
Smart Video Matching**: Considers video length and content relevance
Auto-Recovery**: Automatically handles deleted YouTube videos
Database Backup**: Persistent storage using Supabase

Prerequisites

Supabase project with the following table structure:
CREATE TABLE IF NOT EXISTS musics (
id TEXT PRIMARY KEY,
title TEXT NOT NULL,
artist TEXT NOT NULL,
duration INT8 NOT NULL,
youtube_video_id TEXT,
to_delete BOOLEAN DEFAULT FALSE
);
Empty YouTube playlist (recommended as duplicates are not handled)
Configured credentials for YouTube, Spotify, and Supabase APIs
Properly set variables in all "variables" nodes (variables, variables1, variables2, variables3, variables4 (all the same))
Activate the workflow !

Nodes Used (4)

Discord
n8n-nodes-base.discord
Spotify
n8n-nodes-base.spotify
Supabase
n8n-nodes-base.supabase
YouTube
n8n-nodes-base.youTube