StableGuide
Submit a booking
Goal: customers request an appointment from a public page; the booking is saved, the customer gets a confirmation email and your team sees it on a calendar.
Submit a booking
Goal: customers request an appointment from a public page; the booking is saved, the customer gets a confirmation email and your team sees it on a calendar.
Data needed
The Booking Form business component creates everything: a Bookings entity (Name, Email, Phone, Service, Date, Notes, Status) and a Services entity for the service dropdown. Because it is a public form, adding it also grants the Public role and the Customer role the right to create bookings.
Step 1 — the booking form
- In Build, open the component library, find Booking Form (Service business) and drop it on a public page.
- The card contains a form with Name, Email, Phone, Service, Date and Notes, a Request booking button and the success message "Thanks! Your booking request was received." Every part is an ordinary component; select any input to rename it or make it required.
- Add a few Services in Data → Services so the dropdown has options.
- Preview, submit a booking, and check Data → Bookings.
Step 2 — confirm by email
- Logic → Workflows → New workflow → When a record is created → send email, entity Bookings. The preset points To at the booking's Email field.
- Set the subject to
Your booking request for {{record.date}}and the body:
Example
Hi {{record.name}},
We received your request for {{record.service}} on {{record.date}}.
We'll confirm shortly.- Add a Notification step for your team (
New booking from {{record.name}}), keep the workflow On.
Step 3 — see bookings on a calendar
Drop the Booking Calendar component on a staff page (protected: Signed-in users or Specific roles). It shows bookings by date, coloured by status.
Resulting behaviour
- Anyone can submit the form; the record is stored in the Bookings entity with status New (the first stage).
- The email is sent server-side to the address typed in the form. Visitors do not need an account.
- Staff manage the booking in the calendar or data grid; moving its status can trigger further automations.
Variations
- Confirm when accepted, not when requested: create a pipeline on Bookings › Status and add the automation When stage becomes Confirmed → Send email.
- Signed-in customers only: use the Booking portal block instead; it pre-fills the customer's email and limits the customer to their own bookings.
- Prevent double bookings: not available as an automatic rule yet; show existing bookings on the calendar so staff can check.
Common mistakes
- Removing the Public Create rule later: the form then fails for anonymous visitors with "Please sign in to create bookings."
- The Email input missing or optional: the confirmation step fails with Invalid recipient. Make Email required.
- Testing the email in the builder preview with a rate limit: anonymous visitors may send at most a few emails per hour through actions; workflows are not affected by that limit.