integrations:telegram

Telegram

The Telegram channel makes it possible to integrate the messenger into the Pyrus workflow. In addition to e-mail and other conventional channels, you can reach your customers through Telegram without leaving Pyrus.

How Does It Work? A bot converts your Telegram conversations into Pyrus tasks and allows you to manage them just like regular tasks.

Employees will be able to reply to customers from Pyrus directly in Telegram, complete tasks, add participants to conversations and use any other Pyrus features.

Connecting the Telegram сhannel

To convert customer Telegram messages into Pyrus tasks, connect the Telegram bot to a new or existing form.

  1. In the form list, go to form settings.
  2. In the Channels window, click the Telegram Messenger line.
  3. In the add bot window, fill in the API-token field and click Save. Where to get an API token?
  4. After saving the bot, a window with its settings will open. If necessary, enter a welcome message: the customers will receive it when they contact you for the first time on Telegram. Click Save.
  5. On the same page, specify the information for the fields of the form. By default,
    Requester name is the Telegram user's login;
    Subject is the first line of the message;
    Description is the second and subsequent lines of the message. If there are none, the field will be empty.
  6. In the Status line, switch the toggle button to Online.

Note: one Telegram bot can only be connected to one Pyrus form.

How to suspend or disconnect the integration

If you want to pause the bot, switch the toggle in the Status line to Offline. Now, the customer's messages sent to the bot via Telegram will not reach Pyrus.

To disconnect the bot, click Disconnect in the Pyrus settings tab.

Note: Bot settings are reset after disconnection. This action cannot be cancelled, but you can reconnect this or another bot at any moment.

Receiving API token

To install the Telegram channel, you will need to create a new bot or connect an existing one using the API token.

Each bot is given a unique authentication token when it is created. A token is needed to identify the bot.

The token looks something like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11.

  1. Create a new bot with him. To do this use the newbot command inside @BotFather. If you already have a bot, but don’t remember API token use the token command to generate a new one.

  2. Copy the API token that @BotFather will give you and paste it when connecting the Telegram channel in Pyrus.

You can also create a new bot from the Telegram mobile app.

Was this article helpful?

Yes, thanks! No, I have a question