Automate Telegram message processing - separate text and files π¬π
Ready for 3.0Ready 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).
- Switch: routes items into 3 branches
- Split Out: splits a list into separate items
- Get Attachment Only (Edit Fields (Set)): sets 2 fields: file_id, file_name
- Get Chat Message Only (Edit Fields (Set)): sets 1 field: text
- Get Chat Message Content (Edit Fields (Set)): sets 1 field: chat_message_content
- Get Attachment (Edit Fields (Set)): sets 2 fields: file_id, file_name
- Get & Download Attachment (Telegram): work with file
Services it uses
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)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Split Out
n8n-nodes-base.splitOut - Telegram
n8n-nodes-base.telegram - No Operation, do nothing
n8n-nodes-base.noOp
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β¦