Unpublish expired YouTube videos using Google Sheets and Slack
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on a schedule (every day at 06:00). Along the way it connects Google Sheets, YouTube and Slack.
How it runs
Trigger: On a schedule (every day at 06:00).
- Read Embargo Schedule (Google Sheets): uses Google Sheets
- Select Due Videos (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Split Due Videos (Split Out): splits a list into separate items
- Post Nothing Due Notice (Slack): uses Slack
- Get Current Video Details (YouTube): get (video)
- If: checks a condition and branches into true / false
- Mark Row as Expired (Google Sheets): update
- Set Video to Embargo Status (YouTube): update (video)
- Post Embargo Recap (Slack): uses Slack
Services it uses
Other Google Sheets + Slack templates (1,314) · Other YouTube + Google Sheets templates (78) · Other YouTube + Slack templates (13)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Split Out
n8n-nodes-base.splitOut - YouTube
n8n-nodes-base.youTube - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow runs daily and checks a Google Sheets embargo schedule for YouTube videos whose unpublish date has passed, then updates their privacy status on YouTube and logs the result back to the sheet while sending a recap (or “nothing due”)…