# Create schedules using ilert AI

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 biweekly?
* when does the schedule start and does it end or is it constantly ongoing?

When the assistant has gathered all information required to set up 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: 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.ilert.com/on-call-management-and-escalations/on-call-schedules/recurring-schedules/using-ilert-ai-for-schedule-generation.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.
