> 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/skrytye-komandy-vnutri-chata-bitrix24.md).

# Скрытые команды внутри чата Bitrix24

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

В случае, если вы используете тип подключения ["Коммуникация через Bitrix24"](/functional/integrations/bitrix24/podklyuchenie/podklyuchenie-nextbot-kak-chatbot.md), вам доступны три "скрытые" команды в рамках общения внутри чата Открытой линии.\
Список доступных команд можно узнать, нажав на кнопку снизу чата "Открыть список доступных команд".\
Чтобы воспрользоваться ими, просто напишите команду (вместе со знаком косой черты или слэша "/") в чат:

{% hint style="warning" %}
Не забудьте включить режим "скрытой от клиента перески" (перечёркнутый глаз снизу), иначе ваша команда будет видна не только ИИ-агенту, но и клиенту.
{% endhint %}

* /resume — команда для снятия агента с паузы
* /pause — команда для постановки агента на паузу
* /context — команда, дающая ИИ-агенту дополнительный контекст или инструкцию от менеджера

<figure><img src="/files/Jzs9q0wxIxdb90JfQPXo" alt=""><figcaption><p>Пример использования команды /context: в нашем случае ИИ-агент будет знать имя и адрес доставки, не задавая клиенту лишних вопросов</p></figcaption></figure>

### Роботы Битрикс для использования в рамках команды /context

Хорошим примером является использование роботов Bitrix24 для отправки контекста ИИ-агенту.\
Например, можно настроить робота так, чтобы он автоматически отправлял в чат контекст, содержащий всю информацию о клиенте (см. скриншот). Это позволит ИИ-агенту не задавать лишние вопросы и не беспокоить покупателя.

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

{% hint style="warning" %}
Не забудьте правильно настроить чат-бота: он должен отключаться *только после завершения диалога*, а не при подключении менеджера к чату.\
На скриншоте ниже вы можете увидеть соответствующую опцию.
{% endhint %}

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


---

# 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://doc.nextbot.ru/functional/integrations/bitrix24/skrytye-komandy-vnutri-chata-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.
