Lesson 24medium15 min
Adding Telegram Bot Notifications for Urgent Alerts
Create a Telegram Bot to deliver instant mobile alerts and agenda summaries directly to your phone.
Learning Objectives
- Create a new Telegram bot via @BotFather and retrieve the bot token
- Retrieve your personal Telegram Chat ID via @userinfobot
- Send formatted Markdown alerts to your mobile device
Adding Telegram Bot Notifications for Urgent Alerts
While email holds the full executive report, Telegram delivers instant notifications and urgent flags directly to your mobile lock screen.
Step 1: Create Telegram Bot
- Open Telegram and search for
@BotFather. - Send
/newbotand follow the prompts to name your bot. - Save the provided Bot Token (e.g.
7123456789:AAF...).
Advertisement
Step 2: Get Your Chat ID
- Search for
@userinfoboton Telegram and click Start. - It responds with your numeric Id (e.g.
987654321). - Send a greeting message (e.g.
"hello") to your newly created bot to open the conversation.
Step 3: Add Telegram Node in n8n
- Add a Telegram node in parallel with the Gmail node.
- Resource: Message
- Operation: Send Text Message
- Chat ID:
987654321 - Text:text
☀️ *Morning Executive Alert* 📅 Today is {{ $now.toFormat('cccc, MMM dd') }} Full report dispatched to Gmail. - Parse Mode: Markdown