Manage WhatsApp appointment reminders, confirmations and changes with Google Calendar, Gmail and OpenAI
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Google Calendar
n8n-nodes-base.googleCalendar - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail
What it does
Quick overview This workflow checks Google Calendar every 15 minutes to send WhatsApp appointment reminders 24 hours and 2 hours before events, logs sends in an n8n Data Table to avoid duplicates, and handles patient replies by confirming in Google Calendar or emailing the front desk via Gmail. How it works 1. Runs every 15 minutes on a schedule. 2. Pulls events from Google Calendar for the next 25 hours and reads previously sent reminders from an n8n Data Table. 3. Selects events that are due for a 24-hour or 2-hour reminder, extracts the patient phone number from the event description, and skips anything already logged. 4. Sends a WhatsApp template message with Confirm and Reschedule quick-reply buttons and records the send in the Data Table. 5. Triggers when an inbound WhatsApp message arrives and parses the button payload or text to determine the patient’s intent. 6. If the patient confirms, updates the Google Calendar event color to mark it confirmed and sends a WhatsApp confirmation message. 7. If the patient requests rescheduling or sends any other message, emails the front desk via Gmail (including the calendar link for reschedules) and sends a WhatsApp acknowledgement only for reschedule requests. Setup 1. Add credentials for Google Calendar, WhatsApp Cloud API (Meta), and Gmail in n8n. 2. Create an n8n Data Table named appointmentreminders with text columns eventId, type, phone, and sentAt. 3. In WhatsApp Manager, create a template named appointmentreminder (language en) with two body variables and two quick-reply buttons (Confirm and Reschedule). 4. Update the workflow with your WhatsApp phone number ID (phoneNumberId) and set the front-desk recipient address in both Gmail email actions. 5. Ensure each Google Calendar event description contains the patient number in a parsable format such as Phone: +44 7700 900123, and connect the WhatsApp Trigger webhook in your Meta app configuration.