๐Ÿ“Š Sentiment analytics visualizer

โšก 2,584 views ยท ๐Ÿ“Š Market Research & Insights

Description

๐Ÿง  Sentiment Analyzer

Google Sheets โ†’ OpenAI GPT-4o โ†’ QuickChart โ†’ Gmail


๐Ÿš€ What this workflow does

  1. Fetches customer reviews from a Google Sheet.
  2. Classifies each review as Positive, Neutral or Negative with GPT-4o-mini.
  3. Writes the sentiment back to your sheet.
  4. Builds a doughnut chart summarising the totals.
  5. Emails the chart to your chosen recipient so the whole team stays in the loop.

Perfect for support teams, product managers or anyone who wants a zero-code mood ring for their usersโ€™ feedback.


๐Ÿ—บ๏ธ Node-by-node tour

๐Ÿ”ฉ Node๐Ÿ’ก Purpose
Manual TriggerLets you test the workflow on demand.
Select Google SheetPoints to the spreadsheet that holds your reviews.
Loop Over ItemsFeeds each row through the analysis routine.
Sentiment Analysis (LangChain)Calls GPT-4o-mini and returns only the sentiment category.
Update Google SheetWrites the new Sentiment value into column C.
Read Data from Google SheetPulls the full sheet again to create a summary.
Extract Number of Answers per Sentiment (Code node)Tallies up how many reviews fall into each category.
Generate QuickChartCreates a doughnut (or pie) chart as a PNG.
Send Gmail with Sentiment ChartFires the chart off to your inbox.
(Sticky Notes)Friendly setup tips scattered around the canvas.

๐Ÿ› ๏ธ Setup checklist

โœ… StepWhere
Connect Google Sheets โ†’ paste your Spreadsheet ID & choose the correct sheet.All Google Sheets nodes
Add OpenAI credentials (sk-โ€ฆ key).Sentiment Analysis node
Configure Gmail OAuth2 + recipient address.Gmail node
Match your sheet columns โ†’ โ€œReview titleโ€, โ€œReview textโ€, empty โ€œSentimentโ€.Google Sheet itself
(Optional) Switch to gpt-4o for maximum accuracy.Sentiment Analysis โ€œModelโ€ param

๐Ÿƒโ€โ™‚๏ธ How to run

  1. Drop a few sample reviews into the sheet.
  2. Click โ€œTest workflowโ€ on the Manual Trigger.
  3. Watch each row march through โ†’ sentiment appears in column C.
  4. After all rows finish, check your inbox for a fresh chart. โœ”๏ธ

โœจ Ideas for next level


Happy automating! ๐ŸŽ‰

๐Ÿ”— Nodes Used

Google Sheets, Gmail, QuickChart, OpenAI Chat Model, Sentiment Analysis

๐Ÿ“ฅ Import

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

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