All articles
Tutorial 6 min read

How to Set Up Incident Notifications with Telegram (2026)

Learn how to configure Telegram bots for real-time incident alerts, so your team catches outages fast without relying on email or SMS delays.

L
Livstat Team
·
How to Set Up Incident Notifications with Telegram (2026)

TL;DR: Telegram bots deliver incident alerts faster than email and more reliably than SMS, with no per-message cost. Create a bot with BotFather, grab your chat ID, connect it to your monitoring tool, and you'll have real-time outage notifications in under 10 minutes.

Why Telegram for Incident Notifications

Email alerts get buried. SMS costs add up and can be delayed by carrier throttling. Telegram sits in a sweet spot: instant push delivery, free at any volume, and accessible on desktop, mobile, and web simultaneously.

Teams already use Telegram heavily in regions where WhatsApp or Slack aren't the default, and its bot API is simpler than most alternatives. If your on-call engineer is asleep with notifications muted on Slack but not Telegram, that's the difference between a 5-minute and 45-minute MTTR.

Here's what makes Telegram particularly good for this use case:

  • No rate limits on free usage — unlike SMS gateways that charge per message
  • Group chat support — route alerts to a whole on-call channel, not just one person
  • Rich formatting — bold severity labels, links to dashboards, and markdown in every message
  • Cross-platform delivery — same alert hits desktop, phone, and tablet instantly

Step 1: Create a Telegram Bot

Every Telegram notification workflow starts with a bot. This takes about two minutes.

  1. Open Telegram and search for @BotFather (the official bot for creating bots)
  2. Send the command /newbot
  3. Choose a display name (e.g., "Livstat Alerts") and a unique username ending in bot (e.g., livstat_alerts_bot)
  4. BotFather will return an API token — copy this and store it somewhere secure. Treat it like a password; anyone with it can send messages as your bot.

Step 2: Get Your Chat ID

Your bot needs to know where to send messages. That destination is identified by a chat ID, which differs depending on whether you're alerting an individual or a group.

For a personal chat:

  1. Search for your new bot by username and start a conversation with it — send it any message like "hello"
  2. Open this URL in your browser, replacing <TOKEN> with your bot token:
    https://api.telegram.org/bot<TOKEN>/getUpdates
  3. Look for the "chat":{"id":...} field in the JSON response — that number is your chat ID

For a team/group chat:

  1. Create a Telegram group and add your bot to it
  2. Send a message in the group mentioning the bot, or just any message
  3. Hit the same getUpdates URL and find the group's chat ID (group IDs are negative numbers, e.g., -1001234567890)

Save this chat ID alongside your bot token — you'll need both for the next step.

Step 3: Test the Bot Manually

Before wiring it into your monitoring stack, confirm it works with a simple test message. Run this in your terminal or browser:

https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<CHAT_ID>&text=Test alert from monitoring system

If you receive the message in Telegram, your bot is live and ready to receive programmatic alerts.

Step 4: Connect Telegram to Your Monitoring Tool

Most modern uptime and incident management platforms — Livstat included — support Telegram as a native notification channel, meaning you don't need to write custom integration code.

To connect Telegram in Livstat:

  1. Go to Notification Channels in your Livstat dashboard
  2. Select Telegram from the list of integrations
  3. Paste in your bot token and chat ID
  4. Choose which monitors and severity levels should trigger a Telegram alert
  5. Send a test notification to confirm delivery

Once connected, any downtime, degraded performance, or SSL expiration warning gets pushed straight to your Telegram chat or group — no polling required.

If your monitoring tool doesn't have a native Telegram integration, you can still connect it via webhook. Most platforms let you configure an outgoing webhook URL that fires on incident creation; you'd point that webhook at a small serverless function (or a service like Zapier or Make) that forwards the payload to the Telegram Bot API's sendMessage endpoint.

Step 5: Structure Your Alerts for Clarity

A raw JSON dump in Telegram is useless at 3 AM. Format your alert messages so the on-call person can act in seconds, not minutes.

A good incident alert should include:

  • Severity (Critical / Major / Minor) in bold, at the top
  • Affected service or monitor name
  • Current status (Down, Degraded, Recovering)
  • Timestamp of detection
  • Direct link to the status page or incident dashboard

Example formatted message:

🔴 CRITICAL — API Gateway is DOWN
Detected: 2026-03-14 02:41 UTC
Response time: timeout after 3 retries
View details: https://status.yourcompany.com/incidents/482

Using emoji as visual severity markers (🔴 critical, 🟡 warning, 🟢 resolved) makes scanning a busy Telegram feed much faster during a multi-incident event.

Step 6: Route by Severity and Team

Don't send every alert to every channel. Alert fatigue is one of the top reasons on-call engineers start ignoring notifications altogether — a well-known problem across incident response teams.

Set up multiple Telegram groups mapped to escalation tiers:

  • #alerts-critical — pages the whole on-call rotation immediately
  • #alerts-warning — informational, reviewed during business hours
  • #alerts-resolved — confirmation messages once an incident closes

This mirrors the escalation logic you'd build in a dedicated on-call tool, but at zero cost and with instant setup. Livstat lets you map different monitors and severity thresholds to different Telegram destinations, so a database outage pages the infra team while a marketing site slowdown only notifies the content team's group.

Common Pitfalls to Avoid

  • Forgetting to start a conversation with the bot first — Telegram won't deliver messages to a chat that hasn't interacted with the bot at least once
  • Using the wrong chat ID format — group IDs are negative, personal chat IDs are positive; mixing these up is the most common setup error
  • No fallback channel — Telegram is reliable, but pair it with email or a secondary channel in case of an outage on Telegram's own infrastructure
  • Overloading a single group with every monitor — segment by severity or service to keep signal-to-noise high

Key Takeaway

Setting up Telegram incident notifications takes less than 10 minutes and eliminates the delivery delays common with email and SMS. Create a bot through BotFather, capture your chat ID, and connect it to your monitoring platform — whether natively through Livstat or via webhook.

The real value comes from how you structure and route alerts afterward. Clear formatting, severity-based emoji, and dedicated channels per escalation tier turn Telegram from a simple messaging app into a genuine incident response tool your team will actually trust.

Telegramincident notificationsmonitoringon-calltutorial

Need a status page?

Set up monitoring and a public status page in 2 minutes. Free forever.

Get Started Free

More articles