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
- A Dialogik account.
- The Telegram app installed on your phone or desktop.
- 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.
- Open Telegram.
- Search for
@BotFather. Ensure it has the blue verification checkmark.
- Click Start or type
/start.
- Type
/newbot and send the message.
Step 2: Name Your Bot
BotFather will ask for two things:
- A Name: This is what users will see in their chat list (e.g., "My Pizza Shop
Support").
- 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
- Go to your Dialogik Panel.
- Click on the Connections tab.
- Find the Connect Telegram box.
- Paste your token into the field.
- Click Connect Telegram.
Step 4: Assign an Agent
Connecting the bot isn't enough; you need to tell Dialogik who is answering the phone.
- In the Connections list, find your new Telegram bot.
- In the dropdown menu next to it, select one of your Active Agents.
- If you haven't created an agent yet, go to the Agents tab and create one first!
Step 5: Test It
- Open Telegram again.
- Search for your bot's username (the one you created in Step 2).
- Click Start.
- Send a message like "Hello".
- Your AI agent should reply instantly!