Description
Automated customer sentiment analysis and email generation โ powered by GPT-4o
๐ Stop manually writing follow-up emails โ this workflow reads customer reviews and creates personalized responses using AI, including coupon offers for unhappy users
๐ง What Problem Does It Solve?
Reviewing customer feedback and replying manually is slow, inconsistent, and hard to scale
This workflow automates that process and generates AI-powered email responses based on sentiment
๐น Positive โ Reinforcement messaging
๐น Negative โ Recovery email with coupon
๐น Neutral โ Encouraging follow-up
โ๏ธ How It Works
๐ฅ Downloads product review data from a Google Sheet or file
๐งน Normalizes and parses feedback for AI input
๐ง Uses GPT-4o to classify sentiment and generate email headline + body
๐ฏ Decides if a coupon should be offered
๐ Composes two types of HTML email (with or without coupon)
๐ค Sends the final email via Gmail
โจ Key Features
โ
Fully automated feedback handling with OpenAI
โ
Personalized, sentiment-aware email generation
โ
Supports both .xlsx and .csv feedback files
โ
Automatically injects coupon logic when needed
โ
Uses different email templates based on user sentiment
โ
Built-in error handling and campaign logic toggles
๐งฐ What You Need
๐ OpenAI API key (GPT-4o access)
๐ Google Drive folder or URL with feedback file
๐ง Gmail account for sending messages
๐ Customer feedback in structured format (.csv or .xlsx)
๐งช n8n v1.19.4 or higher
๐ Setup Instructions
๐ Connect your feedback source (Google Drive or download node)
โ๏ธ Add your OpenAI and Gmail credentials in the respective nodes
๐ Use the provided dummy file or connect to real review exports
๐ง Modify prompt logic to suit your campaign tone and goals
๐จ Customize HTML templates for your brand style
โ
Test on one account before scaling
๐ค Integrations
Google Drive
Gmail
OpenAI GPT-4o
n8n













