Skip to Content
Heels LogoHeelsDocs
Notification Channels

Telegram Channel

Route form submissions and event alerts directly to Telegram groups, channels, or personal chats.

Telegram Channel

Telegram is one of the fastest and most popular ways to receive immediate notifications when users submit forms on your site. Heels formats all incoming fields into clean, structured Markdown cards and delivers them via the Telegram Bot API.


Configuration Steps

Step 1: Create a Bot with BotFather

  1. Open Telegram and search for @BotFather.
  2. Send the command:
    /newbot
  3. Follow the prompts to assign a display name and unique username (e.g., MyCompanyNotifierBot).
  4. Copy the generated HTTP API Token (e.g. 123456789:ABCdefGHIjklMNOpqrSTUvwxYZ).

Step 2: Obtain your Chat ID

For Personal Alerts:

  1. Search for @userinfobot on Telegram and click Start.
  2. Note your Id (e.g. 987654321).
  3. Send a greeting message (e.g. hello) to your newly created bot so it has permission to message you.

For Group Chats / Team Channels:

  1. Create a new Telegram group or navigate to an existing team channel.
  2. Add your bot as a member of the group.
  3. If it is a group, disable group privacy in @BotFather (/setprivacy -> Disable) or promote the bot to Administrator so it can read and post messages.
  4. Add @RawDataBot to the group temporarily to print the group's Chat ID (group IDs typically start with a minus, e.g. -1001234567890).

Step 3: Configure in Heels Dashboard

  1. Navigate to your integration in the Heels Dashboard.
  2. Select Channels -> Telegram.
  3. Paste:
    • Bot Token: 123456789:ABCdefGHIjklMNOpqrSTUvwxYZ
    • Chat ID: -1001234567890
  4. Click Test Channel. Heels will immediately send a test alert to your chat.
  5. Toggle the channel Active and save.

Message Format Preview

When a submission arrives, Heels automatically constructs a formatted notification:

⚡ New Event: Production Contact Form
━━━━━━━━━━━━━━━━━━━━━━━━━━
Name: Alex Mercer
Email: [email protected]
Message: Would love a demo of the notification engine.

━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Origin: https://company.com
📍 IP: 203.0.113.195
🕒 2026-11-23 10:45:00 UTC
ID: e9b28a4c-1d38-46fb-a0f1-4604a11b6582

Troubleshooting

Error: 403 Forbidden: bot was blocked by the user

This error occurs if you have not sent at least one message to your bot. Open your bot's direct chat in Telegram, click Start, and retry.

Group message not arriving

Ensure your bot has permissions to post messages in the group or supergroup. In supergroups, promote the bot to Administrator with 'Post Messages' permission.

On this page