AI Workflow Automation for SMBs
A sophisticated AI concierge for a dental clinic that automates appointment scheduling across multiple professional calendars via WhatsApp.



A sophisticated AI concierge for a dental clinic that automates appointment scheduling across multiple professional calendars via WhatsApp.
The administrative staff at a dental clinic were dedicating a significant portion of their day to managing appointments over WhatsApp. This manual process was not only time-consuming but also prone to human error, such as double-bookings or misinterpreting patient requests.
This bottleneck limited their ability to handle more complex patient needs and created friction in the booking experience, with no after-hours availability for scheduling.
Staff manually cross-referenced multiple Google Calendars, calculated available slots, and went back-and-forth with patients to confirm appointments, all via WhatsApp.
A fully autonomous AI assistant that converses naturally with patients on WhatsApp, checks real-time calendar availability for multiple doctors, books appointments instantly, and logs them in a central database.
Patient inquiries via WhatsApp are ingested and buffered using Redis. This ensures fragmented messages are concatenated into a single, context-rich session before processing.
A GPT-4o powered engine parses the intent, extracting entities like preferred dates, times, and medical specialties from unstructured conversational text.
The AI engine autonomously determines when external data is required, executing function calls to an internal API gateway to check real-time availability.
A dedicated micro-workflow interfaces directly with the Google Calendar API, querying free/busy schedules across multiple practitioners to guarantee zero double-bookings.
The system translates raw availability data into natural, friendly options for the patient, guiding them through the selection and confirmation process.
Upon confirmation, the system commits the transaction by creating the calendar event and simultaneously logging the patient record into a secure Baserow database.
The solution employs a modular, three-tier architecture for maximum scalability and separation of concerns. The core LLM handles conversational state, a Multi-Channel Proxy (MCP) acts as a secure API gateway for tool execution, and dedicated subflows manage specific integrations (e.g., Calendar). This design ensures high maintainability and extensibility.
The AI's operational logic is governed by a highly-detailed system prompt that functions as a strict behavioral playbook. It enforces complex business rules, including specialist-to-calendar routing, dynamic pricing logic, and strict output formatting constraints for patient communications.
=== CENTER SPECIALISTS (DO NOT OMIT) ===
General Dentistry '...-@group.calendar.google.com' → Specialist A
Orthodontics '...-@group.calendar.google.com' → Specialist B
Implantology '...-@group.calendar.google.com' → Specialist CBy interfacing directly with the Google Calendar API for both reading availability and committing new events, the system guarantees real-time, conflict-free scheduling. The architecture utilizes unique transaction IDs to support seamless, autonomous updates or cancellations by the AI agent.
The AI assistant successfully transformed the clinic’s appointment management, freeing up administrative staff to focus on in-person patient care and more complex tasks. It has become a reliable, always-on 'digital receptionist.'
The solution improved the patient experience by providing instant responses and the convenience of booking appointments anytime, while also providing the clinic with a structured, error-free digital record of all scheduled appointments.

Main AI Agent & Routing