Generate marketing content and automate email campaigns via Outlook
Workflow Description
An intelligent workflow that generates marketing content using a local language model, segments it into batches, and sends emails via Outlook based on specific conditions with advanced error handling and filtering.
How it works
- 1.Activate the workflow manually or via trigger event
- 2.Generate marketing copy using Ollama AI model locally
- 3.Process and split data into manageable email batches
- 4.Apply filters and conditional logic to target recipients
- 5.Send messages through Microsoft Outlook integration
- 6.Merge results and verify execution status
Use cases
- Create and distribute personalized marketing messages at scale
- Automate multi-segment email campaign delivery with AI-generated content
Requirements
- Active connection to Ollama or local language model server
- Valid authenticated Microsoft Outlook account
- Organized recipient data prepared for batch processing
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (36)
When clicking ‘Test workflow’
Manual Trigger
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
Ollama Chat Model1
Lm Chat Ollama
Microsoft Outlook10
Microsoft Outlook
Microsoft Outlook12
Microsoft Outlook
Loop Over Items1
Split In Batches
Microsoft Outlook13
Microsoft Outlook
Microsoft Outlook15
Microsoft Outlook
Microsoft Outlook16
Microsoft Outlook
Microsoft Outlook17
Microsoft Outlook
Microsoft Outlook18
Microsoft Outlook
Microsoft Outlook19
Microsoft Outlook
Markdown1
Markdown
varEmal1
Set
Microsoft Outlook20
Microsoft Outlook
Microsoft Outlook21
Microsoft Outlook
Filter1
Filter
If1
If
Microsoft Outlook22
Microsoft Outlook
Catch Errors1
Set
varJSON1
Set
Sticky Note10
Sticky Note
Microsoft Outlook23
Microsoft Outlook
varID & Category1
Set
Sticky Note11
Sticky Note
Sticky Note12
Sticky Note
Sticky Note13
Sticky Note
Sticky Note14
Sticky Note
Sticky Note15
Sticky Note
Sticky Note16
Sticky Note
Sticky Note17
Sticky Note
Microsoft Outlook Move Message1
Microsoft Outlook
AI Agent1
Agent
Merge1
Merge
Switch1
Switch