Automate YouTube Video Notifications to Slack

Go to Workflow
0 views
Built by David Olusola David Olusola
Created on June 15, 2026

Description

🎬 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).

Format Slack Message
Builds a rich Slack message with:
Video title
Description preview
Published date
Button: “🎥 Watch Now”

Post to Slack
Sends the formatted message to your chosen Slack channel (default: #general).
Includes custom username/icon for branding.

🛠️ 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_HERE in 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.

Nodes Used (3)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
Slack
n8n-nodes-base.slack