Templates / Analyze customer feedback and send AI-written replies with GPT-4 and Gmail

Analyze customer feedback and send AI-written replies with GPT-4 and Gmail

Ready for 3.0

by Cheng Siong Chin ✓ · 219 views · created 2026-01-07 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 31 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Redis, Postgres, OpenAI Chat Model and Salesforce and 3 more.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Workflow Configuration (Edit Fields (Set)): sets 5 fields: redisHost, redisTTL, postgresHost…
  2. Event Normalization (Code): runs custom JavaScript code
  3. Check Deduplication Cache (Redis): get
  4. Is Duplicate Event? (If): checks a condition and branches into true / false
  5. Store Event in Cache (Redis): set
  6. Merge: merges the data from its input branches
  7. Fetch Historical Interactions (Postgres): run a query
  8. Fetch Feature Store Data (Postgres): run a query
  9. Fetch Segmentation Rules (Postgres): run a query
  10. Intent & Sentiment Analysis Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Model; output parser: Analysis Output Parser

…plus 16 more steps. See the full node list below.

Services it uses

RedisPostgresOpenAI Chat ModelSalesforceHubSpotSlackGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (17)

From the author

How It Works This workflow automates customer feedback processing by analyzing sentiment, identifying key issues, generating personalized responses, and escalating critical cases to support teams when required. Designed for customer success managers, support…

Excerpt from Cheng Siong Chin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.