Bibliothek / E-Mail-Automatisierung
E-Mail-Automatisierung
Send safely formatted HTML messages with the Telegram bot API
When you run it, it handles email using Telegram.
Was sie bewirkt
## Send formatted Telegram messages safely with HTML escaping Who's it for: anyone who sends n8n data to Telegram — order alerts, form leads, AI answers, monitoring — and has seen messages silently fail. Why: when no Parse Mode is set, the Telegram node sends legacy Markdown. An unpaired *, or [ in your data ("a 5* hotel", AI text, a product name like "Lamp [LED") makes Telegram reject the message with *"can't parse entities"*, and the alert never arrives. With the n8n footer turned off, a single _ breaks it too (an email like alex_m@example.com). ### How it works 1. Set message settings holds your chat ID and a sample message whose values would break Markdown. 2. Build safe HTML message escapes every value (&, ), adds bold labels and an optional link, and trims the text below Telegram's 4096-character limit without leaving a tag open. 3. Send HTML message to Telegram sends it with Parse Mode HTML, the n8n footer off and 3 retries. ### Setup 1. Create a bot with @BotFather and add Telegram credentials. 2. Put your chat ID into Set message settings (send /start to your bot first). 3. Click Execute workflow: the sample arrives formatted, with every special character intact. ### Requirements - A Telegram bot token. ### Customization tips - Copy Build safe HTML message after any node: pass title, fields (label → value) and link. - Rename labels, or add more fields — they are escaped the same way.
Die Schritte
- Run a test message
- Set message settings
- Build safe HTML message
- Send HTML message to Telegram
Ähnliche Automatisierungen
Texterstellung & Content-GenerierungHTML-Seiten aus Nutzeranfragen mit OpenAI erzeugen34 SchritteTexterstellung & Content-GenerierungHTML-Seiten aus Nutzeranfragen mit OpenAI erzeugen (Kopie)34 SchritteChatbots & Messaging-BotsDeadlock-Matchstatistik-Bot für Telegram7 SchritteBausteine & HilfsmittelTelegram-Bot-Webhooks mit einem Formular konfigurieren3 Schritte