Telegram is a fantastic platform for bots because it's fast, free, and loved by tech-savvy users. Dialogik makes connecting your agent to Telegram simple.

What You Need

  1. A Dialogik account.
  2. The Telegram app installed on your phone or desktop.
  3. 2 minutes.

Step 1: Talk to BotFather

Telegram manages bots through a special bot called BotFather. You need to ask him to create a new bot for you.

  1. Open Telegram.
  2. Search for @BotFather. Ensure it has the blue verification checkmark.
  3. Click Start or type /start.
  4. Type /newbot and send the message.

Step 2: Name Your Bot

BotFather will ask for two things:

  1. A Name: This is what users will see in their chat list (e.g., "My Pizza Shop Support").
  2. A Username: This must be unique and end in 'bot' (e.g., "my_pizza_shop_bot").

Once successful, BotFather will send you a message containing your HTTP API Token.

Your Token looks like this:
123456789:ABCdefGhIJKlmNoPQRstUVwxYZ1234567890
Copy this entire string.

Step 3: Connect to Dialogik

  1. Go to your Dialogik Panel.
  2. Click on the Connections tab.
  3. Find the Connect Telegram box.
  4. Paste your token into the field.
  5. Click Connect Telegram.

Step 4: Assign an Agent

Connecting the bot isn't enough; you need to tell Dialogik who is answering the phone.

  1. In the Connections list, find your new Telegram bot.
  2. In the dropdown menu next to it, select one of your Active Agents.
  3. If you haven't created an agent yet, go to the Agents tab and create one first!

Step 5: Test It

  1. Open Telegram again.
  2. Search for your bot's username (the one you created in Step 2).
  3. Click Start.
  4. Send a message like "Hello".
  5. Your AI agent should reply instantly!