๐ Sentiment analytics visualizer
โก 2,584 views ยท ๐ Market Research & Insights
Description
๐ง Sentiment Analyzer
Google Sheets โ OpenAI GPT-4o โ QuickChart โ Gmail
๐ What this workflow does
- Fetches customer reviews from a Google Sheet.
- Classifies each review as Positive, Neutral or Negative with GPT-4o-mini.
- Writes the sentiment back to your sheet.
- Builds a doughnut chart summarising the totals.
- 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 Trigger | Lets you test the workflow on demand. |
| Select Google Sheet | Points to the spreadsheet that holds your reviews. |
| Loop Over Items | Feeds each row through the analysis routine. |
| Sentiment Analysis (LangChain) | Calls GPT-4o-mini and returns only the sentiment category. |
| Update Google Sheet | Writes the new Sentiment value into column C. |
| Read Data from Google Sheet | Pulls 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 QuickChart | Creates a doughnut (or pie) chart as a PNG. |
| Send Gmail with Sentiment Chart | Fires the chart off to your inbox. |
| (Sticky Notes) | Friendly setup tips scattered around the canvas. |
๐ ๏ธ Setup checklist
| โ Step | Where |
|---|---|
| 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
- Drop a few sample reviews into the sheet.
- Click โTest workflowโ on the Manual Trigger.
- Watch each row march through โ sentiment appears in column C.
- After all rows finish, check your inbox for a fresh chart. โ๏ธ
โจ Ideas for next level
- Schedule the trigger (Cron) to auto-process new reviews daily.
- Feed the counts to Slack or Discord instead of email.
- Add a second GPT call to generate a short summary for each review.
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