📊 Sentiment analysis of product reviews using Google Sheets & OpenAI

900 views · 📊 Market Research & Insights

Description

🧠 Sentiment Analysis of Product Reviews using Google Sheets & OpenAI

🚀 Quick Implementation Steps

Automated customer feedback analyzer:

Just connect your credentials and sheet — you’re ready to go!

🔍 What It Does

This workflow automatically analyzes user-submitted product reviews and classifies them by sentiment using OpenAI’s powerful language models. It eliminates the need to manually sift through feedback by tagging each review with a sentiment score.

The sentiment result is then written back to the Google Sheet next to the original review, enabling you to get a fast, clear snapshot of overall customer perception, satisfaction and pain points. Whether you’re monitoring 10 or 10,000 reviews, this process scales effortlessly and updates every minute.

👤 Who’s It For

This workflow is designed for:

✅ Requirements

You’ll need:

⚙️ How It Works

  1. Google Sheets Trigger: Watches for new rows every minute
  2. OpenAI Integration:
    • Uses LangChain’s Sentiment Analysis node
    • Passes review text into GPT-4o-mini via the OpenAI Chat Model node
  3. Sheet Update: The sentiment result (Positive, Negative, or Neutral) is written into the Sentiment column in the same row.

Sticky Notes included for better visual understanding inside the workflow editor.

🛠️ Steps to Configure and Use

1. Prepare Your Google Sheet

Make sure your sheet is named Sheet1 with the following structure:

ReviewSentiment
Absolutely love it!
Not worth the price.

2. Set Up Credentials

3. Import & Activate Workflow

🧩 How To Customize

🧱 Add‑ons (Optional Features)

📌 Use Case Examples

…and many more applications wherever text feedback is collected.

🧰 Troubleshooting Guide

IssuePossible CauseSuggested Fix
Sentiment not updatingSheet credentials missing or misconfiguredReconnect Google Sheets OAuth2
Blank sentimentReview column empty or misalignedEnsure proper column header & value present
OpenAI errorsInvalid or expired API keyRegenerate API Key from OpenAI and re-auth
Workflow doesn’t runPolling settings incorrectConfirm interval & document ID in trigger node

🤝 Need Help?

If you need assistance for

👉 Contact us today at WeblineIndia. We will be happy to assist.

🔗 Nodes Used

Google Sheets, Google Sheets Trigger, OpenAI Chat Model, Sentiment Analysis

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup