← Back to Insights
Case Study
5 min read

How We Connected a WhatsApp AI Bot to a Clinic's EMR & Calendar (Case Study)

A

Abhi Virani

Zynteq Architecture Team

Case Study Summary:
Client: KK Neuro Vision Therapy Institute (Specialized Optometry & Vision Therapy Clinic, India)
Challenge: High receptionist workload from routine scheduling calls, missed patient inquiries during evening off-hours and Sundays, and appointment scheduling conflicts.
Solution: Zynteq engineered a unified ClinicOS CRM connected to a multilingual WhatsApp AI Agent and OmniDim Voice AI receptionist with dynamic doctor schedule enforcement.
Results: 12 to 15 hours/week of front-desk phone time saved, 100% of off-hours inquiries captured, and zero booking conflicts through automated 1-hour slot snapping.


The Challenge: A Busy Clinic Struggling with Front-Desk Friction

KK Neuro Vision Therapy Institute is a specialized clinic providing neuro-optometric rehabilitation for amblyopia (lazy eye), strabismus (squint), and binocular vision disorders.

While patient outcomes were exceptional, the front desk faced acute operational bottlenecks:

  1. Repetitive Phone Inquiries: The clinic receptionist spent 3 to 4 hours every day repeating the same information over the phone: clinic consultation hours, fees, location, and doctor availability.
  2. Off-Hours Patient Leakage: Patients searching for eye therapy often messaged after work (between 8:00 PM and 11:00 PM) or over weekends. Inquiries went unanswered until Monday morning, by which time patients had sought other options.
  3. Double Bookings & Scheduling Errors: Manual paper registers and spreadsheet calendars led to overlapping slots and patient frustration in the waiting lounge.

The clinic required an automated solution that could converse with patients naturally on WhatsApp, answer phone calls when the front desk was busy, and enforce the doctor's exact consultation routine.


The Technical Architecture: ClinicOS + WhatsApp AI + Voice AI

Rather than implementing a generic SaaS chatbot that couldn't interact with clinic records, Zynteq engineered a dedicated full-stack medical operations system:

Patient Inbound (WhatsApp / Phone Call)
                    │
    ┌───────────────┴───────────────┐
    ▼                               ▼
WhatsApp Cloud API            OmniDim Voice AI
(Groq / GPT-4o Agent)        (Telephony Agent)
    │                               │
    └───────────────┬───────────────┘
                    ▼
          Next.js API Gateway
                    │
    ┌───────────────┼───────────────┐
    ▼               ▼               ▼
Supabase DB     Live Doctor     Visual 1-Hour
(Patients &     Schedule Sync   Appointments
Appointments)  (Working Hours)     Calendar

1. Dynamic Doctor Schedule Injection

We created an active schedule engine (src/lib/schedule.ts) connected to Supabase. The AI model receives real-time working hours before responding:

  • Morning OPD: 9:00 AM – 1:00 PM
  • Evening OPD: 4:00 PM – 8:00 PM
  • Sunday: Scheduled Weekly Off

2. Closed-Day & Off-Hour Interception

When a patient messages: "Can I book an appointment this Sunday at 11 AM?", the AI immediately intercepts:

"Hello! 🙏 KK Neuro Vision Therapy Institute is closed on Sundays (scheduled weekly off). Dr. Vikash's consultation hours are Monday to Saturday from 9 AM–1 PM and 4 PM–8 PM. Would 11:00 AM on Monday work for you?"

If the patient agrees, the appointment is confirmed and automatically slotted into the visual calendar.

3. Voice AI Post-Call Rollover

When patients dial the clinic's phone number and the line is busy, the OmniDim Voice AI answers in under 240ms, converses naturally, and collects the patient's concern. If the caller asks for a closed day, the backend automatically rolls the visit forward to the next open clinic day and sends an instant WhatsApp confirmation with clinic directions.

4. 1-Click Front-Desk Rescheduling

If Dr. Vikash needs to reschedule an appointment due to surgery or an emergency, staff can click any appointment card in the visual calendar, select a new slot, and the system automatically sends a personalized WhatsApp update to the patient.


Measurable Results (Audited After 30 Days)

MetricBefore Zynteq ImplementationAfter Zynteq ImplementationImpact
Front-Desk Phone Time3.5 – 4.5 hours dailyUnder 1 hour daily12–15 hours/week saved
Off-Hours Inquiry Capture0% (unattended until next morning)100% automated engagement~24 additional inquiries/month
Scheduling Conflicts3–5 per month0 conflicts100% clean 1-hour slot snapping
Patient Confirmation Rate65% (verbal on phone)92% (WhatsApp written record)Noticeable reduction in clinic no-shows

Key Takeaway for Healthcare Providers

Connecting an AI agent directly to a clinic's operational database transforms patient acquisition from a manual, stressful chore into a smooth, 24/7 background system.

Patients receive instant, polite, multi-lingual answers on the platform they use every day (WhatsApp), while doctors maintain complete control over their consulting hours and calendar.

Ready to deploy this architecture?

Request Engineering Proposal →
Chat on WhatsApp