⚡ 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.

View All Scrapers

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

Prerequisites

  1. 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
);
  1. Empty YouTube playlist (recommended as duplicates are not handled)
  2. Configured credentials for YouTube, Spotify, and Supabase APIs
  3. Properly set variables in all “variables” nodes (variables, variables1, variables2, variables3, variables4 (all the same))
  4. Activate the workflow !

🔗 Nodes Used

Discord, Spotify, YouTube, Supabase, Schedule Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup