Triage and schedule healthcare appointments with Azure OpenAI, Google Sheets and Gmail

Go to Workflow
0 views
Built by Rahul Joshi Rahul Joshi
Created on June 05, 2026

Description

πŸ“Š Description
Automate your clinic’s patient intake and scheduling with an intelligent AI Healthcare Appointment Booking Agent built in n8n. πŸ₯ This workflow receives patient form submissions, analyzes symptoms using AI triage, determines urgency levels, and automatically assigns the most suitable doctor based on specialty. The agent stores structured patient records in Google Sheets and sends automated appointment schedule emails to doctors. πŸ“§ It also follows up with patients after visits by sending personalized feedback requests, creating a complete AI-driven patient management workflow. This automation acts as a virtual clinic coordinator, streamlining healthcare operations while improving response time and patient experience. πŸ€–

What This Template Does
πŸ”” Capture Patient Leads – A webhook receives patient intake form data including name, age, gender, and symptoms.
πŸ€– Run AI Medical Triage – An AI agent evaluates symptoms to determine urgency level and recommended medical department.
πŸ“ Store Patient Intake Data – Structured triage results are automatically saved to a Google Sheets patient database.
🧠 Assign the Best Doctor – A second AI agent reads the doctor list and selects the most appropriate specialist.
πŸ“… Create Appointment Records – The assigned doctor and appointment details are written to the scheduling sheet.
πŸ“§ Notify Doctors Automatically – Doctors receive an HTML email with their daily appointment schedule.
⏰ Monitor Completed Visits – A scheduled workflow checks completed consultations.
πŸ’¬ Request Patient Feedback – Patients automatically receive a feedback form email after their visit.

Key Benefits
βœ… Automates the entire patient intake to appointment workflow
βœ… Uses AI agents to perform smart symptom triage and doctor assignment
βœ… Eliminates manual scheduling and patient routing
βœ… Keeps patient and doctor records organized in Google Sheets
βœ… Automatically sends doctor schedule notifications and patient feedback emails
βœ… Improves clinic efficiency and response time

Features
AI-powered patient triage agent for symptom evaluation
AI doctor assignment agent using specialty matching
Webhook-based patient intake form integration
Google Sheets database for patient records and appointments
Automated HTML doctor schedule email generation
Scheduled follow-up system for patient feedback
Custom JavaScript normalization nodes for structured AI outputs

Requirements
Azure OpenAI API credentials
Google Sheets OAuth2 connection
Gmail OAuth2 credentials for email notifications
A Google Spreadsheet with the following tabs:
Patient forms
Doctor details
Scheduled appointments

Target Audience
πŸ₯ Healthcare clinics and medical practices
πŸ§‘β€βš•οΈ Hospitals managing patient intake and appointment routing
πŸ€– Healthcare automation builders using n8n + AI agents
πŸ› οΈ Healthtech teams building AI-assisted scheduling systems

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi
Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets