Configure forms and bookings
Load when configuring forms, schedules, fair booking or access, checking slots, booking for a customer or collecting web form answers.
Choose service for a booking with a calendar, form for a request without a cart, or product for stock. For a new need create a new form and calendar. Never rename or reuse another.
- Use
create_formwith title, kind and price. It starts in draft with the account defaults fromset_form_defaults. Readget_formand change price/payment, confirmation, order flow, ratings or web address withupdate_form. Both writes returntitle. Creation also returns it asnamewhen it fits the short answer. - Read steps with
get_form_questions. Useadd_form_step,update_form_steporremove_form_stepfor questions. Set the time step viaset_form_scheduleand use the CMS for address or participants. Write each language with its ownlocale. Omitting it saves step text in the account’s main language. - Keep forms short. The highest-order forms have one or two steps. For booking, use the time step and one step of 2–7 questions. Use the account for name, email and phone. Require an answer only if staff need it to handle the order. Prefer auto confirmation unless staff must review each request or determine the price.
Set the schedule
- Call
create_calendarwith name, kind and weekly hours, one per person, room or class.update_calendarchanges name, description or color. All staff see every calendar. Choose hourly (default slots), daily (whole days), overnight (nights) or event (fixed sessions). - Set
calendar_idsandslot_minuteson each form withset_form_schedule. Configure start step, buffers, notice, booking window and cancellation there. Forms on one calendar share slots. Typical durations are 45 or 60 minutes, 15 or 30 for short services and 1440 for a day. Typical notice is 0–60 minutes and window 3–30 days. - For several services (e.g. five therapists and one workshop), use one
run_manyper step and one tool per batch when available. Create hourly calendars with hours per therapist and an event calendar for the workshop, then create one service form per service, link schedules, set the workshop dates and capacity, and calllist_free_slots. Draft forms return slots withdraft: true. If a calendar is missing, link it and check again. Show the setup. Only on yes, batchset_form_statuswithpublished. set-up-booking - Booking tools supported by
run_manyarecreate_calendar,update_calendar,set_calendar_hours,set_calendar_limits,set_calendar_date,set_fair_booking,create_form,update_form,set_form_schedule,set_form_access,set_form_status,get_formandlist_free_slots. Form/calendar writes also return short answers when called singly. Checkleft_outfor omitted keys andget_formfor full details.
Set fair booking or make a booking
- Set
max_upcomingper person andpeak_windowswithpeak_max_upcoming. Give days (0 = Sunday) or a date and from/to in HH:MM on the same day. Configure confirm/release withconfirm_enabled,confirm_notify_at,confirm_byandconfirm_days_before. - Set
waiting_list_enabledand readlist_waiting_listfor slots with people waiting. Passstarts_atfor one slot’s queue. The first person gets a push when a place opens. - For a phone booking or blocked time without an order, check
list_free_slotsfirst.create_bookingskips availability checks. Usemove_bookingorcancel_bookingfor changes.
Restrict or collect answers
Use set_form_access with who (everyone, signed_in, labels, groups, staff). Select locked_mode for others. hide hides Book buttons, calendar slots and menu items. locked_button locks the form with one button to a page. redirect sends visitors elsewhere. customers
For unsigned answers emailed to account managers, use a free page’s own HTML. Call create_web_form, wrap labeled fields in <form data-bb-form="<id>"> and use type="email" for email. Read list_web_form_answers and mark new, handled or spam with set_web_form_answer_status.
Use the CMS for team fields (form editor → “Add a team-only group”, staff-only values on the order and in the Submissions Sheet), the Submissions Sheet (one form as a table), Google Calendar sync, booking resources, copying forms and form folders.