Multi-Source RSS News Distributor to Telegram - n8n Workflow

Automate news distribution using this powerful n8n workflow. Pull data from multiple RSS feeds, deduplicate posts using static data, and conditionally route content to specific Telegram channels based on source URL or security keywords. Start building with our n8n templates.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Technical managers needing automated industry news aggregation.

  • Content curators looking to distribute specialized articles without manual effort.

  • Users who require robust deduplication logic built into their n8n templates.

  • Developers seeking a reusable n8n node combination for scheduled data extraction.

Overview

Managing and distributing information from dozens of RSS feeds manually is time-consuming and prone to duplication. This comprehensive n8n workflow solves this by providing a scheduled, self-maintaining news aggregator. It leverages the power of the n8n Function node to implement sophisticated deduplication logic, ensuring that only truly new articles are processed, regardless of how often the n8n trigger runs. Furthermore, it utilizes n8n's IF logic to categorize content (e.g., Microsoft 365, Cybersecurity, General IT) and route it to appropriate Telegram discussion groups, making it an essential component for any content distribution strategy. This robust n8n workflow is highly customizable and serves as a fantastic template for complex data extraction projects.

How it Works

This n8n workflow initiates its process using the Cron n8n trigger.


  1. Scheduling: The Cron n8n trigger executes the workflow every 10 minutes.

  2. Source Definition: The RSS Source Function n8n node defines five distinct RSS feed URLs.

  3. Batch Processing: The SplitInBatches n8n node handles each URL sequentially, ensuring independent processing for better error handling and resource management.

  4. Data Retrieval: The RSS Feed Read n8n node fetches the latest content for the current URL being processed.

  5. Deduplication: The critical only get new RSS Function n8n node checks the isoDate of the retrieved items against a stored list (using workflow static data). This logic ensures that if the n8n workflow runs multiple times, only genuinely unseen articles are passed down the chain, effectively preventing spam.

  6. Conditional Routing (M365): The IF-1 n8n node checks if the article link contains techcommunity.microsoft.com. If true, the item is sent immediately to the TelegramM365 channel.

  7. Conditional Routing (Security/IT): Items not matching the M365 condition proceed to the IF-2 n8n node. This node uses a powerful regex operation to check the article title for numerous security-related keywords (e.g., '資安', '漏洞', 'Security', 'attack').

  8. Final Distribution: If IF-2 is true, the article is sent to TelegramSecurity. If IF-2 is false (meaning it is a general IT article), it is sent to Telegram_IT.

Installation Guide

To deploy this powerful n8n workflow template, follow these steps:


  1. Import: Copy the provided JSON code and paste it into your n8n instance using the 'New' -> 'Import from JSON' option.

  2. Credentials Setup: This n8n workflow requires three Telegram API credentials configured for sending messages:

TelegramIT
Telegram
Security
* Telegram_M365
Create these credentials in your n8n Credentials section, providing the appropriate Bot Token.

  1. Chat IDs: For all three Telegram nodes, replace the placeholder TelegramID value in the 'Chat ID' field with the specific ID of the target channel or chat group.

  2. Activate: Ensure the n8n trigger (Cron) is correctly set to your desired schedule (currently every 10 minutes) and activate the n8n workflow to begin automatic processing.

Node Details

Cron (n8n trigger):
Function: Schedules the n8n workflow execution.
Key Configuration: Set to run 'Every 10 minutes', providing near real-time updates.
RSS Source (Function n8n node):
Function: Hardcodes the list of RSS feed URLs to be monitored.
Key Configuration: Contains five distinct URLs in the returned JSON array.
RSS Feed Read (n8n node):
Function: Reads the contents of the RSS feed URL passed from the previous node.
Key Configuration: Uses expression ={{$node["SplitInBatches"].json["url"]}} to dynamically retrieve the URL.
only get new RSS (Function n8n node):
Function: Implements deduplication logic by storing processed article dates (isoDate) in global workflow static data. It only returns items whose date is not already recorded.
Key Configuration: Uses getWorkflowStaticData('global') and array filtering logic.
IF-1 (IF n8n node):
Function: Filters articles specifically targeting Microsoft 365 content.
Key Configuration: Condition: Link contains techcommunity.microsoft.com.
IF-2 (IF n8n node):
Function: Filters articles related to cybersecurity topics.
Key Configuration: Condition: Title matches a complex regex pattern covering numerous security-related terms in English and Chinese.
Telegram (n8n node) (x3):
Function: Sends the formatted article title and link to the specified Telegram chat.
* Key Configuration: Each node uses a separate credential and targets a unique Chat ID, allowing segmented delivery.

Related n8n Workflows

Free

Nodes: 6 Nodes
Updated: December 26 2025
View all
Created by
Valor
Valor

Featured*