Templates / Clean duplicate and dead YouTube playlist videos with Slack reports

Clean duplicate and dead YouTube playlist videos with Slack reports

Ready for 3.0

by Kevin Yu ✓ · 5 views · created 2026-07-14 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 13 nodes and runs on a schedule (every week at 06:00). Along the way it connects YouTube and Slack.

How it runs

Trigger: On a schedule (every week at 06:00).

  1. Set Playlist and Options (Edit Fields (Set)): sets 3 fields: playlistId, dryRun, slackChannelId
  2. List Playlist Items (YouTube): get many (playlist item)
  3. Check Video Status (YouTube): get (video)
  4. Mark Live Videos (Edit Fields (Set)): sets 6 fields: playlistItemId, videoId, title…
  5. Mark Dead Videos (Edit Fields (Set)): sets 6 fields: playlistItemId, videoId, title…
  6. Combine Checked Items (Merge): merges the data from its input branches
  7. Flag Duplicates and Dead (Code): runs custom JavaScript code
  8. Select Items to Delete (Filter): keeps only the items that match a condition
  9. Build Cleanup Summary (Code): runs custom JavaScript code
  10. Loop Items to Remove (Loop Over Items (Split in Batches)): loops over the items in batches

…plus 2 more steps. See the full node list below.

Services it uses

YouTubeSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Quick overview This workflow runs weekly to scan a YouTube playlist, flagging deleted/unavailable/private videos and duplicate entries, optionally removing them from the playlist, and posting a cleanup report to a Slack channel. How it works 1. Runs every…

Excerpt from Kevin Yu's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.