Templates / Automate Telegram message processing - separate text and files πŸ’¬πŸ“

Automate Telegram message processing - separate text and files πŸ’¬πŸ“

Ready for 3.0

by EoCi - Mr.Eo βœ“ Β· 2,222 views Β· created 2025-10-03 Β· Support Chatbot, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 11 nodes and runs on Telegram events (message). Along the way it connects Telegram.

How it runs

Trigger: On Telegram events (message).

  1. Switch: routes items into 3 branches
  2. Split Out: splits a list into separate items
  3. Get Attachment Only (Edit Fields (Set)): sets 2 fields: file_id, file_name
  4. Get Chat Message Only (Edit Fields (Set)): sets 1 field: text
  5. Get Chat Message Content (Edit Fields (Set)): sets 1 field: chat_message_content
  6. Get Attachment (Edit Fields (Set)): sets 2 fields: file_id, file_name
  7. Get & Download Attachment (Telegram): work with file

Services it uses

Telegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Introduction Tired of manually downloading a file through different Telegram messages? This workflow acts as a smart receptionist for your Telegram bot, automatically processing incoming messages to cleanly separate text from file attachments, getting them…

Excerpt from EoCi - Mr.Eo's description on n8n.io.

View the original on n8n.io β†’ Check your own copy

Get the weekly β€œwhat broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.