AutomationMart
Home/Browse/Convert LLM output into rich Telegram messages — Auto-Media & smart chunking
n8n

Convert LLM output into rich Telegram messages — Auto-Media & smart chunking

n8nn8n16 modulesv1.0
Telegram

Telegram Rich Output Helper Workflow 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 1. A Telegram bot created with @BotFather. 2. The bot’s HTTP API token saved as a Telegram API credential in n8n. 3. n8n ≥ 1.0 with the built‑in Telegram node still installed. 4. A parent workflow that calls this one via

At a glance

Convert LLM output into rich Telegram messages — Auto-Media & smart chunking is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Telegram
Modules
16
Price
Free
Version
v1.0
Convert LLM output into rich Telegram messages — Auto-Media & smart chunking workflow diagram

About this workflow

Telegram Rich Output Helper Workflow 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 1. A Telegram bot created with @BotFather. 2. The bot’s HTTP API token saved as a Telegram API credential in n8n. 3. n8n ≥ 1.0 with the built‑in Telegram node still installed. 4. 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. --- What the workflow does 1. Extract Links – A JavaScript Code node scans output, deduplicates URLs, and classifies each by file extension. 2. Link Path If no media links exist, the text path is used. Otherwise, each link is routed through a Switch node that triggers the correct Telegram call (sendPhoto, sendAudio, sendVideo) so users get inline previews or players. 3. Text Path An IF node checks whether the remaining text exceeds Telegram’s 1 000‑character limit. When it does, a Code node slices the text at line boundaries; SplitInBatches then sends the chunks sequentially so nothing is lost. 4. All branches converge, keeping the whole exchange inside one execution. --- Customisation tips Adjust the character limit – edit the first expression in “If text too long”. Filter/enrich links – extend the regex or add MIME checks before dispatch. Captions & keyboards – populate additionalFields in the three “Send back” nodes. Throughput vs. order – tweak the batch size in both SplitInBatches nodes. With this template in place, your users receive the complete message, playable media, and zero manual formatting – all within Telegram’s API limits.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

GPT 4.1 - Freelancer.com job alert system with auto proposal generator

Be first. Be relevant. Get hired. This ready-to-import n8n workflow automates your entire Freelancer.com job search: it scans new listings, filters the best ones with AI, writes proposal drafts, and sends them to Telegram instantly — all while logging every opportunity into Google Sheets. --- 💡 Why Freelancers Love It - ⚡ Instant Alerts: Get notified within minutes of new high-quality jobs. - 🧠 AI-Powered Scoring: Filters scams, vague clients, and

Free

Create and publish AI carousel posts from Telegram to Instagram, Facebook and TikTok with OpenAI, APITemplate.io and Blotato

Who is this for Content creators, social media managers, and solopreneurs who want to automate carousel post creation and multi-platform publishing from a single Telegram message. What this workflow does This workflow turns a Telegram message or voice note into a fully designed carousel post published simultaneously to Instagram, Facebook, and TikTok. An AI agent drafts quotes and captions, you approve via chat, and the rest happens automatically -- image generation, publishing, and status track

Free

Automate weather reports with GPT-4 Mini and Open-Meteo API to Gmail and Slack

This workflow provides a comprehensive weather reporting system with two main functionalities: a scheduled daily summary and an interactive AI agent for dynamic queries. Who's it for? This template is ideal for anyone who wants to stay updated on the weather, from individuals planning their day to teams needing automated daily briefings. It's also a great example for developers and n8n users who want to explore the capabilities of AI Agents and integrating external APIs in their workflows.

Free

📊 AI token tracker for WhatsApp & Telegram – Save AI usage to Google Sheets

GPT-4o Token Tracker – Measure AI Usage and Cost via WhatsApp or Telegram Hi! I'm Amanda — I create smart, useful AI automations for n8n and Make. This workflow helps you monitor how many tokens are consumed per conversation with AI Agent Tokens, and logs that usage into Google Sheets — so you can track expenses and make smarter decisions about your AI usage. You can connect it to Telegram or WhatsApp (via Evolution API), and it will automatically capture: - Prompt and completion tokens - Total

Free

Add new Telegram messages to Evernote as notes

Every time a new message is received in a specific Telegram chat/channel, Make will automatically add a new note to an Evernote notebook of your choice.

Free

Automatically translate new JustCall messages with Google Translate and send it to Telegram chat.

Every time a new message is sent in JustCall, Make will automatically translate it into the language you want using Google Translate. The translated text will be then sent to a Telegram channel of your choice.

Free

Scrape any web page into structured JSON data with ScrapeNinja and AI

Disclaimer: This template only works on self-hosted for now, as it uses a community node. Use Case Web scrapers often break due to web page layout changes. This workflow attempts to mitigate this problem by auto-generating web scraping data extractor code via LLM. How It Works This workflow leverages ScrapeNinja n8n community node to: - scrape webpage HTML, - feed it into LLM (Google Gemini) and ask to write a JS extractor function code, then it - executes the written JS extractor against scr

Free

Collect web form leads and create contacts in HubSpot with SubmitraX

Quick Overview This workflow creates a SubmitraX-hosted HTML contact form, serves it via an n8n webhook, and syncs each submission to HubSpot as a create-or-update contact. How it works 1. Starts manually to fetch your SubmitraX workspace ID and create a new SubmitraX form with custom HTML and an email notification address. 2. Outputs the generated form ID so you can reuse it in the form display and submission trigger steps. 3. Receives a request on an n8n webhook URL, fetches the form definitio

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free