Trigger Communications

Triggers when a user clicks an inline keyboard button in a Telegram message. Useful for building approval workflows and interactive automations via Telegram bots. NOTE: Currently designed for wait nodes only (not as a root trigger). Frontend has no dedicated trigger config UI for this type yet.

At a Glance

FieldValue
Trigger IDtelegram-new-interaction-event
CategoryCommunications
Tagstelegram, messaging, interaction, button, approval, callback

Trigger Configuration

FieldTypeRequiredDescription
chatIdstringNoTelegram chat ID to listen for button clicks. Leave empty for all chats.

Trigger Result

FieldTypeRequiredDescription
triggeredAtstringYesTimestamp when the callback query was received (UTC, RFC3339 format)
platformstringYesPlatform identifier (always 'telegram')
callbackDatastringNoData associated with the callback button that was clicked
callbackQueryIdstringNoUnique identifier for the callback query
chatIdstringNoTelegram chat ID where the button was clicked (string-encoded)
messageIdstringNoMessage ID of the message containing the button (string-encoded)
messageTextstringNoText of the message containing the button
userIdstringNoTelegram user ID of the user who clicked the button (string-encoded)
usernamestringNoUsername of the user who clicked (without @ prefix)

Workflow Root Example

json
{ "nodes": { "root": { "type": "telegram-new-interaction-event", "payload": { "chatId": "example-chatId" }, "children": [ "log_event" ] }, "log_event": { "type": "log", "payload": { "message": "Triggered at {{$trigger.triggeredAt}}" }, "children": [] } }}

Downstream nodes can use {{$trigger.triggeredAt}} and any result fields listed above. Event triggers usually expose the raw source payload under a field such as event, body, trade, or raw.

Ask a question... ⌘I