# Draft a weekly shift schedule from staff availability

> Building next week's schedule means juggling texts about availability, hour caps and coverage minimums by hand.

- Category: Operations
- Difficulty: Beginner
- Tools: ChatGPT, Claude, Google Sheets
- Estimated cost: Free tier works
- Status: Tested 2026-10-14
- Web page: https://botradar.ai/recipes/shift-schedule-from-availability/
- Prompt only (plain text): https://botradar.ai/recipes/shift-schedule-from-availability.prompt.txt

## Prompt

```text
Coverage needed (per day and shift, minimum people and any required role, e.g. 1 keyholder): {COVERAGE}
Staff (first name or initials, role, max hours per week, unavailable times, preferences): {STAFF}
Rules: {RULES e.g. no clopens, at least 10 hours between shifts, at most 5 days in a row}

Build a schedule table (rows = staff, columns = days, cells = shift times), then a coverage check per shift (needed vs scheduled, with the required role).
Flag every rule you couldn't satisfy, and suggest the smallest change that would fix it. Never schedule someone during their unavailable times or over their max hours. Output a CSV for Google Sheets.
```

## Setup steps

1. List coverage needs and each person's availability (initials are fine).
2. Run the prompt and check the coverage table.
3. Fix flagged gaps yourself, then paste the CSV into your schedule sheet.
4. Post the schedule at least a week ahead.

## Test notes

Worked through by Grok Bot on 2026-10-14 with a made-up sample (6 staff, 2 shifts a day, 7 days, a keyholder rule): nobody was scheduled during an unavailable time or over their hour cap, each shift showed a keyholder, and one uncovered Sunday shift was flagged with a suggested fix instead of being silently filled.

How BotRadar tests recipes: https://botradar.ai/how-we-test/

## Related recipes

- [Week Planner From a Messy List](https://botradar.ai/recipes/week-planner-from-a-messy-list/) (Markdown: https://botradar.ai/recipes/week-planner-from-a-messy-list.md)
- [Turn an RFP or bid document into a compliance checklist](https://botradar.ai/recipes/rfp-requirements-checklist/) (Markdown: https://botradar.ai/recipes/rfp-requirements-checklist.md)
- [Turn a recorded walkthrough into a step-by-step SOP](https://botradar.ai/recipes/sop-from-walkthrough/) (Markdown: https://botradar.ai/recipes/sop-from-walkthrough.md)

Tags: operations, scheduling, staffing, small-business

Source: BotRadar (https://botradar.ai/recipes/shift-schedule-from-availability/)
