Chat Bot integration with Telegram

How to create an integration between Oki-Toki and a Telegram bot, as well as set up a chat bot, “events”, trigger conditions and sending notifications.

Need to integrate a Telegram chat bot?

How to set up notifications via Telegram? In this article, we offer a small instruction on how to integrate Oki-Toki with a chat bot in the Telegram messenger.

This article is related to Oki-Toki tool for IT department.


Bot creation


  • Create a bot in telegram via @botfather (Write @botfather in Telegram contacts);
  • Then add the created bot to the chat/group;
  • Get the ID of the group in which the created bot is located. To do this, follow the link indicating your bot token, https://api.telegram.org/botYourBotToken/getUpdates and send any message to the previously created group.


Telegram chat bot integration


  • Create a new integration in the “External Resources” section;
  • To send a message via Telegram bot, use the following URL: https://api.telegram.org/botYourBotToken/sendMessage ;
  • To send a message to a specific Telegram group, you need to specify the group ID in the “General request parameters” field in the form: chat_id=group ID.


Event setup


  • Create a new event in the Integrations section;
  • Specify the previously created integration in the event;
  • Next, configure under what conditions the event will be triggered, for example, upon successful connection with the client ;
  • Also, in the request parameters, specify the data that you need to receive in the chat from the bot, for example, the id of the call (Example request, {{session_id}}).


The event log

Use the ” Event Log ” report to view events and the result of their processing.


In conclusion, the integration of the Telegram chat bot with Oki-Toki is available for any company and does not take much time to launch. With the help of this instruction, you can create your own bot and configure it to receive notifications about important events in Oki-Toki.


Maxim Skomarokha

Rate the news:

Read also

Wednesday July 21st, 2021 Voice analytics for contact centers

How to identify speech errors in the work of a call center operator using the Oki-Toki speech analytics tool, direct and inverse search.

Автоматический анализ разговоров в колл-центре

Автоматический анализ разговоров в колл-центре

Monday June 8th, 2020 Automatic analysis of calls and telephone conversations

Five main examples of using speech analytics in the Oki-Toki service for internal and outsourced contact centers.


Leave a request and get detailed advice from a specialist.

    Agreement on the processing of personal data