Telegram

Messaging integration · 7 node(s) including 1 trigger.

00Overview

Telegram Bot messaging operations

Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.

01Connecting Telegram

Add your credentials as a Flomation environment secret, then pick them in each node. The connection fields are:

FieldTypeDetails
Telegram Bot TokensecretRequired123456:ABC-DEF...
i
Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Send

Send Telegram Audio

messaging/telegram/send_audio · Action

Send a music/audio file (MP3, M4A, WAV) via Telegram. Use send_voice for spoken-word voice notes. NEVER use for video files (incl. Gemini/Veo output) — use send_video instead so the visual track is preserved.

FieldTypeDetails
Telegram Bot TokensecretRequired123456:ABC-DEF...
Chat/Channel IDstringRequired${flow.channel_id}
Audio to send (flo:blob: token from an upstream action)string
Audio bytes as base64 (alternative to file_blob)string
Track title (optional)string
Artist / performer (optional)string
Duration in seconds (optional)integer
Caption text shown alongside the audiostring

Returns: tool_result, message_id, audio_size_bytes, success, error

Send Telegram Document

messaging/telegram/send_document · Action

Send a file via Telegram. Accepts a flo:blob token or base64.

FieldTypeDetails
Telegram Bot TokensecretRequired123456:ABC-DEF...
Chat/Channel IDstringRequired${flow.channel_id}
File to send (flo:blob: token from an upstream action)string
File bytes as base64 (alternative to file_blob)string
Filename shown to recipientstringdocument.pdf
Caption text shown alongside the filestring

Returns: tool_result, message_id, file_size_bytes, success, error

Send Telegram Message

messaging/telegram/send_message · Action

Send a message via the Telegram Bot API

FieldTypeDetails
Bot TokensecretRequired123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
Channel IDstringRequired${flow.channel_id}
MessagetextRequiredHello from Flomation!
Parse Modestringchoices: None, HTML, MarkdownV2
Reply Markup (JSON)text{"inline_keyboard":[[{"text":"Approve","callback_data":"yes"}]]}

Returns: tool_result, message_id, success, error

Send Telegram Photo

messaging/telegram/send_photo · Action

Send a photo via Telegram. Accepts a flo:blob image token or base64.

FieldTypeDetails
Telegram Bot TokensecretRequired123456:ABC-DEF...
Chat/Channel IDstringRequired${flow.channel_id}
Image to send (flo:blob: token from an upstream action)string
Image bytes as base64 (alternative to file_blob)string
Caption text shown beneath the photostring

Returns: tool_result, message_id, photo_size_bytes, success, error

Send Telegram Video

messaging/telegram/send_video · Action

Send a video (MP4, with or without audio track) via Telegram. THE CORRECT CHOICE for output from Gemini Video / Veo and any other video file. Accepts a flo:blob token or base64. Do NOT use send_voice or send_audio for video files — those strip the visual track.

FieldTypeDetails
Telegram Bot TokensecretRequired123456:ABC-DEF...
Chat/Channel IDstringRequired${flow.channel_id}
Video to send (flo:blob: token from an upstream action)string
Video bytes as base64 (alternative to file_blob)string
Caption text shown beneath the videostring
Video duration in seconds (optional)integer
Video width (optional)integer
Video height (optional)integer

Returns: tool_result, message_id, video_size_bytes, success, error

Send Telegram Voice

messaging/telegram/send_voice · Action

Send a SHORT AUDIO-ONLY voice note via Telegram (OGG/OPUS, like a WhatsApp voice message). NEVER use for video files — Telegram strips the video track and only the audio will play. For video files (incl. Gemini/Veo video output) use send_video. For music files use send_audio.

FieldTypeDetails
Telegram Bot TokensecretRequired123456:ABC-DEF...
Chat/Channel IDstringRequired${flow.channel_id}
Audio data (base64). Wire from an upstream TTS or audio action.stringRequired
Caption text shown alongside the voice messagestring

Returns: tool_result, message_id, audio_size_bytes, success, error

03Triggers

Telegram Trigger

trigger/telegram · Trigger

Triggers a flow when a Telegram message is received

FieldTypeDetails
Bot TokensecretRequired${secrets.telegram_bot_token}
Allowed Chat IDs (optional, comma-separated)string12345678, -100987654

Returns: chat_id, chat_type, chat_title, sender, sender_id, sender_username, sender_name, message_text, message_id, content, agent_id, channel_type, date

04Notes & Limitations

Behaviours and constraints worth knowing before you build with these nodes.