> For the complete documentation index, see [llms.txt](https://docs.ilert.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ilert.com/~/changes/vPSzQFfkdJCVWGT5AL1m/ilert-ai/using-ilert-ai-for-schedule-generation.md).

# Using ilert AI for schedule generation

Creating a recurring schedule can be a challenge for users that are new to on-call duty management or sometimes can be a complex challenge when the required schedule in itself has a complex structure to it e.g. follow the sun with multiple teams and besides that some people might just prefer to use natural language to express their schedule structure instead of timelines and restrictions- this is why we build a schedule assistant into ilert AI.

<figure><img src="/files/NipOGvnzbkERT7oPY2uX" alt="" width="563"><figcaption></figcaption></figure>

**Head to On-call -> On-call schedules -> Create new schedule -> Create recurring schedule** and you will find the **Generate schedule with ilert AI** button at the top right (*if you have enabled ilert AI for your account*).

A modal will appear on the right side of the screen asking you to describe your desired schedule:

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

While the assistant will automatically guide you, by asking questions for missing details for the schedule creation, keep in mind that you should provide some insights into

<figure><img src="/files/CsAVgXUgwCkYrYp6NOvk" alt="" width="563"><figcaption></figcaption></figure>

* who should be on call and at which time of the week or day?
* what is the rotation every day, every week or bi weekly?
* when does the schedule start and does it end or is it constantly ongoing?

When the assistant has gathered all information required to setup the schedule for you it will process for a little moment and provide you with a button to **Generate the schedule**

<figure><img src="/files/ObcvqOfXAbVTXV3g6UlT" alt="" width="563"><figcaption></figcaption></figure>

The assistant will preconfigure the schedule creation based on the generated input, you can now make final adjustments if you like - as soon as you are ready press the **Save** button. Congratulations, you have generated your schedule.


---

# 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://docs.ilert.com/~/changes/vPSzQFfkdJCVWGT5AL1m/ilert-ai/using-ilert-ai-for-schedule-generation.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.
