The Telegram node sends a message through the Telegram Bot API. Use it for chat replies, operational alerts, workflow status updates, or any downstream step that should message a Telegram user, group, or channel.
| Property | Value |
|---|
| Inputs | 1 |
| Outputs | 1 |
| Output | $nodeLabel.status, $nodeLabel.ok, $nodeLabel.result |
| Parameter | Type | Description |
|---|
credentialId | UUID | telegram credential containing the bot token |
chatId | expression | Destination chat, group, or channel ID |
message | expression | Outgoing message text. Supports expressions. |
- Create a Telegram Bot credential
- Add the Telegram node to your workflow
- Select the credential
- Set
chatId to a static chat ID or an expression such as $telegramEvent.message.chat.id
- Set
message to the outgoing text or a template built from upstream data
{
"type": "telegram",
"data": {
"label": "telegramReply",
"credentialId": "telegram-credential-uuid",
"chatId": "$telegramEvent.message.chat.id",
"message": "Received: $telegramEvent.message.text"
}
}
| Expression | Description |
|---|
$nodeLabel.status | "sent" on success |
$nodeLabel.ok | Telegram API success flag |
$nodeLabel.result | Raw sendMessage result object from Telegram |
$nodeLabel.result.message_id | Telegram message ID |
$nodeLabel.result.chat.id | Destination chat ID returned by Telegram |