Templates / Send safely formatted HTML messages with the Telegram bot API

Send safely formatted HTML messages with the Telegram bot API

Ready for 3.0

by Luna | Flow Lab · 18 views · created 2026-09-26 · Social Media

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 4 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Telegram.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set message settings (Edit Fields (Set)): sets 7 fields: telegramChatId, defaultTitle, linkText…
  2. Build safe HTML message (Code): runs custom JavaScript code
  3. Send HTML message to Telegram (Telegram): uses Telegram

Services it uses

Telegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

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 1. Runs…

Excerpt from Luna | Flow Lab's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.