Marketing

Generate marketing content and automate email campaigns via Outlook

36 nodes 286 107 Automatic trigger
Download

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. 1.Activate the workflow manually or via trigger event
  2. 2.Generate marketing copy using Ollama AI model locally
  3. 3.Process and split data into manageable email batches
  4. 4.Apply filters and conditional logic to target recipients
  5. 5.Send messages through Microsoft Outlook integration
  6. 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

Lm Chat Ollama Outlook Split In Batches AI Agent

Details

Trigger Automatic trigger
Nodes 36
Apps 4
Views 286
Downloads 107

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (36)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Sticky Note8

Sticky Note

#2

Sticky Note9

Sticky Note

#3

Ollama Chat Model1

Lm Chat Ollama

#4

Microsoft Outlook10

Microsoft Outlook

#5

Microsoft Outlook12

Microsoft Outlook

#6

Loop Over Items1

Split In Batches

#7

Microsoft Outlook13

Microsoft Outlook

#8

Microsoft Outlook15

Microsoft Outlook

#9

Microsoft Outlook16

Microsoft Outlook

#10

Microsoft Outlook17

Microsoft Outlook

#11

Microsoft Outlook18

Microsoft Outlook

#12

Microsoft Outlook19

Microsoft Outlook

#13

Markdown1

Markdown

#14

varEmal1

Set

#15

Microsoft Outlook20

Microsoft Outlook

#16

Microsoft Outlook21

Microsoft Outlook

#17

Filter1

Filter

#18

If1

If

#19

Microsoft Outlook22

Microsoft Outlook

#20

Catch Errors1

Set

#21

varJSON1

Set

#22

Sticky Note10

Sticky Note

#23

Microsoft Outlook23

Microsoft Outlook

#24

varID & Category1

Set

#25

Sticky Note11

Sticky Note

#26

Sticky Note12

Sticky Note

#27

Sticky Note13

Sticky Note

#28

Sticky Note14

Sticky Note

#29

Sticky Note15

Sticky Note

#30

Sticky Note16

Sticky Note

#31

Sticky Note17

Sticky Note

#32

Microsoft Outlook Move Message1

Microsoft Outlook

#33

AI Agent1

Agent

#34

Merge1

Merge

#35

Switch1

Switch

#36