Node ReferenceMessaging
Telegram
Send messages, photos, and check bot status via Telegram Bot API.
The Telegram node sends messages and photos through the Telegram Bot API. Use it for alerts, notifications, and automated reporting.
Prerequisites
- Telegram Bot Token (create via @BotFather)
- Add as a credential in Credentials
- Your bot must be added to the target chat/group
Operations
| Operation | Description | Key inputs |
|---|---|---|
| sendMessage | Send a text message | chatId, message |
| sendPhoto | Send a photo with optional caption | chatId, photoUrl, caption |
| getMe | Get bot info (test connectivity) | (none) |
| getUpdates | Get recent messages to the bot | (none) |
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
| chatId | string | For send ops | Telegram chat/group/channel ID |
| message | string | For sendMessage | Message text (supports template expressions) |
| photoUrl | string | For sendPhoto | URL of the photo to send |
| caption | string | No | Photo caption text |
| parseMode | string | No | Markdown or HTML for formatting |
| disableNotification | boolean | No | Send silently (default: false) |
Getting your chat ID
- Start a conversation with your bot
- Send any message
- Use the
getUpdatesoperation to see recent messages - Find the
chat.idfield in the response
Template expressions in messages
Use upstream node data in your messages:
SOL Price Alert: {birdeyeResponse.data.value} USD
24h Change: {birdeyeResponse.data.priceChange24h}%Output
sendMessage:
{
"success": true,
"operation": "sendMessage",
"chatId": "-1001234567890",
"renderedMessage": "SOL Price Alert: 150.23 USD",
"data": { /* raw Telegram Bot API response */ }
}sendPhoto returns the same shape minus renderedMessage. getMe and getUpdates return { success, operation, data }, where data is the raw Bot API response; getUpdates is a snapshot of recent updates with no offset tracking, so re-runs may include previously-seen messages.
Downstream references use the response name (default telegramResponse): {telegramResponse.data.result.message_id} for the sent-message ID, {telegramResponse.chatId} for the chat the message was sent to.
Common use cases
- Price alerts when tokens hit thresholds
- Portfolio summary reports on a daily cron
- New token launch notifications from Pump.fun
Next steps
- Discord - alternative notification channel
- Cron Trigger - schedule recurring alerts
