Telegram Channel
Connect your Pearl Text agent to Telegram through a Telegram bot. Pearl replies using the flow, knowledge, and actions defined in your Pearl, in inbound conversations.Telegram is available for inbound only: a Telegram bot can’t start a conversation, it can only answer users who message it first.
Step 1 - Create your Telegram bot
1
Create a Telegram account
If you don’t have one yet, download Telegram and create an account.
2
Find BotFather
In Telegram’s contact search, look for BotFather (the official Telegram bot for creating bots) and open the conversation.



3
Start the conversation
Send the 

/start command to BotFather. It replies with the list of available commands.

4
Create a new bot
Send the 

/newbot command. BotFather will ask you to choose a name for your bot.The name must always end with
bot (for example MySupportBot or my_support_bot).

5
Save your token
Once the bot is created, BotFather sends you a message containing the link to talk to your bot and an access token. Keep this token - you’ll need it to connect the bot to the platform.



Step 2 - Connect Telegram on the platform
1
Open Text Channels
On the platform, open Settings → Text Channels, click Connect Channel, and choose Telegram.



2
Enter the bot details
The Connect Telegram window opens, with a reminder of the BotFather steps on the left (and an Open BotFather shortcut). Under Telegram credentials, fill in:

- Channel name: a name to identify this bot in NLPearl (required, up to 100 characters).
- Bot token: the access token you received from BotFather (e.g.
123456789:ABC…).


3
Assign the bot to a Pearl
Open the Pearl you want to use for inbound conversations, click Settings on its page, and pick the bot in Text Channel. This is when NLPearl starts receiving the bot’s messages.



A bot can serve one Pearl at a time. If it is already used by another Pearl, NLPearl asks you to choose another one.
4
Test your bot
Make sure your Pearl is Live, then send a message to your bot on Telegram: Pearl replies following your flow.
Inbound
Deploy your agent on inbound channels to answer incoming Telegram messages instantly.

