Generate Advanced YouTube RSS Feeds & Automate with n8n [2026 Guide]

Create custom YouTube RSS feeds for any channel or playlist, then automate alerts and notifications using n8n. No API key required for basic setup.
formTrigger
httpRequest
code
+5
Workflow Identifier: 2054
NODES in Use: formTrigger, code, switch, httpRequest, set, aggregate, merge, respondToWebhook
Automate YouTube RSS with n8n and code

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

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow takes YouTube input like channel username, channel ID, or video URL.

It finds the right channel ID and then makes many RSS feed URLs in different formats.

The output is a clean HTML table with all feed links ready to use.

This saves time and avoids mistakes in making RSS URLs manually.


Who Should Use This Workflow

This workflow helps users who manage many YouTube channels or videos.

It fits marketers, content creators, or teams needing updated RSS feeds fast.

No need to manually find or guess channel IDs or make feed URLs.

Good for any non-technical user wanting simple, reliable YouTube RSS URLs.


Tools and Services Used

  • n8n Platform: Automation workflow editor.
  • commentpicker.com API: To get tokens and YouTube channel data.
  • rss-bridge.org: To create many RSS feed formats like HTML, Atom, JSON, MRSS.
  • Webhook testing tools: Postman, Thunder Client to test the workflow.

Inputs, Processing Steps, and Outputs

Inputs

  • User input from the form Trigger node.
  • Input can be YouTube channel username (with or without @), channel ID, video URL, or video ID.

Processing Steps

  • Validate and parse the input to find its exact type and identifier.
  • Use switch node to route depending on input type.
  • If username, get token, then get channel ID from commentpicker.com API.
  • If channel ID, construct the official YouTube RSS feed URL directly.
  • If video ID, get token, then find channel ID from video details.
  • Generate multiple RSS feed URLs in formats: HTML, Atom, JSON, MRSS, Plaintext, SFeed for videos and community posts.
  • Aggregate all URLs into one structured data block.
  • Format the final output as an HTML table for easy reading and clicking.

Output

An HTML table listing all different RSS feed URLs.

The response is sent back via the webhook so users get instant results.


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

1. Import the Workflow File

  1. Download the workflow file using the Download button on this page.
  2. Open your n8n editor (cloud or self-host n8n).
  3. Click “Import from File” and select the downloaded workflow file.

2. Configure Credentials and Settings

  1. Add any required API credentials for commentpicker.com HTTP Request nodes.
  2. Check and update any placeholder IDs, emails, channels, folders, or tables if found in the workflow.
  3. Paste the provided JavaScript code exactly inside the Code node named “Validation Code” (see code below).

3. Test the Workflow

  1. Trigger the Webhook node using a test YouTube input.
  2. Verify the workflow runs without errors and returns an HTML table.

4. Activate for Production

  1. Switch the workflow toggle to active inside n8n.
  2. Share or use the webhook URL to send real inputs.

Following these steps allows any beginner user to import and start using the workflow quickly.

// JavaScript to extract YouTube channel ID, username, or video ID
const items = [];
const inputData = $input.all();
const input = inputData.length > 0 ? inputData[0].json["youtube Channel username or ID"] : null;
if (!input) {
  throw new Error('Input is undefined or not provided');
}
const usernamePattern = /^@?([a-zA-Z0-9_-]+)$/;
const channelIdPattern = /^(UC[a-zA-Z0-9_-]{22})$/;
const videoUrlPattern1 = /(?:https?:\/\/)?www\.youtube\.com\/watch\?v=([a-zA-Z0-9_-]+)/;
const videoUrlPattern2 = /(?:https?:\/\/)?youtu\.be\/([a-zA-Z0-9_-]+)/;
const channelUrlPattern1 = /(?:https?:\/\/)?www\.youtube\.com\/@([a-zA-Z0-9_-]+)/;
const channelUrlPattern2 = /(?:https?:\/\/)?www\.youtube\.com\/channel\/(UC[a-zA-Z0-9_-]{22})/;
const customChannelUrlPattern = /(?:https?:\/\/)?www\.youtube\.com\/c\/([a-zA-Z0-9_-]+)/;
function determineTypeAndValue(input) {
  if (channelIdPattern.test(input)) return { type: 'channel ID', value: input };
  else if (usernamePattern.test(input)) return { type: 'channel username', value: input };
  else if (videoUrlPattern1.test(input) || videoUrlPattern2.test(input)) {
    const videoId = videoUrlPattern1.test(input) ? input.match(videoUrlPattern1)[1] : input.match(videoUrlPattern2)[1];
    return { type: 'video ID', value: videoId };
  } else if (channelUrlPattern1.test(input) || customChannelUrlPattern.test(input)) {
    const username = channelUrlPattern1.test(input) ? input.match(channelUrlPattern1)[1] : input.match(customChannelUrlPattern)[1];
    return { type: 'channel username', value: username };
  } else if (channelUrlPattern2.test(input)) {
    return { type: 'channel ID', value: input.match(channelUrlPattern2)[1] };
  } else {
    return { error: 'Invalid input or unsupported format.' };
  }
}
const result = determineTypeAndValue(input);
items.push({ json: result });
return items;

Customization Ideas

  • Change RSS feed formats in the Set nodes by editing rss-bridge.org URLs.
  • Add more input check patterns in the Code node for new YouTube URL types.
  • Extend the HTML output to include export buttons for JSON or CSV formats for easier data use.
  • Modify the input form to accept multiple channels for bulk RSS feed generation.
  • Rename the webhook path to match your brand or API naming style.

Troubleshooting and Common Issues

  • Error: “Invalid input or unsupported format.” means input does not match allowed patterns.
    Fix: Provide proper username, channel ID, or video URL. Adjust regex if YouTube changes.
  • Error: HTTP requests to commentpicker.com fail.
    Fix: Check internet connection, correct HTTP headers, and tokens in request nodes.
  • Issue: No RSS URLs in output.
    Fix: Verify channel ID extraction, confirm correct routing in switch node.

Pre-Production Checklist

  • Test inputs with usernames, IDs, and video links.
  • Confirm HTTP calls get tokens and channel data successfully.
  • Check RSS URLs have proper channel IDs.
  • Ensure aggregated data builds full HTML table correctly.
  • Use tools like Postman to test webhook endpoints and responses.

Deployment Guide

Turn workflow active inside n8n editor.

Copy webhook URL from the Form Trigger node.

Give webhook URL to users or systems for input submission.

Watch execution logs in n8n to handle problems or retries.


Summary

✓ Saves hours by automatically creating many RSS feed URLs from YouTube input.

✓ Avoids errors in manual channel ID or URL finding.

✓ Gives many RSS format options for videos and community posts.

→ Returns a clean formatted HTML table with clickable RSS links instantly via webhook.


Automate YouTube RSS with n8n and code

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

No, it works only with public YouTube data accessible through the used third-party APIs.
No, the workflow uses third-party APIs and does not require Google API credentials.
Edit the Set nodes generating RSS URLs by modifying the rss-bridge.org URLs to include new formats.
Yes, by modifying the input node to accept multiple entries and looping through them, bulk processing is possible.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.
manualTrigger
twist
twist
Free

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.
googleSheets
httpRequest
chainLlm
+8
Free

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.
RespondToWebhook
If
Slack
+5
Free

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.
agent
lmChatOpenAi
toolWorkflow
+3
Free

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.
gumroadTrigger
googleSheets
httpRequest
+3
Free

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
httpRequest
informationExtractor
wordpress
+9
Free
1:1 Free Strategy Session
Do you want to adopt AI Automation?

Your competitors are already automating. Are you still paying for it manually?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.