FM
FlowMarket
Social Media & Content Advanced ⚡ 54 n8n Nodes

Spotify to YouTube playlist synchronization

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

🔌 Nodes & Integrations Used (6)

Spotify Supabase Compare Datasets YouTube Discord Remove Duplicates

📖 Implementation & Setup Guide

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

  1. Supabase project with the following table structure:
  2. ```sql
  3. CREATE TABLE IF NOT EXISTS musics (
  4. id TEXT PRIMARY KEY,
  5. title TEXT NOT NULL,
  6. artist TEXT NOT NULL,
  7. duration INT8 NOT NULL,
  8. youtube_video_id TEXT,
  9. to_delete BOOLEAN DEFAULT FALSE
  10. );
  11. ```
  12. Empty YouTube playlist (recommended as duplicates are not handled)
  13. Configured credentials for YouTube, Spotify, and Supabase APIs
  14. Properly set variables in all "variables" nodes (variables, variables1, variables2, variables3, variables4 (all the same))
  15. Activate the workflow !

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Spotify to YouTube playlist synchronization.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Social Media & Content Workflows

View All in Social Media & Content →