⚡ Spotify to YouTube playlist synchronization
⚡ 3,462 views · ⚡ Personal Productivity
💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.
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
Discord, Spotify, YouTube, Supabase, Schedule Trigger
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File