> 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/amocrm/podklyuchenie/kommunikaciya-cherez-amocrm.md).

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

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

В случае, если мессенджеры подключены через amoCRM и вы хотите, чтобы на определенных этапах воронки отвечал определенный агент, то вы можете настроить это взаимодействие в этом разделе

1. Зайти в пункт "Коммуникация через amoCRM"
2. Найдём необходимого агента в списке
3. Выберите параметры и нажмите "Подключить":
   1. **Ответственный менеджер -** Выберите ответственного менеджера, если необходимо
   2. **Импортировать весь диалог из amoCRM -** Включите этот параметр в случае, если вы хотите импортировать в качестве контекста весь диалог с клиентом, происходивший до общения с ИИ-агентом в amoCRM.
   3. **Второй пилот** - сообщения от ИИ агента будут видны только менеджеру который работает с диалогом. При включении есть доп. опция. Подробнее в [статье](/functional/integrations/amocrm/podklyuchenie/kommunikaciya-cherez-amocrm/vtoroi-pilot-amocrm.md):
      1. Сохранять сообщения второго пилота в контекст
   4. **Воронка -** воронка к которой хотим подключить ИИ-Агента
   5. **Разрешенные этапы воронки** - Обязательно надо настроить этапы на которых будет отвечать ИИ-агент. Нельзя на один и тот же этап воронки назначить 2х агентов.
   6. **Добавить воронку** - вы можете добавить агента в несколько воронок а так же настроить разрешенные этапы для каждой подключенной воронки

<figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2FEkuNERIPtppnnAcPRav5%2Fimage.png?alt=media&amp;token=94ef3e00-cd7c-4b4e-944b-be28521d4a5d" alt=""><figcaption></figcaption></figure>

#### Сообщения оператора из AmoCRM

{% hint style="info" %}
**Обратите внимание:** сообщение, отправленное оператором через amoCRM, может появиться в диалоге только после нового сообщения от клиента. При этом **время и порядок сообщений отображаются корректно**, даже если сообщение появилось с задержкой.
{% endhint %}


---

# 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/amocrm/podklyuchenie/kommunikaciya-cherez-amocrm.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.
