Use this powerful n8n workflow to automatically analyze customer reviews in Google Sheets using OpenAI, categorize sentiment (Positive, Negative, Neutral), and generate an automated QuickChart report emailed via Gmail.
Download this n8n workflow template and start using it instantly.
Product managers needing automated feedback loops.
Marketing analysts requiring quick insights into customer sentiment.
Businesses using Google Sheets as a low-cost database for operational data.
Users looking for advanced examples of how to integrate AI using an n8n workflow.
Manually reading and categorizing thousands of customer reviews is tedious and prone to human error. This n8n workflow solves this by providing a robust, scalable, and intelligent automation system. It reads data from Google Sheets, processes each review using the powerful gpt-4o-mini model via an n8n node configured for sentiment analysis, and then updates the original spreadsheet. After processing, the n8n workflow compiles the results, generates a visually compelling chart using QuickChart, and immediately sends a summarized report via Gmail. This end-to-end automation transforms raw data into actionable intelligence, demonstrating the power of integrating AI services within a robust n8n platform.
The process begins with the manual n8n trigger, which initiates the entire n8n workflow execution.
row_number returned during the initial read. This ensures the source data is enriched.To deploy this expert n8n workflow template, follow these steps:
REPLACEWITHYOURGOOGLESHEETSID with the actual ID of your spreadsheet. Ensure your sheet contains the expected columns ('Review title' and 'Review text').YOUR[email protected] with the actual email address of the report recipient.This n8n workflow relies on a mixture of core utility nodes and advanced AI integrations:
When clicking 'Test workflow' (Manual Trigger): This simple n8n trigger node starts the execution of the entire analysis process.
Select Google Sheet (Google Sheets n8n node): Reads the initial batch of data (Review title, Review text) from the spreadsheet using the 'Read' operation.
Loop Over Items (SplitInBatches n8n node): A critical flow control n8n node that iterates over each item fetched from the sheet, processing them one-by-one or in small batches to manage API requests effectively.
Sentiment Analysis (LangChain Sentiment Analysis n8n node): The core AI component. It takes the review text and title as input and uses the linked LLM to classify the text into 'Positive, Neutral, Negative.'
OpenAI Chat Model (LangChain LM ChatOpenAI n8n node): Provides the LLM backend for the sentiment analysis, configured here to use the highly capable and cost-effective gpt-4o-mini model.
Update Google Sheet (Google Sheets n8n node): Updates the row in the spreadsheet, matching on the row_number, and populating the new 'Sentiment' column with the AI-determined category.
Extract Number of Answers per Sentiment (Code n8n node): A custom n8n node using JavaScript to iterate through the results of all updated items and tally the totals for each sentiment category (Positive, Neutral, Negative) for charting purposes.
Generate QuickChart (QuickChart n8n node): Converts the tabulated sentiment counts into a visual chart, ready for email attachment.
Automate product review analysis. This n8n workflow uses the Google Sheets n8n trigger to fetch reviews and OpenAI for instant sentiment classification, updating your spreadsheet automatically.

Automate support monitoring using this powerful n8n workflow. Analyze Linear ticket sentiment using OpenAI and send instant Slack alerts when an issue turns negative.

Deploy this n8n workflow to monitor weather conditions using the OpenWeatherMap n8n node and send conditional alerts via SIGNL4. Essential n8n templates for operational alerts.

Learn to use an n8n workflow as a lightweight web server. This n8n template allows you to serve dynamic or static HTML pages directly from a public webhook URL.









































