> For the complete documentation index, see [llms.txt](https://docs.yoplanning.support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yoplanning.support/en/faq/faq-generale/faq-ordre-de-priorite-des-staffs-avec-le-planning-ia-staffs-potentiels.md).

# FAQ: Staff Priority Order with AI Planning (Potential Staff)

### What is this feature for?

When you use **AI Scheduling** with **potential staff**, Yoplanning automatically assigns sessions to available staff members. The assignment order follows a hierarchical ranking that you define yourself. This allows you to prioritize certain staff members when booking a session from AI Scheduling.

***

### How to define the order of priority?

1. **Access the staff list**
   * Log in to Yoplanning.pro.
   * Go to **Menu > Administration > Staffs**.
2. **Open sort mode**
   * Click on the **"Three small dots"** menu at the top right.
   * Select **"Sort"**.
3. **Set the order**
   * Reorder staff rows by dragging and dropping, from highest priority (top) to lowest priority (bottom).
   * The order defined here will be used for assigning sessions in the AI Schedule.

***

### Best practices

* **Check Context**: Sorting only works if the **Context** filter is set to **"Current Team"**.
* **Update regularly**: Adjust the order based on seasonal availability and skills.
* **Use Tags**: Combine sorting with skill tags to optimize distribution.

***

### Common Problems and Solutions

| Issue                        | Possible cause                                    | Solution                                         |
| ---------------------------- | ------------------------------------------------- | ------------------------------------------------ |
| The order does not apply     | The "Context" filter is not set to "Current Team" | Select "Current Team" and start sorting again    |
| Inconsistent attribution     | Sorting not updated for a long time               | Reorganize staff according to current priorities |
| Staff ignored in attribution | Staff not defined as "potential" in the product   | Check the associated product settings            |

***

**In summary**: The order you define in the staff list is the order Yoplanning follows to automatically assign sessions when a staff is potentially available in the AI Planning.


---

# 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://docs.yoplanning.support/en/faq/faq-generale/faq-ordre-de-priorite-des-staffs-avec-le-planning-ia-staffs-potentiels.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.
