Kütüphane / E-posta Otomasyonu
E-posta Otomasyonu
Send safely formatted HTML messages with the Telegram bot API
When you run it, it handles email using Telegram.
Ne yapar
## 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.
Adımlar
- Run a test message
- Set message settings
- Build safe HTML message
- Send HTML message to Telegram
Benzer otomasyonlar
İçerik Yazımı ve ÜretimiOpenAI ile Kullanıcı İsteklerinden HTML Sayfaları Üretme34 adımİçerik Yazımı ve ÜretimiOpenAI ile Kullanıcı İsteklerinden HTML Sayfaları Üretme (Kopya)34 adımSohbet Botları ve Mesajlaşma BotlarıTelegram için Deadlock Maç İstatistikleri Botu7 adımYapı Taşları ve Yardımcı AraçlarForm ile Telegram Bot Webhook'larını Yapılandırma3 adım