Email Automation
Send Personalized Marketing Emails with OpenAI and Coupons
When you run it, OpenAI extracts details from your customer file, writes personalized emails with a coupon and sends them by SMTP.
What it does
# Documentation This Workflow is for the n8n AI / Langchain Competition. It solves the Problem: Personalizing marketing emails based on customer purchase history. I've found it a bit ambiguous and decided to go the "Convert unhappy customers with a Coupon"-Route. So this workflow utilizes the new LangChain Node for generating personalized E-Mail campaigns and decide if the user might need a coupon to be satisfied. Classic Rebound stuff. There is also a Node "Some Options..." which can be adjusted to quickly change the direction this Campaign should go. Additionally we use n8n to generate the HTML Mails by two different Templates. One with simple text and another for that Coupon handling. Enjoy the Workflow! ❤️ https://let-the-work-flow.com
The steps
- When clicking "Execute Workflow"
- Extract from File
- Some Options for the Campaign
- Information Extractor
- OpenAI Chat Model1
- AI did fail us1
- Fake coupon
- Download dummy data
- AI Output + Prev Data
- Is the result valid?
- Coupon them or not to Coupon them
- Html Template for our Email
- The composed E-Mail + Prev Data
- Html Template for our Email with a Coupon
16 steps in total.
Similar automations
AI Agents & AssistantsQuery Stripe Data in Plain English with Kimi K29 stepsMCP Servers & ToolsPaddle Coupons and Payments as an MCP Server10 stepsEmail AutomationSend incident digest emails from Statuspage vendors with SMTP and Data Tables11 stepsEmail AutomationSend Personalized Emails from Document Templates25 steps