Cafés and food shops · The weekly rota
AI for cafés: draft next week's rota in five minutes
A tested AI prompt that drafts a fair weekly café rota from staff availability, opening hours and busy times, and flags any gaps before you post it.
- Tested
- , Claude, with a made-up sample team
- Written by
- Rich Tyler
The job
Every Thursday you juggle who’s free, who wants more hours, and who can’t do Saturdays, then repost it twice when someone swaps. This prompt drafts a fair rota from the availability messages and tells you where the gaps are.
The prompt
Draft next week's rota.
Opening hours: [e.g. Mon to Fri 7:30 to 15:00, Sat 8:30 to 16:00, closed Sun]
Cover needed: [e.g. 2 people at all times, 3 from 11:30 to 14:00 weekdays and all day Saturday]
Rules:
- Shifts between 4 and 8 hours. A 20 minute break for any shift over 6 hours.
- At least 11 hours between one shift ending and the next starting.
- Stay close to each person's target hours. Flag anyone more than 4 hours under.
- Don't roster anyone outside their availability. If cover can't be met, show the gap. Don't fill it with someone unavailable.
- Output a table: days across the top, people down the side, shift times in the cells.
- Check every half hour against the cover rules and list any slot that's short.
- Then list: GAPS, anyone over or under target, and any QUESTIONS where availability was unclear.
Team and availability:
[name, target hours, availability, from the messages]
What I gave it
Mon to Fri 7:30 to 15:00, 2 people at all times, 3 from 11:30 to 14:00. Team: Amy (30 hours, any day), Ben (20 hours, not Mondays), Cara (16 hours, Tue to Thu only), Dev (12 hours, “maybe Friday, will confirm”).
What it produced (weekdays)
Mon Tue Wed Thu Fri Amy 7:30 to 15:00 7:30 to 14:00 7:30 to 14:00 7:30 to 14:00 7:30 to 15:00 Ben 7:30 to 15:00 7:30 to 15:00 7:30 to 15:00 Cara 11:30 to 15:00 7:30 to 15:00 11:30 to 15:00 Dev 7:30 to 15:00 11:30 to 15:00 GAPS: Monday 11:30 to 14:00 has 2 people, needs 3 (only Amy and Dev are free Mondays). Friday 11:30 to 14:00 has 2 people, needs 3. Hours: Amy 34.5 (4.5 over her 30), Ben 22.5, Cara 14.5, Dev 11. Breaks: 20 minutes on every shift over 6 hours. Stagger them outside 11:30 to 14:00. QUESTIONS: Dev said “maybe Friday”, so I haven’t rostered him Friday. If he confirms 11:30 to 14:00, that fills the Friday gap. I’ve put Dev on Monday and Wednesday because he gave no limits for those days; check that’s right.
It didn’t fill the gaps with people who weren’t free, and it flagged Amy going over her hours to cover. That’s the point: you see the problem on Thursday, not Monday morning.
When I first ran this, the draft missed a gap at 7:30 on Tuesday and Thursday where only one person was on. Asking it to “check every half hour against the cover rules and list any slot that’s short” fixed it, so that line is now in the prompt.
Set it up once
- Claude or ChatGPT: a Project called “Rota” with the opening hours, cover and rules as instructions. Each week, paste the availability messages.
- Gemini: a Gem, or keep the rota template in Google Sheets and ask Gemini to fill it.
Check before you send
- Every gap has a plan.
- Under-18s and anyone with fixed limits are within them.
- Breaks are on the posted version.
Common questions
Does it know employment law?
It can follow rules you give it, like breaks and rest between shifts, but it isn't a legal check. The prompt asks it to flag anything that breaks your rules. Under-18s have stricter limits, so tell it who they are.
Is it fair to the team?
It spreads hours by the targets you give it and flags anyone well under. You still make the final call, and the team sees a rota you've checked.
Can it read my availability WhatsApp group?
Copy the messages in and it'll pick out who can do what. Anything unclear goes on the questions list rather than being guessed.
More on this job: what I'd set up for you.
Want this set up in your own account?
AI Setup loads your prices, documents and tone of voice into your AI, and a prompt bank for your repeat jobs like this one.
Book a free 30 minute call →