> For the complete documentation index, see [llms.txt](https://doc.nextbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.nextbot.ru/functional/integrations/bitrix24/podklyuchenie/podklyuchenie-nextbot-kak-kanal.md). Agents can also search and read this documentation through its [MCP server](https://doc.nextbot.ru/~gitbook/mcp).

# Коммуникация через Nextbot

{% hint style="warning" %}
**Для подключения Nextbot к Битрикс24 нужна активная подписка «Премиум» или «Всё включено». Также в Bitrix24 нужна подписка на Битрикс24 Маркетплейс.**
{% endhint %}

Выбирайте этот тип подключения, если каналы подключены к платформе Nextbot.

#### Шаги подключения:

1. Перейдите на страницу **"Интеграции**" во вкладку [**Bitrix**](https://app.nextbot.ru/integrations?tab=BitrixSettings).
2. Нажмите на ссылку **"Приложение"**.\ <br>

   <figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2Fmz2wxj3qq58BSwMHmqUN%2Fimage.png?alt=media&amp;token=181e6be4-a3b8-442c-8ccd-3297bb0d7a8a" alt=""><figcaption></figcaption></figure>
3. Установите приложение Nextbot из Битрикс. Вы можете:
   * Установить приложение Nextbot через вкладку **"**[**Интеграции**](https://app.nextbot.ru/integrations?tab=BitrixSettings)**"**;
   * Установить приложение Nextbot из [**маркетплейса** ](https://www.bitrix24.ru/apps/app/ip_begeneev_konstant.nextbot/#link-type=install)Битрикс.
4. Отметьте все необходимые чекбоксы и нажмите кнопку **"Установить"**.\ <br>

   <figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2FfXLjOfng1YAER4lbtqjV%2Fimage.png?alt=media&amp;token=f8537a9f-ae9a-461d-a57f-fe97e71766c9" alt=""><figcaption></figcaption></figure>
5. Авторизуйтесь на странице, используя ваш логин и пароль от платформы Nextbot.<br>

   <figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2Fg39Cxs1qWJzByQbG2Scv%2Fimage.png?alt=media&amp;token=026780e0-518d-43e4-8ac8-60ffa291b15a" alt=""><figcaption></figcaption></figure>
6. Откройте раздел "Коммуникация через Nextbot"<br>

<figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2FBXiDALWEUvSCM7J43pgV%2F%7B7FF42F76-8F06-4ADF-BA63-067E1784611E%7D.png?alt=media&amp;token=6cf9f912-fab3-4065-bf44-1c569c6e5dbc" alt=""><figcaption></figcaption></figure>

1. Найдите нужного агента. и выберите параметры
   1. Тип CRM сущности: Сделка
      1. Воронки
      2. Открытая Линия
      3. Создавать новую сделку при отсутствии старой
      4. Разрешенные этапы
   2. Тип CRM сущности: Лид
      1. Открытая Линия
      2. Создавать новую сделку при отсутствии старой
      3. Разрешенные этапы

<figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2FDKo0z5Gjq9N2FOSAuE68%2Fimage.png?alt=media&amp;token=5e87abd4-aba0-4393-925a-5f04b8a4ded9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2Fdvv8LKzDno8oECvzAxmj%2Fimage.png?alt=media&amp;token=e59d0556-eae1-4f47-bb2b-0d6c22dd5704" alt=""><figcaption><p>Тип CRM сущности: Лид</p></figcaption></figure>

#### Несколько воронок для одного агента

При подключении через **Nextbot** к одному агенту можно подключить несколько воронок CRM. Агент сможет отвечать в разных действиях, что позволяет гибко настраивать его работу сразу в нескольких воронках.<br>

<figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2Fco3MVyryxgtPtyAwFKWa%2Fimage.png?alt=media&amp;token=a318501e-0606-4cd1-b7eb-a4e537b56627" alt=""><figcaption></figcaption></figure>

После выбора параметров - нажмите подключить.

Отправка результатов настраивается из функции. Подробнее описано в разделе про отправку [результатов функцией](https://doc.nextbot.ru/functional/functions/sending-result/bitrix24.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.nextbot.ru/functional/integrations/bitrix24/podklyuchenie/podklyuchenie-nextbot-kak-kanal.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
