> ## Documentation Index
> Fetch the complete documentation index at: https://docs.teamslate.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Autoschedule

> Add a day template's shifts to a date as drafts, with people picked for you on Pro and Business.

Autoschedule adds a [day template's](https://docs.teamslate.ai/day-templates.md) shifts to one date as drafts. On Pro and Business plans, it also picks a person for each shift.

## Overview

Autoschedule is the fastest way to staff a single day. Choose a template and Teamslate:

1. Adds each of the template's shifts to the date, with its times and position.
2. On Pro and Business, gives each shift to someone who can work it. This is called auto-assigning.
3. Leaves a shift **unassigned** when nobody can work it, and on the Free plan.

Every shift is a **draft**. Nobody sees it until you [publish](https://docs.teamslate.ai/publishing.md) the day, so you can review, move or change anything first.

Owners and admins can use Autoschedule on every plan. Auto-assigning is available on Pro and Business plans.

## Autoschedule a day

**1. Open the Autoschedule dialog**

On the schedule's day board, open **Actions** and choose **Autoschedule**. On the week view, the dialog also has a **Day** select. It starts on today, or the week's first day.

**2. Choose a day template**

Each template shows how many shifts it adds. Type to search if the schedule has many.

**3. Review the result**

The dialog closes and the shifts appear as drafts. A message tells you how many were added and how many were left unassigned, and why.

On a [holiday](https://docs.teamslate.ai/holidays.md), the dialog names the holiday. If the schedule uses its own template **On holidays**, that template is listed first.

## How people are picked

> [!NOTE]
>
> Available on Pro and Business plans.

Auto-assigning fills shifts in start-time order. If the schedule has a [weekend rotation](https://docs.teamslate.ai/weekend-rotation.md), weekend shifts go first, because who works the weekend decides who needs weekdays off.

### Who can't be picked

For each shift, Teamslate first leaves out anyone who:

* is [unavailable](https://docs.teamslate.ai/availability.md) then,
* is on approved [time off](https://docs.teamslate.ai/time-off.md),
* is already working then, on any schedule,
* isn't qualified for the shift's [position](https://docs.teamslate.ai/positions.md),
* would go past their [max hours](https://docs.teamslate.ai/hours.md) for the week,
* is on an off day in their [work pattern](https://docs.teamslate.ai/work-patterns.md),
* would break the schedule's [weekend rotation](https://docs.teamslate.ai/weekend-rotation.md).

These rules are firm for Autoschedule, even though a manager scheduling by hand is only warned about most of them.

### Who goes first

Among everyone left, the shift goes to the first person in this order:

1. People whose work pattern has them **on** that day.
2. On a weekend under a rotation: whoever works the other day of that weekend, then whoever is due, longest since their last weekend first, then people off the rotation.
3. On a holiday that isn't part of a weekend: whoever has worked the fewest holidays this calendar year.
4. People whose **Prefer** times cover the shift, then everyone else, then people who would rather **Avoid** it. Learn more about [preferred and avoid times](https://docs.teamslate.ai/preferred-and-avoid-times.md).
5. Whoever is furthest below their [target hours](https://docs.teamslate.ai/hours.md) that week, across every schedule. Without a target, fewer hours comes first.
6. Alphabetical order by name, to break a tie.

Each pick counts straight away, so the next shift sees that person's new hours and that they're now working.

### Unassigned shifts

When nobody can work a shift, it's added to the **Unassigned** row with a reason, such as "Nobody free: 2 unavailable, 1 not qualified". Drag it onto someone, or pick someone in its sheet. Unassigned shifts are never published. Learn more about [unassigned shifts](https://docs.teamslate.ai/unassigned-shifts.md).

## On the Free plan

Autoschedule still adds the template's shifts, but every one is unassigned. Assign people from the **Unassigned** row.

## FAQ

> [accordion] Does Autoschedule replace shifts already on the day?
>
> No. It only adds shifts. Anything already on the day stays, and the people already working are left out of the new shifts that overlap.

> [accordion] Does anyone get notified?
>
> Not until you publish. Autoschedule only creates drafts.

> [accordion] Can I autoschedule a whole week?
>
> Yes, with [Fill week](https://docs.teamslate.ai/fill-week.md), which balances hours across all the days at once.

> [accordion] Why was someone given a shift in their Avoid time?
>
> Avoid times are a last resort, not a block. Autoschedule only uses someone in an Avoid time when nobody else is free, and the message names them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.