AI-Powered Medical Appointment Management with n8n + Vapi

I’ve just finished building an end-to-end appointment management system using n8n as the orchestration engine.

The goal was to automate the entire lifecycle of a medical appointment, from confirmation to automatic reassignment after a cancellation.

What it does

:white_check_mark: Calls patients 48 hours before their appointment using a Voice AI agent (Vapi)

:white_check_mark: Updates Google Sheets and Google Calendar automatically based on the patient’s response

:white_check_mark: If a patient cancels, the appointment is removed from Google Calendar

:white_check_mark: The secretary receives a Telegram notification asking whether to contact the waiting list

:white_check_mark: With one click, the workflow starts calling patients from the waiting list

:white_check_mark: Patients are contacted one by one until someone accepts the available slot

:white_check_mark: Once accepted, the appointment is automatically scheduled again, confirmation email is sent, and all databases are synchronized

Tech Stack

  • n8n
  • Vapi
  • OpenAI
  • Google Calendar API
  • Google Sheets API
  • Gmail API
  • Telegram Bot API
  • JavaScript

The most challenging part wasn’t integrating each service individually, but orchestrating five interconnected workflows that keep calendars, databases and phone conversations synchronized while handling different conversation outcomes.

If you have experience building production workflows with n8n, I’d love to hear how you would improve this architecture.

3 Likes