Receive Telegram messages and execute automated responses
Workflow Description
Automation that listens for incoming Telegram messages and processes them programmatically, with conditional logic routing based on message type and automated reply delivery. Supports data processing via custom code and HTTP requests to external integrations.
How it works
- 1.Receive new message from a Telegram channel or chat
- 2.Process message content and evaluate routing conditions using code
- 3.Route the request to an external service via HTTP or send a direct reply
- 4.Send confirmation or result message back to the user on Telegram
Use cases
- Receive commands and inquiries from users and execute them automatically
- Monitor alerts and errors and deliver them instantly through a Telegram bot
- Process customer forms and requests sent via Telegram and log them
Requirements
- Valid and active Telegram bot token
- Basic knowledge of writing JavaScript or Python code for logic processing
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (29)
Telegram Trigger
Set
Code
Code
HTTP Request3
HTTP Request
Telegram2
Set
Telegram1
Set
Telegram4
Set
Telegram3
Set
Telegram5
Set
Telegram6
Set
Telegram7
Set
NeurochainAI - REST API
HTTP Request
TYPING - ACTION
Set
AI Response
Set
No response
Set
Prompt too short
Set
Sticky Note
Sticky Note
Switch2
Switch
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Code1
Code
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Switch
Switch
Sticky Note8
Sticky Note
NeurochainAI - Flux
HTTP Request
Switch1
Switch