+7 495 255 06 20
Log In Free trial
Select Language
December 9, 11:00 AM

Digital Reception: How to Increase Your Hotel’s Revenue by 30%?

Join the webinar to learn how a digital staff member answers guests 24/7, boosts loyalty and NPS through personalized communication and attentive service!
Participate for free

The chatId variable is a general way to get ChatApp client data. Some messengers don't have phone numbers (TelegramBot, ViberBot, Instagram, Facebook*, VK, Avito). Then you can start a dialogue via Bitrix24 webhook by getting the ChatId of the ChatApp client.

The chatId variable (Chat ID) is assigned to all clients in ChatApp with whom a chat has already been opened:

While there was no dialogue with the client, the variable cannot be used.

How to get the chatId of a client via Bitrix24

1. Enter the section "CRM" and click on "Automation rules".

2. In the Automation rules and triggers section choose "Create" new robot.

3. Select “Other” and find the ChatApp robot "Get chatId from the Messenger field".

Add this robot.

4. Complete the fields and set up the robot:

3. After the robot starts, you will receive ID from ChatApp clients.

4. The ChatId obtained through the robot can be used in the following robots or Bot Builder.