Back to Templates
Who is this for?
Builders of Telegram chat‑bots, AI assistants, or notification services who already run n8n and need to convert long, mixed‑media answers from an LLM (or any upstream source) into Telegram‑friendly messages.
Prerequisites
A Telegram bot created with @BotFather.
The bot’s HTTP API token saved as a Telegram API credential in n8n.
n8n ≥ 1.0 with the built‑in Telegram node still installed.
A parent workflow that calls this one via Execute Workflow and passes:
chatId
— the destination chat ID (integer).output
— a string that can contain plain text and HTTP links to images, audio, or video.output
, deduplicates URLs, and classifies each by file extension.sendPhoto
, sendAudio
, sendVideo
) so users get inline previews or players.additionalFields
in the three “Send back” nodes.With this template in place, your users receive the complete message, playable media, and zero manual formatting – all within Telegram’s API limits.