Send personalized healthcare joke emails with OpenAI, Gmail, and Google Sheets
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 12 nodes and runs on a schedule (every day at 13:00). Along the way it connects OpenAI Chat Model, Gmail and Google Sheets.
How it runs
Trigger: On a schedule (every day at 13:00).
- Healthcare_Contact_List (Google Sheets): uses Google Sheets
- Limit: keeps the first few items
- Validate Email Address (If): checks a condition and branches into true / false
- Process One by One (Loop Over Items (Split in Batches)): loops over the items in batches
- AI Email Generator (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Prepare Email Data (Edit Fields (Set)): sets 3 fields: Email, First Name, EmailContent
- Send Email (Gmail): uses Gmail
- Random Wait (2-5min) (Wait): pauses before continuing
- Update Email Status (Google Sheets): update
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Email Generator (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Email Generator (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - Limit
n8n-nodes-base.limit - Google Sheets
n8n-nodes-base.googleSheets - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Healthcare Email Autoresponder - Daily Outreach 📧 A production-ready n8n workflow for automated healthcare email marketing with AI-powered personalization. 🎯 What This Workflow Does This automated email system sends daily personalized healthcare-themed…