Add matched Spotify tracks to a YouTube playlist

Match new Spotify tracks by title, artist channel and duration before adding a video to your YouTube playlist.

13 stepsProductivity

Free to start, no card required.

How it works

  1. When this happens

    Watch new Spotify playlist items

    Spotify

  2. Step 1 · Code

    Select a single-artist track

  3. Step 2

    Check the recording details

    Follows the first path that matches

    • Single-artist recording

      1. Step 3 · YouTube

        Search YouTube for the recording

      2. Step 4 · Code

        Select an exact title and artist

      3. Step 5

        Check for a unique match

        Follows the first path that matches

        • One matching result

          1. Step 6 · YouTube

            Read the video duration

          2. Step 7 · Code

            Compare recording lengths

          3. Step 8

            Check the duration and visibility

            Follows the first path that matches

            • Public video of matching length

              1. Step 9 · YouTube

                Check if the video is in the list

              2. Step 10 · Code

                Check the destination playlist

              3. Step 11

                Skip videos already added

                Follows the first path that matches

                • Video is missing

                  1. Step 12 · YouTube

                    Append the matching video

                • Otherwise

                  Nothing happens

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Choose a Spotify playlist you manage and enter a YouTube playlist ID your connected channel can edit. New solo tracks are matched among 25 search results from artist Topic channels, within two seconds of the recording; ambiguous results are skipped. Use a source playlist under 10,000 entries for complete polling coverage.

Accounts to connect

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template