The Disconnected Calendar Dilemma
When consultations and appointments are scheduled via WhatsApp messages, staff manually open Google Calendar or Outlook to verify doctor or consultant availability. When changes happen, the calendar and the chat desynchronize immediately.
The Automated Two-Way Sync Pipeline
- Slot Availability Query: When a client requests an appointment on WhatsApp, the backend queries the Google Calendar FreeBusy API to fetch live available time slots.
- Instant Hold & Hold Expiry: Selected slots are temporarily reserved for 10 minutes to prevent double-booking while the client completes payment or confirmation.
- Event Generation: Upon confirmation, the backend writes directly to Google Calendar/Outlook with client contact details, Google Meet link, and automated reminders.