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

# Shifts

> Shift scheduling, team coverage, recurring patterns.

If your company has shift workers (retail, production, restaurants, healthcare), Arya manages **shift scheduling** with weekly/monthly rotation and automatic minimum coverage checks.

<Frame>
  <img src="https://mintcdn.com/agevole/cM9eEPJE8FVhTNOb/images/hr/en/shifts-planner.svg?fit=max&auto=format&n=cM9eEPJE8FVhTNOb&q=85&s=c85c34eb6e964aeef3e05189a7cd820b" alt="Shift planner with weekly grid and assigned employees" width="1200" height="720" data-path="images/hr/en/shifts-planner.svg" />
</Frame>

## Configuration

<Steps>
  <Step title="Define shift types">
    **Settings → HR → Shifts** → add standard shifts (e.g. "Morning 6-14", "Afternoon 14-22", "Night 22-6").
  </Step>

  <Step title="Define positions">
    For each shift, specify how many employees must be present (minimum coverage).
  </Step>

  <Step title="Add required skills (optional)">
    Some shifts require specific skills (e.g. paediatric nurse). Arya suggests only qualified employees.
  </Step>
</Steps>

## Scheduling

<Tabs>
  <Tab title="Manual">
    HR Manager drags employees onto shifts in the weekly planner. Arya flags conflicts (overlaps, missed rest between shifts).
  </Tab>

  <Tab title="Automatic rotation">
    Define pattern (e.g. "7 workdays + 2 off") → Arya generates the schedule for N weeks.
  </Tab>

  <Tab title="AI optimisation">
    Arya suggests optimal assignment based on: skills, employee preferences, mandatory rest, workload balance, contract compatibility.
  </Tab>
</Tabs>

## Publishing and notifications

When you publish the schedule, employees receive notifications:

* Via mobile app push notification
* Email with weekly calendar
* Sync to personal Google Calendar

## Shift swaps

Employees can request swaps with a colleague:

<Steps>
  <Step title="Employee A requests swap">From app, click **Swap shift** → select shift and target colleague.</Step>
  <Step title="Employee B confirms">Push notification to colleague. If accepted, goes to approval queue.</Step>
  <Step title="HR Manager approves">Visible in dashboard → approve or reject with reason.</Step>
  <Step title="Schedule updated">Arya realigns, notifies both, updates all calendars.</Step>
</Steps>

## Regulatory compliance

<Warning>
  Arya checks regulatory compliance: max 13 hours daily work, minimum 11 consecutive rest hours, 24h weekly rest, night work max 8h in 24h. Automatic alerts on violations.
</Warning>

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Can I define shifts based on leaves?">Yes. Approved leaves reduce employee availability. The planner highlights them.</Accordion>
  <Accordion title="Does it handle on-call?">Yes. "On-call" shifts with dedicated compensation, alerts if the employee is actually called.</Accordion>
</AccordionGroup>
