Templates / Send AI pre-op reminders with Google Calendar, Gmail, Sheets, Slack and GPT-4o

Send AI pre-op reminders with Google Calendar, Gmail, Sheets, Slack and GPT-4o

Ready for 3.0

by Rahul Joshi ✓ · 1,301 views · created 2026-02-19 · Ticket Management, AI Chatbot

Ready 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.

What this workflow does

This AI workflow has 16 nodes and runs on a schedule (cron 0 9 * * *) (plus 2 other triggers). Along the way it connects Google Calendar, Azure OpenAI Chat Model, Gmail and Google Sheets and 1 more.

How it runs

Trigger: On a schedule (cron 0 9 * * *) (plus 2 other triggers).

  1. Google Calendar: get many
  2. Parse Query Params + Mark Confirmed (patient_id, uniqueId, confirmedAt) (Code): runs custom JavaScript code
  3. Google Sheets: uses Google Sheets
  4. Extract Surgery Events + Patient Fields (Code): runs custom JavaScript code
  5. Google Sheets: append or update
  6. If: checks a condition and branches into true / false
  7. Build Unique Confirmation Link (confirmUrl) (Code): runs custom JavaScript code
  8. Slack: uses Slack
  9. Clean Patient Fields (Name/Email/Phone/ID) (Code): runs custom JavaScript code
  10. AI: Generate Pre-Op Checklist Email (Subject + HTML Body) (AI Agent): runs an AI agent, with model: LLM: Azure OpenAI Chat Model (gpt-4o); output parser: Parse AI Output (Subject/Body JSON)

…plus 1 more step. See the full node list below.

Services it uses

Google CalendarAzure OpenAI Chat ModelGmailGoogle SheetsSlack

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.

Nodes used (11)

From the author

📘 Description This workflow automates end-to-end pre-surgery checklist reminders and confirmation tracking for healthcare operations teams. It ensures patients receive timely preparation instructions, can confirm completion with a single click, and allows…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.