Page 1 of 1

perational control: notifications about calls and requests in Telegram

Posted: Mon Dec 23, 2024 9:08 am
by ashammi228
Chatbots in Telegram have become mainstream. And our clients often have questions about how to create a bot with their own hands in application to telephony. For example, you need to build a system for promptly notifying employees about incoming requests via UIS in a convenient common channel, and a Telegram bot is the optimal solution.

We will tell you how you can create a bot with the ability to automatically send notifications about events without the creator having programming skills.

Let's look at 3 telegram customer service malaysia simple steps to the goal using popular events as an example:

application from a target visitor to the site;

missed calls.


Step 1. Creating a bot
A bot in Telegram is created using another bot — BotFather. We send it the command /newbot, select the name that will be displayed in the contact list, and the address.

For example, "Uiscom-Bot" with the address "Uiscom_first_bot":



If the address is not taken, BotFather will reply with a message containing a token-“key” for accessing the created bot. Save it and do not show it to anyone.

To make the bot more individual, let's add an avatar to it. Throw the /mybots command into BotFather, select our bot:



Next, click Edit Bot -> Edit Botpic and throw an image of 150x150 pixels into the chat:



That's it, we're done with the bot.

Increase sales with the UIS communications platform
A reliable cloud telephony operator: own number capacity and technical support No. 1 on the market.

Manage communications, control employees and automate the sales department.

Call tracking from UIS will help you link customer calls to advertising sources.

Native free integrations with popular CRMs and end-to-end analytics will connect marketing and sales and increase the return on advertising.

Get a consultation

Step 2. Create a group in Telegram
In order for all employees to see notifications, we will create a group and add all interested parties along with the bot itself :





In order to send notifications without any hassle, let's make the group public:




Step 3: Create a notification in UIS
Go to the Notifications menu -> Add notification and create a notification to solve the first task.


Application of the target visitor from the site
We set any name, select the event type (offline application) and specify the required site in the filters:



Next, select the HTTP notification method and configure it as follows:

Method - GET

URL — https://api.telegram.org/botXXX/sendMessage , where XXX is the token you received when creating the bot from BotFather

Body — chat_id=@test_uiscom&text=✉️Request from the site from the user {{visitor_name}}.Request text — *{{visitor_message}}*. Phone number — *{{visitor_phone_number}}*. Request time — *{{start_time}}*&parse_mode=Markdown

Where

chat_id is a link to your group

text — the content of the message from the bot, which you can make absolutely anything depending on your needs (for information, we will add an icon ✉️)

parse_mode — message formatting