Bookings for a local business
A customer picks a free slot and leaves contact details. No marketplace and no payment, unless you ask.
When to use it
Use it for a salon, a court, a clinic, or a shop that books a time. Do not use it for a waitlist with no calendar: there is another prompt for that.
Variables
[BUSINESS][SERVICE][HOURS][SLOT_MINUTES][WHAT_TO_COLLECT][STACK]
Copy prompt
Build a booking app for [BUSINESS], in [STACK]. Service: [SERVICE] Hours (days, open, close, timezone): [HOURS] Slot length, in minutes: [SLOT_MINUTES] Customer details: [WHAT_TO_COLLECT] Customer flow - See the next 14 days inside [HOURS]. A slot outside those hours does not appear. - Pick a free slot, fill in [WHAT_TO_COLLECT], confirm. - Two requests for the same slot: only the first one is stored. The second sees "that time was just taken" and the updated list. The lock lives in storage, not only in the interface. - A success screen with the summary (service, day, time, timezone). Do not promise email or SMS if the stack does not send them. If it does not, tell the person on screen to keep the summary. - Do not ask for a field that is not in [WHAT_TO_COLLECT]. Staff flow - One simple page, protected by a single password in an environment variable, listing the day's bookings. No role system. - The staff can cancel a booking. The slot becomes free again. Do not - Do not charge money. Do not create a customer account. Do not build a marketplace of many businesses. - Do not say "today" without a timezone. The timezone is the one in [HOURS]. Deliver: where bookings are stored, how to set the staff password, and a test script (valid slot, taken slot, outside hours, cancel).
How to run this prompt
- Describe the hours. Days, open and close, and the timezone. SLOT_MINUTES is the length of a slot.
- Say what to collect. Name and phone, or email. Do not let the model ask for a national ID on its own.
- Try to book twice. The second request for the same slot must fail with a clear sentence.
Where this breaks
Two customers in the same slot. The prompt asks for the lock in the stored data, not only a hidden button. The timezone in HOURS has to be written down.
Result
Slot for a screenshot or demo. No result is published yet.