> For the complete documentation index, see [llms.txt](https://manual.selarti.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.selarti.com/vneshnie-integracii/integraciya-s-pomoshyu-servisa-make/integraciya-s-bitrix24.md).

# Интеграция с Bitrix24

[*Битрикс24*](https://www.bitrix24.ru/) *помогает бизнесу работать и берет под контроль все каналы коммуникаций с клиентами, подсказывает что делать и автоматизирует продажи*.

Настройка интеграции производится с помощью сервиса Make. Первый шаг — настройка связки **Selarti + Make** была рассмотрена в [отдельной статье](/vneshnie-integracii/integraciya-s-pomoshyu-servisa-make.md). В текущей статье рассмотрена вторая часть настройки — связка **Bitrix24 + Make**.

### Создание действия в сервисе Make

В сервисе Make нажмите на знак *«+».*&#x20;

<figure><img src="/files/qd6KxwyfXF4or4fW2Q3V" alt=""><figcaption></figcaption></figure>

Перед вами откроется меню, выберите *«Bitrix24»*.&#x20;

<figure><img src="/files/QV2WBCY3Ssy6BPkHLuA1" alt=""><figcaption></figcaption></figure>

Далее выберите действие, которое вам необходимо, например создание нового лида: «*Create a Lead»*.

<figure><img src="/files/umof5XeMgTjuzRg9NUiG" alt="" width="375"><figcaption></figcaption></figure>

Подключите ваш аккаунт Bitrix24. Для этого, в поле *«Connection name»* укажите любое название, а в поле *«Domain URL»* URL вашего домена в формате: <https://domain\\_name.bitrix24.ru>. Нажмите *«Save».*

<figure><img src="/files/6e5lqCXgakmK7FdSc1Cl" alt=""><figcaption></figcaption></figure>

После успешной авторизации выберите значения, которые хотите получать и нажмите *«OK»*.

<figure><img src="/files/0orkf0NGIhi0KLBn1eKC" alt=""><figcaption></figcaption></figure>

После настройки действий, нажмите кнопку *«Run once»*.

<figure><img src="/files/ZogYS4QaRAOY8LCHVTTD" alt=""><figcaption></figcaption></figure>

Готово!

### Описание полей вебхука

<mark style="color:purple;">**`title`**</mark> —  название диалога (Имя Фамилия/название профиля).\ <mark style="color:purple;">**`contacts`**</mark> —  контакты собеседника. Телефон, username.\ <mark style="color:purple;">**`success`**</mark> —  ИИ-агент пометил диалог как успешный (yes/no).\ <mark style="color:purple;">**`get_contact`**</mark> —  ИИ-агент получил доп. контакты собеседника (yes/no).\ <mark style="color:purple;">**`close`**</mark> —  диалог закрыт (yes/no).\ <mark style="color:purple;">**`is_bot`**</mark> — диалог определен как бот (yes/no).\ <mark style="color:purple;">**`share_url`**</mark> — ссылка на просмотр диалога.\ <mark style="color:purple;">**`company_id`**</mark> —  id компании.\ <mark style="color:purple;">**`task_id`**</mark> —  id задания.\ <mark style="color:purple;">**`thread_id`**</mark> —  id диалога.\ <mark style="color:purple;">**`dialog`**</mark> —  диалог ИИ с пользователем текстом.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://manual.selarti.com/vneshnie-integracii/integraciya-s-pomoshyu-servisa-make/integraciya-s-bitrix24.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
