You are viewing beta documentation for Formie 4.x.
Messaging

Telegram

Follow the below steps to connect to the Telegram API.

Step 1. Create the Integration

  1. Navigate to FormieSettingsMessaging.
  2. Click the New Integration button.
  3. Select Telegram as the Integration Provider.

Step 2. Create a Telegram Bot

  1. Open Telegram and search for @BotFather.
  2. Start a chat and send the command /newbot.
  3. Follow the prompts to give your bot a name and username.
  4. Copy the Bot Token provided after creation.
  5. Paste this value into the Bot Token field in Formie.

Step 3. Test Connection

  1. Save this integration.
  2. Click on the Refresh button in the right-hand sidebar to verify the connection.

Step 4. Form Settings

  1. Go to the form you want to enable this integration on.
  2. Click the Integrations tab.
  3. In the left-hand sidebar, select the name you gave the integration.
  4. Enable the integration and fill out all required fields.
  5. Click Save to save the form.

Step 5. Get Your Chat ID

  1. Start a conversation with your bot, or add it to a group or channel.
  2. Send a message in the chat where you'd like the bot to post (this triggers a "message update").
  3. Visit the following URL in your browser (replace the token): https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates
  4. Look for a chat object in the response. It will look something like: "chat": { "id": -1001234567890, "type": "channel", "title": "Announcements" }
  5. Copy the id value and paste it into the Chat ID field when setting up the form integration.

💡 You can use a chat ID from a user, group, or channel — Telegram will route the message based on the ID automatically.

Last updated: June 2, 2026, 3:49:48 PM