NBForms

Telegram

Get a Telegram message for every new form submission.

The Telegram integration sends a message to a bot or group chat on every new submission.

Required fields

FieldDescription
Bot TokenThe token for your Telegram bot, obtained from @BotFather. Format: 123456:ABC-DEF1234ghIkl…
Chat IDThe target chat. Use a negative number for a group/channel (e.g. -1001234567890) or a positive number for a personal chat.

Setup

1. Create a bot

  1. Open Telegram and start a conversation with @BotFather.
  2. Send /newbot and follow the prompts to choose a name and username.
  3. BotFather will reply with your bot token. Copy it.

2. Get your Chat ID

For a personal chat:

  • Start a conversation with your new bot by sending it any message.
  • Open https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates in a browser.
  • Find the "chat": { "id": ... } value in the response.

For a group:

  • Add your bot to the group as a member.
  • Send a message in the group.
  • Call getUpdates as above — the group chat ID will be a negative number.

For a channel:

  • Add your bot as an Administrator of the channel.
  • The Chat ID is the channel's username prefixed with @, or a negative number obtained via getUpdates.

3. Add the integration

  1. Open your form → IntegrationsAdd next to Telegram.
  2. Paste your Bot Token and Chat ID.
  3. Save.

What the message looks like

Each message includes the form name, submission timestamp, and all field values as a formatted list.

On this page