Customers pick a time and leave their email on the /book/<booking type> page. The system automatically creates the customer, sends a confirmation email (with a calendar invite), and sends a reminder before the session starts.
1. Create a booking type
Have the AI call upsert_booking_type: name, duration, time zone, and which days/times are available each week (availability). Once it's set up, use list_slots to check which time slots customers can actually pick.There are two ways to handle the meeting link:
- Automatically create a new Zoom meeting for every booking (recommended): give the AI your own Zoom key once, and from then on, every new booking creates a new meeting in your Zoom account — the link is written automatically into the confirmation email and the calendar invite; if the customer cancels, that meeting is deleted automatically. Only meetings the system created are deleted — your personal meeting room is never touched
- Getting the key: Zoom admin → App Marketplace → Develop → Build App → choose Server-to-Server OAuth → once it's created, copy the Account ID, Client ID, and Client Secret from the App Credentials page → under Scopes add meeting:write:meeting:admin, meeting:read:meeting:admin, meeting:delete:meeting:admin → click Activate
- Have the AI call
set_my_credentialswith zoomAccountId / zoomClientId / zoomClientSecret (changing credentials needs your confirmation; a bad key is rejected outright);get_my_credentialsshows whether the zoom entry is configured (it won't show the actual secret back); passing empty strings for all three turns off automatic meeting creation - If creating the meeting fails (say, a temporary Zoom outage), the booking still goes through: the confirmation email says "meeting link coming soon," and you can add it by hand
- A fixed meeting link: set a fixed Zoom / Tencent Meeting / Feishu link on the booking type (
meetingUrlTemplate), used for every booking. A booking type with a fixed link set won't auto-create meetings - If neither is set: customers who book just get "meeting link coming soon," and the site health check will remind you
- Every booking (including the meeting link) shows up in your subscribed calendar: have the AI call
get_calendar_feedto get the address, and add it to your phone / computer calendar once
2. Holidays and time off: blocking out a day or a time slot
- Have the AI call
set_booking_blackouts:add:[{date:"2026-10-01", reason:"holiday"}]to block an entire day (dates use the booking type's time zone) - To block just one time slot:
add:[{start:"2026-10-02T10:00:00+08:00"}]— the time has to line up with the start of an available slot; check it withlist_slotsafter - See what's blocked:
list_booking_blackouts; remove a block:set_booking_blackoutswithremove:[id] - Blocking a date doesn't cancel bookings that already exist — if someone already booked that day, you'll be warned; to cancel, use
cancel_booking - You can also do this in the admin: the "Bookings" page
3. New bookings appear automatically on your phone calendar
Have the AI call get_calendar_feed to get the subscription address, add it to your iPhone / Google / Outlook calendar, and every new booking will appear automatically from then on (calendar apps refresh every few hours). In the admin this is on the "Calendar" page.This address works like a key — anyone who has it can see every booking's customer details, so keep it for yourself only; if it leaks, get a new one from the "Calendar" page in the admin.
4. What customers receive
- Confirmation email: sent immediately, with a calendar invite (.ics). If your site has a
booking-confirmtemplate, it's sent using that template (variables{{ meetingUrl }},{{ bookingTime }},{{ bookingName }}) - Reminder before the session: the
booking-remindertemplate - Language follows the language of the page the customer booked on; times follow the customer's own time zone
Cancelling a booking
cancel_booking (or cancelling in the admin) frees up that time slot and sends the customer a "booking cancelled" email with a link to rebook; if you filled in a cancellation reason, it's included too. Cancelling a booking that's already in the past doesn't send an email.
5. After the session
mark_booking marks it as completed / no-show (you can set up an automation to send a reschedule link automatically to no-shows), and get_booking_stats shows attendance rates.
Feishu meetings for mainland-China guests (#3256)
Guests in mainland China (incl. HK / Macau / Taiwan) get a Feishu (Lark) meeting by default; everyone else gets Zoom. If both are set up, guests can switch on the booking page; if the chosen one isn't set up, the other is used.Set up Feishu: create a custom app on the Feishu Open Platform → enable the "Video Conferencing · reserve meeting" permission and publish → copy the App ID / App Secret and the host's open_id (starts with ou_) → ask your AI to "set up Feishu meetings"; it saves them with set_my_credentials (feishuAppId / feishuAppSecret / feishuOwnerOpenId) after verifying with Feishu.