n8n

How to Automate Telegram Social Content Distribution?

Share new posts from Instagram and Weibo to Telegram without manual copy and paste. The flow checks new items, pulls the first image when found, and publishes to your channel with a short caption. It is useful for social teams and communities that relay updates fast.

A schedule runs every minute, and you can also run a manual test. Two RSS feeds are read, items are processed one by one, and the last sent link is stored so duplicates do not post again. The content HTML is scanned to collect image links, and a simple rule sends a photo post when there is one clear image. If no image is available, a text message with the snippet and link is sent. Posts can go to different Telegram channels so each source reaches the right audience.

You only need a Telegram bot and the channel ID where you want to post. Add the RSS feed URLs for the accounts you track and map them to the Telegram nodes. Expect faster publishing and fewer mistakes, since link checks and image parsing run each cycle. This setup fits newsrooms, community groups, and marketing teams that mirror social updates into Telegram.

What are the key features?

  • Runs on a schedule every minute with an optional manual test trigger
  • Reads two RSS feeds to capture new posts from different sources
  • Processes items one at a time for stable and predictable posting
  • Prevents repeats by saving the last posted link in workflow memory
  • Parses HTML to extract image URLs and count how many images appear
  • Routes logic to photo posts when an image is present or to text fallback when not
  • Sends Telegram photo messages with captions using the content snippet
  • Supports separate Telegram channels so each source can post to the right audience

What are the benefits?

  • Reduce manual cross posting from 30 minutes to 1 minute per post
  • Eliminate duplicate posts by storing the last sent link
  • Connect two social sources to one or more Telegram channels
  • Handle higher posting volume without adding staff using batch processing
  • Keep message quality consistent with a clear image and short caption

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Telegram. See the Tools Required section above for links to create accounts with these services.
  3. Create a Telegram bot with BotFather and copy the bot token.
  4. In the n8n credentials manager, create a new Telegram credential. Paste the bot token and save. Use a clear name like Telegram Bot Prod.
  5. Add the bot to your Telegram channel and make it an admin if needed. Note the channel chat ID.
  6. Open each Telegram node and select your Telegram credential. Enter your channel chat ID in the chatId field.
  7. Open each RSS Feed node and paste the RSS URLs for the sources you want to track. Save the node settings.
  8. Review the Function nodes that store the last link. Keep separate keys for each source so duplicate checks work per feed.
  9. Run the manual trigger named test to send a sample post. Check your Telegram channel to confirm image, caption, and link look correct.
  10. Run the workflow again to confirm duplicates do not post. Then enable the Cron trigger and adjust the schedule to match your needs.
  11. If posts repeat, change the stored key names in the Function nodes to reset memory or clear the stored values, then test again.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.