# Завершить чат-сессию

Чтобы завершить чат-сессию:

* Откройте чат с открытой чат-сессией;
* На верхней панели инструментов нажмите на зеленую галочку, это кнопка \[Завершить];

<figure><img src="/files/agA3B8ypYBztgEU2RBw9" alt=""><figcaption><p>Чат-центр. Кнопка [ Завершить чат-сессию ].</p></figcaption></figure>

Появится модальное окно с параметрами закрытия.

* Укажите тему чат-сессии;
* Выберите сценарий чат-бота после закрытия чат-сессии;
* Добавьте параметры для сценария закрытия (если необходимо);
* Оставьте заметку для сотрудников, которые будет работать с клиентом после вас;
* Нажмите \[ Закрыть сессию ].

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

Чат с оператором завершится и начнется сессия с чат-ботом по настроенному сценарию:

<figure><img src="/files/2ZUQa1u3IKWxBkqQm4TQ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.fstrk.io/knowledge_base/chat_center/usage/chat-sessii/zavershit-chat-sessiyu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
