Automated email marketing campaign workflow
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.
What this workflow does
This AI workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and OpenAI.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Fetch Recipient Data (Google Sheets): uses Google Sheets
- Validate Email Addresses (If): checks a condition and branches into true / false
- Process Recipients (Loop Over Items (Split in Batches)): loops over the items in batches
- Create Personalized Email (OpenAI): uses OpenAI
- Send Email: sends an email over SMTP
- Set Status to "Sent" (Edit Fields (Set)): sets or maps fields
- Update Recipient Status (Google Sheets): uses Google Sheets
- Generate Random Delay (Code): runs custom JavaScript code
- Pause Between Emails (Wait): pauses before continuing
Services it uses
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 (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Code
n8n-nodes-base.code - Send Email
n8n-nodes-base.emailSend - Edit Fields (Set)
n8n-nodes-base.set - OpenAI
@n8n/n8n-nodes-langchain.openAi
From the author
This n8n workflow demonstrates how to automate a large-scale personalized promotional email campaign, leveraging artificial intelligence to generate unique content for each recipient. Save time and increase the effectiveness of your marketing campaigns by…