Templates / YouTube comment sentiment analysis with Google Gemini AI and Google Sheets

YouTube comment sentiment analysis with Google Gemini AI and Google Sheets

Ready for 3.0

by Davide Boizza ✓ · 708 views · created 2025-05-08 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, Google Gemini Chat Model and QuickChart.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Get comments (Google Sheets): uses Google Sheets
  2. ID Video (Edit Fields (Set)): sets or maps fields
  3. Loop Over Comments (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Get API Comments (HTTP Request): calls an HTTP API
  5. Sentiment Analysis: scores sentiment with AI, with model: Google Gemini
  6. Multipage? (If): checks a condition and branches into true / false
  7. Comments (Code): runs custom JavaScript code
  8. Update sentiment (Google Sheets): uses Google Sheets
  9. nextPageToken (Edit Fields (Set)): sets or maps fields
  10. Split comments (Split Out): splits a list into separate items

…plus 2 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Gemini Chat ModelQuickChart

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

This workflow automatically collects all comments from a specified YouTube video and analyzes the sentiment of each comment using an AI model (e.g., GPT, Claude or Gemini). The sentiment (Positive, Neutral, or Negative), its strength, and confidence score are…

Excerpt from Davide Boizza's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.