๐Ÿ“Š ๐Ÿš€ YouTube comment sentiment analyzer with Google Sheets & OpenAI

โšก 661 views ยท ๐Ÿ“Š Market Research & Insights

๐Ÿ’ก Pro Tip โ€” YouTubeโ€™s API quotas can be a bottleneck when youโ€™re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments โ€” no quota limits, just structured data.

View All Scrapers

Description

๐Ÿš€ YouTube Comment Sentiment Analyzer with Google Sheets & OpenAI


Who Should Use This?

Influencers, marketers, and data teams who need instant insights into audience sentimentโ€”without manual exports or scattered tools.


The Challenge

Our workflow automates everything: from fetching comments to logging analysisโ€”so you can focus on insights, not spreadsheets.


What Youโ€™ll Get

  1. Dynamic Input
    Read a list of YouTube URLs from your Google Sheet.
  2. Full Comment Harvest
    Pull all top-level comments (handles pagination 100/page).
  3. Deep Sentiment Scan
    Classify each comment as Positive, Neutral, or Negative using OpenAI.
  4. Smart Formatting
    Capture metadata (author, likes, timestamp) alongside sentiment.
  5. Seamless Storage
    Append or update rows in your Google Sheetโ€”ready for reporting.

Easy Setup

  1. Prepare Google Sheet
    • Create a sheet with a video_urls column (full YouTube links).
    • Add and authorize a Google Sheets Oauth or service-account credential in n8n.
  2. Enable YouTube API
    • Activate Data API v3 in Google Cloud, grab an API key, and save as an HTTP credential in n8n.
  3. Configure OpenAI
    • Enter your API key under the โ€œOpenAI Chatโ€ credential in n8n.
  4. Import the Workflow
    • Paste the provided JSON into n8n.
  5. Run Manually
    • Use the Manual Trigger node to start fetching and analyzing comments on demand.

Customize to Your Needs


Tags

YouTube Google Sheets OpenAI Sentiment Analysis n8n Manual Trigger

๐Ÿ”— Nodes Used

Google Sheets, HTTP Request, OpenAI Chat Model, Sentiment Analysis

๐Ÿ“ฅ Import

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

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