Automate YouTube Video Notifications to Slack
Last edited 58 days ago
🎬 YouTube New Video → Auto-Post Link to Slack
This workflow automatically checks your YouTube channel’s RSS feed every 30 minutes and posts a message to Slack when a new video is published. It includes the title, description snippet, publish date, and a direct “Watch Now” button.
⚙️ How It Works
-
Check Every 30 Minutes
- A Cron node runs on a 30-minute interval.
- Keeps monitoring the channel RSS feed for updates.
-
Fetch YouTube RSS
-
The HTTP Request node retrieves the channel’s RSS feed.
-
Uses the format:
https://www.youtube.com/feeds/videos.xml?channel_id=YOUR_CHANNEL_ID
-
-
Parse RSS & Check for New Video
- A Code node extracts video info:
- Title
- Link
- Description
- Published date
- Sorts by most recent publish date.
- Ensures only new videos within last 2 hours are processed (avoids duplicate posts).
- A Code node extracts video info:
-
Format Slack Message
- Builds a rich Slack message with:
- Video title
- Description preview
- Published date
- Button: “🎥 Watch Now”
- Builds a rich Slack message with:
-
Post to Slack
- Sends the formatted message to your chosen Slack channel (default:
#general). - Includes custom username/icon for branding.
- Sends the formatted message to your chosen Slack channel (default:
🛠️ Setup Steps
1. Get YouTube Channel RSS
- Go to your channel page → View Page Source.
- Find:
channel/UCxxxxxxxxxx(your channel ID). - Construct RSS feed:
https://www.youtube.com/feeds/videos.xml?channel_id=YOUR_CHANNEL_ID - Replace
YOUR_CHANNEL_ID_HEREin the HTTP Request node.
2. Connect Slack
- Create a Slack app at api.slack.com.
- Add OAuth scopes:
chat:write,channels:read. - Install to your workspace.
- In n8n, connect your Slack OAuth credentials.
3. Adjust Timing (Optional)
- Default = runs every 30 minutes.
- Modify the Cron node if you want faster or slower checks.
📺 Example Slack Output
🎬 New Video Published!
How to Automate Your Business with n8n
📅 Published: Aug 29, 2025
Learn how to connect your apps and automate repetitive tasks using n8n…
With a clickable 🎥 Watch Now button linking directly to the video.
⚡ With this workflow, your Slack team is always up to date on new YouTube uploads — no manual link sharing needed.
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!





