WhatsApp-Based SaaS Service Booking Platform with Twilio & Cal.com
A service-oriented business needed a multi-tenant SaaS platform that allowed end customers to discover services, book appointments, and manage reservations entirely through WhatsApp — without downloading an app or visiting a website.
Diskuter Dit Projekt
Udfordringen
Traditional booking systems required customers to navigate websites or install apps, creating friction that led to drop-offs:
- High Abandonment — 60-70% of customers abandoned web-based booking flows before completing
- App Fatigue — Customers refused to install yet another app for a one-time service booking
- No Conversational Context — Existing booking tools treated each interaction as stateless, losing context from prior conversations
- Fragmented Communication — Appointment confirmations, reminders, and follow-ups were sent via email that went unread (20% open rate vs. 98% for WhatsApp)
- Multi-Tenant Complexity — Each business (salon, clinic, consultant) needed their own booking catalog, availability, and branding within a shared platform
- Calendar Sync — Double-bookings occurred when provider availability wasn't synced in real-time across channels
Vores Løsning
We built a SaaS service booking platform powered by Twilio's WhatsApp Business API for conversational interactions, Cal.com for scheduling and calendar management, and a multi-tenant backend for business onboarding and configuration.
Architecture
- Messaging Layer: Twilio WhatsApp Business API for bi-directional messaging
- Scheduling Engine: Cal.com (self-hosted) for availability management, booking logic, and calendar sync
- Backend: Node.js/Express API with Amazon DynamoDB for multi-tenant data
- Conversation Engine: ChatGPT-powered AI conversation engine managing booking flows, rescheduling, and cancellations
- Notifications: Twilio for WhatsApp reminders, confirmations, and follow-ups
- Admin Dashboard: Vue.js frontend for business owners to manage services, availability, and bookings
- Payments: Stripe integration for deposits and pre-payments via WhatsApp payment links
Conversational Booking Flow
Discovery & Booking
The WhatsApp bot guides customers through a natural conversational flow: greeting, service selection (with descriptions, durations, and pricing), provider selection (with ratings and reviews), available time slot browsing (with week navigation), and booking confirmation with all details. The entire flow completes without leaving WhatsApp.
Rescheduling & Cancellation
Customers can reschedule or cancel by simply replying with a keyword. The bot identifies their active bookings, presents available alternatives, and confirms the change — with the freed time slot immediately becoming available to other customers.
Twilio WhatsApp Integration
Message Handling
- Inbound Webhook — Twilio forwards incoming WhatsApp messages to the backend via webhook
- Session Management — Conversation state tracked per phone number with DynamoDB-backed sessions
- Template Messages — Pre-approved WhatsApp Business templates for outbound notifications
- Free-Form Messages — Within the 24-hour session window, bot sends interactive replies
- Media Support — Business logo, service images, and location maps sent as rich media
- Quick Replies — Interactive button messages for common choices
Automated Notifications
The platform sends a series of automated notifications throughout the booking lifecycle: immediate booking confirmation, a reminder the day before, another reminder shortly before the appointment, a post-visit follow-up requesting feedback, a no-show notification with reschedule option, and a re-engagement message after a configurable period.
Cal.com Integration
Scheduling Engine
- Self-Hosted — Cal.com deployed as a dedicated instance for full data control
- Event Types — Each service mapped to a Cal.com event type with duration, buffer time, and pricing
- Availability Rules — Per-provider availability with recurring schedules, date overrides, and break times
- Calendar Sync — Two-way sync with Google Calendar, Outlook, and Apple Calendar
- Booking API — Cal.com REST API used programmatically by the WhatsApp conversation engine
- Buffer Times — Configurable before/after buffers prevent back-to-back bookings
- Round Robin — "Any available" option distributes bookings across providers evenly
Conflict Prevention
Cal.com checks real-time availability against all synced calendars, uses optimistic locking for concurrent requests, enforces buffer times between appointments, and handles date overrides for holidays and special hours.
Multi-Tenant Architecture
Tenant Isolation
- Each business gets a dedicated WhatsApp number or shared number with keyword routing
- Tenant-scoped DynamoDB queries for all operations
- Separate Cal.com event types and availability per tenant
- Branded message templates with business name and details
- Independent payment accounts for processing
Business Onboarding
New businesses are onboarded through the admin dashboard with automated provisioning of a WhatsApp number, service catalog configuration, provider availability setup with calendar sync, and message template approval — going live within 24 hours.
Admin Dashboard
Business Owner Features
- Service Catalog — Add/edit services with name, duration, pricing, description
- Provider Management — Add staff members, set availability, assign services
- Booking Calendar — Visual calendar showing all upcoming bookings across providers
- Customer Directory — Contact list with booking history and communication log
- Analytics — Booking volume, revenue, no-show rate, popular services, peak hours
- Settings — Business hours, notification preferences, payment configuration
Key Features
- WhatsApp-Native Booking — Complete booking flow without leaving WhatsApp
- Real-Time Availability — Cal.com syncs across Google/Outlook calendars instantly
- Automated Reminders — Multi-stage reminders reduce no-show rate
- Multi-Tenant SaaS — Shared platform serving multiple businesses independently
- AI Conversation Engine — ChatGPT-powered context-aware bot remembers where the user left off
- Payment Links — Stripe-powered deposit collection via WhatsApp message
- Post-Visit Follow-Up — Automated rating request and re-engagement messages
- Provider Round Robin — Fair distribution when customer selects "any available"
- Rich Media — Service images, maps, and branded messages within WhatsApp
Resultater
Teknologistak
caseStudyDetail.more Casestudier
Udforsk flere af vores tekniske implementeringer
AI-drevet SaaS til generering af datingindhold
En startup havde brug for en SaaS-platform, der bruger AI til at hjælpe brugere af datingapps med at skabe engagerende biografier, svarskabeloner til samtaler og opslag på sociale medier – hvilket fjerner besværet med at udarbejde den perfekte datingprofil og beskeder.
AI-drevet fakturabehandling med OCR og QuickBooks-integration
En mellemstor virksomhed, der månedligt behandler hundredvis af leverandørfakturaer, havde brug for at eliminere manuel dataindtastning ved automatisk at udtrække fakturadata ved hjælp af AI/OCR og synkronisere dem direkte til QuickBooks for bogføring og sporing af betalinger.
Klar til at Transformere Din Virksomhed?
Lad os drøfte, hvordan vi kan anvende lignende løsninger til dine udfordringer.