Telegram Trigger
The Telegram Trigger block launches your workflow in real time whenever your Telegram bot receives a message or command.
Key Features
- Real-Time Execution: Triggers workflows instantly when a message arrives
- Chat Mode: Respond to every message sent to your bot
- Command Mode: Trigger only on a specific bot command (e.g.
/order_status) - Data Mapping: Extracts message data into workflow variables automatically
- Webhook Automation: Automatically manages Telegram webhook setup
Configuration
| Parameter | Type | Required | Description |
|---|---|---|---|
| Telegram Bot | Credentials | Yes | Saved Telegram bot credentials (token from BotFather) |
| Chat Mode | Boolean | No | Enable to respond to all messages (default on) |
| Event Name | String | Yes (if Chat Mode off) | Bot command name that triggers the workflow |
Setup Guide
- Create a bot with @BotFather (opens in a new tab) and copy the bot token.
- Add the Telegram Trigger block to your workflow and select (or create) Telegram credentials.
- Choose Chat Mode to react to every message, or disable it and set an Event Name to react to a specific command.
- Click Verify Bot Token — the webhook is registered automatically.
Response Mapping
Save incoming data into variables:
| Value | Description |
|---|---|
| User Message | The text of the incoming message |
| Chat ID | The chat the message came from (use it to reply) |
| File Link | File identifier when the user sends a file |