๐Ÿ“Š Customer feedback analysis with AI, QuickChart & HTML report generator

โšก 1,031 views ยท ๐Ÿ“Š Market Research & Insights

Description

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 workflow also generates data visualizations and produces a final HTML report, ready for email delivery.


Table of Contents


What This Workflow Does

This workflow performs automated semantic analysis on unstructured feedback data (from Google Sheets), using LLM-based agents and a sequence of transformations. It achieves:


Pre-conditions and Requirements


Step-by-Step Workflow Explanation

  1. Google Sheet Import

    • Retrieves feedback rows from a specific Google Sheet tab
    • Filters to the first 20 rows for prompt generation
  2. Prompt Proposal Agent

    • AI generates 3โ€“6 row-level analysis prompts in a structured JSON format
    • Prompts must be agnostic to product names and column headers
  3. Prompt Injection and Pairing

    • Each row is paired with all prompts
    • Combined into a single dataset for row-by-row LLM evaluation
  4. First Iteration of Analysis

    • An LLM answers all injected prompts row-by-row
    • Output is parsed and transformed into structured fields
  5. Semantic Merging and Refinement

    • Merged lists of values from all rows
    • AI clusters synonyms and regenerates improved prompt definitions
  6. Second Iteration of Analysis

    • The refined prompts are used to re-analyze each row
    • A new structured output per row is generated and merged into one object
  7. Summarization and Visualization

    • AI generates summaries per dimension (e.g., sentiment)
    • QuickChart visualizations are created and URL-encoded
    • Cross-dimensional insights and a global narrative are generated
  8. Final Report Generation and Emailing

    • A final HTML report is generated
    • Sent to the specified email using Gmail node

Example Results

WeChat Image_20250421171518.png

Customization Guide

1. Modify Data Source

2. Adjust Prompt Definitions

3. Swap LLM Models

4. Visual Styling

5. Report Format

6. Add Report Destinations


This end-to-end AI-powered social listening workflow enables scalable, repeatable, and customizable insights generation from unstructured customer feedback.

๐Ÿ”— Nodes Used

Function, Google Sheets, Gmail, Filter, AI Agent, OpenAI Chat Model

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup