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