rss-telegram

Automated workflow for Telegram that fetches and processes RSS feeds from Weibo and Instagram every minute. It checks for duplicate links, extracts images, and sends updates with images or text snippets, ensuring timely communication and engagement with followers.

7/8/2025
18 nodes
Complex
schedulecomplexsplitinbatchestelegramrssfeedreadautomationadvancedcodecustomlogicconditionalcommunicationbot
Categories:
Communication & MessagingSchedule TriggeredComplex Workflow
Integrations:
SplitInBatchesTelegramRssFeedRead

Target Audience

This workflow is ideal for:
- Social Media Managers who need to automate the posting of new content from RSS feeds to Telegram channels.
- Content Creators looking to streamline their content distribution process across platforms like Instagram and Weibo.
- Developers and Automation Enthusiasts interested in integrating multiple services to create efficient workflows.
- Marketers aiming to keep their audience updated with the latest posts without manual intervention.

Problem Solved

This workflow addresses the challenge of timely content dissemination from social media platforms to Telegram channels. It automates the process of checking for new posts from specified RSS feeds, determining if the content has already been shared, and then posting the content to Telegram, including images when available. This ensures that followers are always updated with the latest information without the need for manual posting.

Workflow Steps

  • Trigger: The workflow is scheduled to run every minute using a Cron node.
    2. RSS Feed Reading: It fetches new posts from two RSS feeds: one for Instagram and one for Weibo.
    3. Batch Processing: The fetched items are split into batches for easier handling.
    4. Link Comparison: A function checks if the newly fetched link has already been shared by comparing it with stored links.
    5. Image Extraction: If the link is new, another function extracts images from the content, determining how many images are present.
    6. Conditional Logic: Based on the number of images:
    - If one image is found, the image is sent to the Telegram channel with a caption.
    - If no images are present, a text message is sent instead.
    7. Update Stored Links: The workflow updates the stored links to include the new link, ensuring duplicates are avoided in future runs.
  • Customization Guide

    To customize this workflow:
    - Change RSS Feed URLs: Modify the URLs in the RSS Feed Read nodes to point to different sources or accounts.
    - Adjust Posting Frequency: Alter the Cron node settings to change how often the workflow checks for new content (e.g., every 5 minutes instead of every minute).
    - Modify Telegram Settings: Update the Telegram node parameters to change the chat ID or adjust the message format as per your requirements.
    - Enhance Image Handling: You can expand the image extraction logic to handle different HTML structures or additional media types.
    - Add More Conditions: Introduce additional conditional nodes to create more complex logic based on your specific needs.