Skip to content
MyAppBuilder
StableGuide

Build a booking system

A booking system lets customers request a service and a time from a public page, while your team sees every booking on a calendar and in a list, and each new booking triggers a confirmation email. This guide builds it from the Booking Form and Booking Calendar business components

A booking system lets customers request a service and a time from a public page, while your team sees every booking on a calendar and in a list, and each new booking triggers a confirmation email. This guide builds it from the Booking Form and Booking Calendar business components and one workflow. If you prefer, the Booking template creates the same app in one click; the steps below explain what it contains so you can adapt it.

When to use

Use this guide for salons, clinics, workshops, rentals, classes, consultations: anything where people pick a service and a date. If customers must sign in first and see their own bookings, continue with Build a customer portal afterwards.

What you will build

Example
Public visitor ──▶ "Book" page (public) ──▶ Booking Form ──▶ new Bookings record
                                                                   │
Your team ──▶ "Calendar" page ──▶ Booking Calendar (month view)   │
          ──▶ "Bookings" page ──▶ Bookings list with search       │
                                                                   ▼
                                        Workflow: booking created ──▶ confirmation email

1. Create the app

  1. On Your apps, click New app → Start from a template → Booking, name it and click Create app. You get the entities Services, Staff and Bookings, the pages Book (public, at /), Calendar, Bookings, Services, Staff, and the workflow New booking → confirmation email. Skip to step 5 to test it.
  2. Or start blank (or from any other app) and follow steps 2 to 4.

2. Add the public booking page

  1. In Build, open the Pages tab and click New.
  2. Name it Book, keep the type Standard page, and under Who can open it? choose Everyone (public). Under Start with, pick Booking form, then click Create page.
  3. The Booking Form appears on the canvas. Because it is a business component, it created the Bookings entity (and Services) if they did not exist, with the fields the form uses: Name, Email, Phone, Service, Date and Notes. The form's submit button reads Request booking and the success message is Thanks! Your booking request was received.
  4. Select the form and open the Content tab to change the title or submit label. Open Data to see the entity it saves to; the Form helpers box can add inputs for any field you add to Bookings later.
Why it works for visitors who are not signed in: the Booking Form is marked as public create, so dropping it gives the Public role permission to create Bookings records (and nothing else). You can review this under Users → Roles & permissions.

3. Add the calendar and the list for your team

  1. Create a page Calendar with Who can open it? → Your team. From the Components library (category Service), add Booking Calendar. It shows bookings on a month calendar, titled by the customer's name and coloured by status.
  2. Create a page Bookings for your team and add the Bookings manager component: a searchable table with an Add booking dialog. Select the table to choose its Columns in the Content tab.
  3. Both pages have Show in navigation on, so they appear in the app menu for signed-in staff. The public Book page is visible to everyone.

4. Send a confirmation email

  1. Open Logic → Workflows and click New workflow.
  2. Choose the starting point When a record of → Bookings → is created, pick Email goes to, give the workflow a name such as New booking → confirmation email and create it.
  3. Select the Send email step. The recipient is pre-filled with the record's email field; set the subject (for example We received your booking) and the body. You can insert values from the booking with placeholders such as {{record.name}} and {{record.date}}.
  4. Make sure the workflow is enabled. Use Test run with one of your test bookings to see the email it would send.
Tip: Without an email provider configured in Settings → Environment & secrets, emails are sent through the platform sender. The publish checklist reminds you of this.

5. Try it

  1. Click Preview, set Preview as to Public and open the Book page. Fill in the form and submit it.
  2. Switch Preview as to Staff: the booking shows on the Calendar and in the Bookings list.
  3. Open Data → Bookings → Records: the new record is in your test data. Open Logic → Run history to see the workflow run.

6. Publish

Click Publish → Production. The checklist confirms that the public page is reachable, that sign-in is enabled for the team pages and that the workflow is valid. After publishing, share the live address; your customers only ever see the Book page.

Common mistakes

  • The form says "Connect this form to an entity": the form lost its entity. Select it, open Data and choose Bookings.
  • Public visitors see "Please sign in to create bookings": the Public role lost its create permission. Open Users → Roles & permissions, find Public × Bookings and allow Create with scope All records.
  • The calendar is empty: check that the calendar's Data tab points at Bookings and that its date field is Date. Remember that the preview and the builder show test data only.
  • No email arrives in the preview: the preview runs the workflow against test data; check Logic → Run history for the run and its output.

Related

Was this helpful?