Skip to Content
Blackbell for builders
Guides

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.

  1. Use create_form with title, kind and price. It starts in draft with the account defaults from set_form_defaults. Read get_form and change price/payment, confirmation, order flow, ratings or web address with update_form. Both writes return title. Creation also returns it as name when it fits the short answer.
  2. Read steps with get_form_questions. Use add_form_step, update_form_step or remove_form_step for questions. Set the time step via set_form_schedule and use the CMS for address or participants. Write each language with its own locale. Omitting it saves step text in the account’s main language.
  3. 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_calendar with name, kind and weekly hours, one per person, room or class. update_calendar changes name, description or color. All staff see every calendar. Choose hourly (default slots), daily (whole days), overnight (nights) or event (fixed sessions).
  • Set calendar_ids and slot_minutes on each form with set_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_many per 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 call list_free_slots. Draft forms return slots with draft: true. If a calendar is missing, link it and check again. Show the setup. Only on yes, batch set_form_status with published. set-up-booking
  • Booking tools supported by run_many are create_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_form and list_free_slots. Form/calendar writes also return short answers when called singly. Check left_out for omitted keys and get_form for full details.

Set fair booking or make a booking

  • Set max_upcoming per person and peak_windows with peak_max_upcoming. Give days (0 = Sunday) or a date and from/to in HH:MM on the same day. Configure confirm/release with confirm_enabled, confirm_notify_at, confirm_by and confirm_days_before.
  • Set waiting_list_enabled and read list_waiting_list for slots with people waiting. Pass starts_at for 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_slots first. create_booking skips availability checks. Use move_booking or cancel_booking for 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.

On this page