Customer feedback analysis with AI, QuickChart & HTML report generator
Needs changesWhat this workflow does
This AI workflow has 34 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, OpenAI Chat Model and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Google Sheets: uses Google Sheets
- Get the first n rows (Filter): keeps only the items that match a condition
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
- Merging first sample rows (Code): runs custom JavaScript code
- Prepare Prompts (Function): runs custom JavaScript (legacy Function node)
- Second iteration of analysis (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- analysis topics proposal (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Unified AI Agent for analysis (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- wrap up the whole results into one Json file (Code): runs custom JavaScript code
…plus 9 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- Function (legacy) in Prepare Prompts1: replace with Code node, mode 'Run Once for All Items'.
- AI Agent v1 (old agent modes) in analysis topics proposal (v1.8), Unified AI Agent for analysis (v1.8), proposal refinement agent (v1.8)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Prepare Prompts1 | Code node, mode 'Run Once for All Items' |
| AI Agent v1 (old agent modes) analysis topics proposal (v1.8), Unified AI Agent for analysis (v1.8), proposal refinement agent (v1.8), Second iteration of analysis (v1.8), Summarization of the unalysed results (v1.8), Final report editor (v1.8), Revisor and HTML formating agent (v1.8), Completion agents (optional) (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Function
n8n-nodes-base.function - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Filter
n8n-nodes-base.filter - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail
From the author
Generative Customer Insights from Feedback Data using AI Agents & Charts This workflow automates the analysis of customer feedback or social media data from Google Sheets using DeepSeek LLM, transforming raw text into structured semantic insights. The…