Advanced YouTube RSS Feed Automation with n8n

Discover how to automate monitoring your favorite YouTube channels with n8n, creating custom RSS feeds and sending professional email and Telegram notifications for new videos. This workflow saves hours by automating content tracking and multi-channel messaging seamlessly.
formTrigger
rssFeedRead
gmail
+9
Workflow Identifier: 1146
NODES in Use: formTrigger, set, splitOut, rssFeedRead, code, filter, httpRequest, aggregate, gmail, telegram, lmChatOpenAi, chainLlm

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow watches specific YouTube channels for new videos.
It finds videos made in the last 3 days and gets extra details from YouTube’s API.
It sends emails and Telegram messages to notify about these new videos.
This saves time and stops users from missing important updates.

The system creates RSS feed URLs from a list of channel IDs, reads video feeds, filters recent posts, and enriches data with API calls.
Then it builds nice HTML emails and Telegram posts with thumbnails and links.


Who Should Use This Workflow

People who follow many YouTube channels and want to get video updates without checking manually.
Marketers, content teams, or anyone needing fast alerts about new videos.

This is for users who want neat, well-formatted notifications by email and Telegram.
Users need basic n8n skills and API access to set it up.


Tools and Services Used


Inputs, Processing, and Outputs

Inputs

  • Predefined array of YouTube channel IDs or user input via a form in JSON format.
  • API keys for Google YouTube Data API, Gmail, Telegram, and OpenAI.

Processing Steps

  • Create RSS feed URLs for each YouTube channel.
  • Fetch up to 15 latest videos per channel from RSS.
  • Filter videos published in the last 3 days using JavaScript.
  • Extract video IDs and form YouTube Data API requests.
  • Retrieve enriched video metadata: titles, descriptions, thumbnails, embed links.
  • Generate Telegram messages with thumbnails and clickable links.
  • Aggregate video data to create one or multiple HTML emails using OpenAI.
  • Send individual or digest email notifications via Gmail.
  • Send video posts to Telegram chats via bot.

Outputs

  • Professional HTML emails about recent videos sent to team inboxes.
  • Telegram messages with video thumbnail and links to notify chat groups.

Beginner Step-by-Step: How to Use This Workflow in n8n

1. Download and Import the Workflow

  1. Click the Download button on this page to get the workflow file.
  2. Inside the n8n editor, click “Import from File” and upload the downloaded workflow.

2. Configure Required Credentials and Settings

  1. Set up Google API Key with YouTube Data API enabled.
  2. Add Gmail SMTP credentials to the Multiple Emails and Single Email nodes.
  3. Enter Telegram Bot Token and Chat ID into the Telegram node.
  4. Input OpenAI API Key in the designated nodes for generating email templates.
  5. Update YouTube channel IDs in the YouTube Channel Ids node or prepare to submit via the form.

3. Test the Workflow

  1. Run the workflow manually or submit channel IDs through the form trigger.
  2. Check if videos are fetched, emails are created, and messages are sent.

4. Activate for Production

  1. Enable the schedule trigger node if daily automation is desired.
  2. Monitor workflow runs in n8n for any errors or issues.
  3. Adjust inputs or API keys as needed.

For users managing their own server, consider self-host n8n for full control.


Edge Cases and Common Failures

  • If a video ID is empty, the Label New Videos code may parse IDs incorrectly. Verify splitting logic for video ID extraction.
  • Gmail email failures often come from expired or incorrect OAuth2 credentials. Re-authentication fixes this.
  • Telegram notifications fail if bot token or chat ID is wrong. Confirm environment variables and bot chat membership.
  • Empty or invalid YouTube channel ID lists cause no RSS feeds to generate. Double-check input formats.

Customization Ideas

  • Add Slack or other messaging channels by inserting corresponding nodes and changing payloads.
  • Change the “days” value in the Label New Videos code node to widen or narrow the new video window.
  • Extend video data fields to include view counts or comments from YouTube API for richer email content.
  • Modify the form trigger to mark dynamic recipients or input validation.
  • Tweak OpenAI prompt templates in the LangChain nodes to match brand colors or layouts.

Summary of Results

✓ Saves hours daily by automating YouTube video monitoring.
✓ Delivers timely, well-structured email and Telegram notifications.
✓ Reduces manual errors and missed updates.
✓ Makes video updates easy to consume with rich HTML templates.


Frequently Asked Questions

Add YouTube channel IDs in the YouTube Channel Ids node or submit them through the form trigger as a JSON array.
Yes, each API call to get detailed video information counts against YouTube Data API quota.
Emails fail when Gmail OAuth2 credentials expire or are not authorized correctly. Re-authentication fixes this.
Yes, the HTML email templates can be changed by editing the prompts in the LangChain nodes using OpenAI.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free