Templates / Personalize marketing emails using customer data and AI

Personalize marketing emails using customer data and AI

Ready for 3.0

by n8n Team ✓ · 118,328 views · created 2023-11-14 · Social Media, Multimodal AI

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 16 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model. It also calls let-the-work-flow.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Download dummy data (HTTP Request): calls let-the-work-flow.com
  2. Extract from File: extracts data from a file (xls)
  3. Some Options for the Campaign (Edit Fields (Set)): sets 2 fields: Campaign Target, Flavour
  4. Information Extractor: extracts structured fields from text with AI, with model: OpenAI Chat Model
  5. AI Output + Prev Data (Merge): merges the data from its input branches
  6. Is the result valid? (If): checks a condition and branches into true / false
  7. Coupon them or not to Coupon them (If): checks a condition and branches into true / false
  8. AI did fail us (Stop and Error): stops the run with an error
  9. HTML: parses or builds HTML
  10. The composed E-Mail + Prev Data (Merge): merges the data from its input branches

…plus 4 more steps. See the full node list below.

Services it uses

OpenAI Chat Model

HTTP calls to: let-the-work-flow.com

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

This workflow uses AI to analyze customer sentiment from product feedback. If the sentiment is negative, AI will determine whether offering a coupon could improve the customer experience. Upon completing the sentiment analysis, the workflow creates a…

Excerpt from n8n Team'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.