⚡ 🎵 Sync YouTube and Spotify music playlists

2,761 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

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 Integration: Retrieves tracks from a specified Spotify playlist.

  3. YouTube Integration: Fetches tracks from a designated YouTube playlist.

  4. Batch Processing: Processes tracks in batches to handle multiple items efficiently.

  5. Track Search: Searches for YouTube tracks on Spotify to find corresponding IDs.

  6. Comparison: Compares existing Spotify tracks with YouTube tracks to identify which ones to add.

  7. Track Addition: Adds new Spotify tracks to the playlist that are not already included.

If you have any questions or need clarification, feel free to ask!

🔗 Nodes Used

Spotify, YouTube

📥 Import

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

📖 Importing guide · 🔑 Credential setup