Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

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

  1. When clicking "Execute Workflow"
  2. Extract from File
  3. Some Options for the Campaign
  4. Information Extractor
  5. OpenAI Chat Model1
  6. AI did fail us1
  7. Fake coupon
  8. Download dummy data
  9. AI Output + Prev Data
  10. Is the result valid?
  11. Coupon them or not to Coupon them
  12. Html Template for our Email
  13. The composed E-Mail + Prev Data
  14. Html Template for our Email with a Coupon

16 steps in total.

Similar automations