GenAiHub

Last checked 8 October 2026 — responded normally.

Send safely formatted HTML messages with the Telegram bot API

Quick overview

Live
Open / InstallLast updated October 8, 2026

Description

Quick overview This workflow runs on demand to build a Telegram message in safe HTML by escaping dynamic values and enforcing Telegram’s 4096-character limit, then sends the formatted result to a specified chat using the Telegram bot API. How it works Runs when you manually execute the workflow to send a test message. Defines the target Telegram chat ID, message title, field values, optional link, and per-field length limits. Escapes special characters in all field values, formats them with HTML (bold labels and an optional hyperlink), and truncates the message safely to stay under Telegram’s 4096-character limit. Sends the generated HTML message to Telegram with parse mode set to HTML, attribution disabled, and automatic retries enabled. Setup Create a Telegram bot with @BotFather and add Telegram credentials in n8n. Send /start to your bot, then set your Telegram chat ID in the message settings. Click Execute workflow: the sample message arrives formatted, with every special character intact. Then update the title, fields, optional link and length limits to match your data before you reuse the workflow. Requirements A Telegram bot token (free, from @BotFather). Customization Copy Build safe HTML message after any node and pass title, fields (label and value) and link. New fields are escaped the same way, so product names, AI answers and e-mail addresses cannot break the message. An n8n automation workflow template by Luna | Flow Lab.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Luna | Flow Lab

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • telegram
  • code

Capabilities

  • 2 nodes

Information

TypeWorkflow
Sourcen8n
AddedSeptember 29, 2026

Comments

?

Others in the same category, ranked by how often they are opened.