> 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="/files/9w8rdbkmF9Dg9N4n9gQD" 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 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/setting-up-agent/raspisanie-raboty-ii-agenta.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.
