See llms.txt for all machine-readable content.

Spotify and YouTube integration

Save yourself the work of writing custom integrations for Spotify and YouTube and use n8n instead. Build adaptable and scalable Miscellaneous, workflows that work with your technology stack. All within a building experience you will love.

How to connect Spotify and YouTube

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Spotify and YouTube integration: Create a new workflow and add the first step

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 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 !

Build your own Spotify and YouTube integration

Create custom Spotify and YouTube workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Spotify supported actions

YouTube supported actions

Spotify and YouTube integration details

Spotify

Spotify

Spotify is a digital music service that allows you to listen to millions of songs streaming on different devices. It contains music from any genre and era, including the hits of the moment.

YouTube

YouTube

YouTube is the best video hosting and social media website where users can upload, watch, comment, rate and share streaming videos. It is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.

Automate lead management

Using too many marketing tools? n8n lets you orchestrate all your apps into one cohesive, automated workflow.

Learn more

FAQ about Spotify integrations

Need help setting up your Spotify and YouTube integration?

Discover our latest community's recommendations and join the discussions about Spotify and YouTube integration.

  • Tarek Moubarek

    YouTube Upload Node Fails with "Media type 'application/mp4' is not supported" Error

    Tarek Moubarek

    Bug Report: YouTube Upload Node Fails with “Media type ‘application/mp4’ is not supported” Error Summary The n8n YouTube node consistently fails when uploading standard .mp4 video files. It returns a HTTP 400 Bad Reque…

    Open topic
  • Jan Koch

    YouTube upload is failing

    Jan Koch

    Describe the problem/error/question I want to upload a Video from Google Drive to YouTube. I get the file downloaded and into a binary field but the upload in the YouTube node is failing with an “internal error” message.…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Spotify with YouTube

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window