> 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/setting-up-agent/raspisanie-raboty-ii-agenta.md).

# Расписание работы ИИ-агента

Управление расписанием активности ИИ-агента.

<a href="https://app.nextbot.ru/option#work-schedule" class="button secondary">Перейти к блоку «Расписание работы агента»</a>

<figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2FXwz0HIqcUCS8odnnHhtY%2Fimage.png?alt=media&amp;token=0d6e51fd-1375-4056-ad27-ff24a8389a90" alt=""><figcaption></figcaption></figure>

Включите расписание и выберите день недели и время, когда ИИ-агент будет отвечать пользователю. Если расписание не включено, ИИ-агент будет отвечать в любое время.

**Для чего это использовать:**\
Если вам нужен бот для того, чтобы обработать обращение клиентов в нерабочее время, а также ночью или на выходных.

{% hint style="warning" %}
Обратите внимание: ИИ-Агент не отвечает на сообщения, полученные вне его рабочего расписания. Однако при следующем обращении клиента в рабочее время Агент учтет всю предыдущую переписку в контексте диалога, даже те сообщения, на которые он не ответил.
{% endhint %}

**В соответствии с приведёнными выше настройками (см.скриншот), ИИ-агент будет отвечать в следующие периоды:**

* Будни (пн–пт): с 19:00 до 09:00.
* Выходные (сб–вс): в течение всего дня.

{% hint style="info" %}
**Если вы тестируете ИИ-агента в тестовом Чате, убедитесь что расписание отключено**
{% 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/setting-up-agent/raspisanie-raboty-ii-agenta.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.
