Bookings & OTPScheduling & Verification·6 min read

Bookings, Custom Form Builder & Email OTP

Capture appointments directly inside chat with an interactive Date & Time Picker, Custom Booking Form Builder visibility rules, live booking.create/update/cancel capabilities, 6-digit Email OTP gates, and CSV ledger exports.

Section 01

Interactive in-chat Date & Time Picker

When the booking.create capability is active for an assistant, the Servunio widget automatically renders interactive Date, Time, and Date & Time pickers directly inside the conversation thread rather than forcing visitors to type ambiguous date strings.

The widget parses structured picker directives and conversational scheduling cues while preserving intent guardrails—so questions like 'what is your cancellation policy?' answer cleanly from Knowledge Base without triggering a date picker.

Section 02

Custom Booking Form Builder & field visibility

Tailor booking data collection in Dashboard -> Capabilities -> Booking without writing custom validation code. Every standard field and custom field supports explicit visibility rules so you only ask for information your team actually uses.

  • Standard fields: Full Name (customerName), Email Address (customerEmail), Phone Number (customerPhone), and Notes (notes).
  • Visibility rules: Set each field to REQUIRED, OPTIONAL, or HIDDEN. Note that customerEmail stays REQUIRED so confirmations and OTP codes always have a verified recipient.
  • Custom fields: Add domain-specific fields using types text, email, tel, textarea, or number with custom labels and placeholders.
booking-fields.json — Custom Booking Form Schema
json
{
  "bookingFields": [
    { "key": "customerName", "label": "Full Name", "type": "text", "requirement": "REQUIRED" },
    { "key": "customerEmail", "label": "Email Address", "type": "email", "requirement": "REQUIRED" },
    { "key": "customerPhone", "label": "Phone Number", "type": "tel", "requirement": "OPTIONAL" },
    { "key": "notes", "label": "Notes", "type": "textarea", "requirement": "HIDDEN" },
    { "key": "serviceType", "label": "Consultation Type", "type": "text", "requirement": "REQUIRED", "isCustom": true }
  ]
}
Section 03

Live booking.create, booking.update & booking.cancel

Servunio executes appointments through standardized capability contracts: availability.read checks open slots, booking.create reserves a slot and issues a unique confirmation reference, booking.update reschedules existing appointments, and booking.cancel releases slots.

Each capability emits lifecycle webhook events (appointment.confirmed, appointment.updated, appointment.cancelled) so downstream calendars, CRMs, or Zapier/n8n automations stay synchronized in real time.

Section 04

6-digit Email OTP verification & Bookings Ledger CSV

Reading, rescheduling, or cancelling personal appointments—and querying customer-specific records from connected databases—is gated behind 6-digit Email OTP verification. Servunio generates a cryptographic 6-digit code, invalidates any prior pending OTPs for that session, emails the code with a 10-minute expiration window, and unlocks customer-scoped lookups only after verification succeeds.

Every confirmed, updated, or cancelled reservation appears in the Dashboard Bookings Ledger, where staff can inspect custom fields, filter by date or status, and export records to CSV.

Zero unverified PII exposure

Visitors who provide only an email address or booking reference cannot inspect or modify another customer's appointment until they complete the 6-digit Email OTP challenge.

Next Recommended Step

Connect WhatsApp, Slack, Email & Live Team Inbox

Manage multi-channel customer conversations with 1-click Staff Takeover, internal notes, /slash commands, and RBAC.