Personalize marketing emails using customer data and AI

Go to Workflow
71,828 views
Created on June 09, 2026

Description

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 personalized email templates. This solution streamlines the process of engaging with customers post-purchase, particularly when addressing dissatisfaction, and ensures that outreach is both personalized and automated.

This workflow won the 1st place in our last AI contest.

Note that to use this template, you need to be on n8n version 1.19.4 or later.

Nodes Used (6)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
HTML
n8n-nodes-base.html
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Send Email
n8n-nodes-base.emailSend
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured