Manage WhatsApp appointment reminders, confirmations and changes with Google Calendar, Gmail and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 44 nodes and runs on a schedule (every 15 minutes) (plus 2 other triggers). Along the way it connects WhatsApp Business Cloud, Google Calendar, OpenAI Chat Model and Gmail.
How it runs
Trigger: On a schedule (every 15 minutes) (plus 2 other triggers).
- Your settings (Edit Fields (Set)): sets 10 fields: phoneNumberId, calendarId, frontDeskEmail…
- Which trigger ran? (Switch): routes items into 2 branches
- Get appointments in the next 25 hours (Google Calendar): get many (event)
- Read the message (Code): runs custom JavaScript code
- Get tomorrow's appointments (Google Calendar): get many (event)
- Get reminders already sent (Data table): get (row)
- Get this number's reminders and offers (Data table): get (row)
- Get the reminder log (Data table): get (row)
- Pick reminders that are due (Code): runs custom JavaScript code
- Work out what they mean (Code): runs custom JavaScript code
…plus 30 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Google Calendar + Gmail templates (239) · Other Google Calendar + OpenAI templates (184)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
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
From the author
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…