Skip to main content

Telegram integration

Connect a Telegram bot so customers can message it and get AI-powered replies in real time.

Connect Telegram to your AI Employee to enable customers to message your Telegram bot and receive AI-powered responses in real time.

Prerequisites

  • A Telegram account (mobile, desktop, or web).

  • An existing AI Employee in your Newo.ai workspace.

Create a Telegram bot

BotFather is Telegram's official bot for creating and managing bots. You create your bot by chatting with it.

  1. Open Telegram and search for BotFather in the search field.

  2. Click BotFather and click Start.

  3. Send the message /newbot.

  4. Enter a display name for your bot (e.g., Mike).

  5. Enter a unique username for your bot. The username must:

    • Be 5–32 characters long.

    • End in bot.

    • Contain only letters, digits, and underscores.

    • Not start with a number.

    • Not contain the word telegram (Telegram blocks this to prevent impersonation).

    • Be globally unique across Telegram. If the username is already taken, BotFather will ask you to choose a different one.

    When the username is accepted, BotFather replies with your bot's HTTP API token, the key that lets your AI Employee send and receive messages as your bot.

  6. Copy the HTTP API token to your clipboard. You can also access your bot at t.me/[bot_username].

Create a Telegram connector

  1. In the Builder platform, open Integrations from the left-side navigation.

  2. Click the plus icon on the Telegram Integration section.

  3. Fill in the Title and Idn fields (telegram_connector for both).

  4. Paste the HTTP API token into the Telegram API Token field.

  5. Click Save. The connector starts automatically — its status should show as Running.

Test the integration

  1. Open your Telegram bot and click Start. Your AI Employee should respond within a few seconds with a greeting. If you don't get a response, verify the connector status is Running in Builder > Integrations and double-check the HTTP API token.

  2. Send a message. Your AI Employee should respond.

Did this answer your question?