Templates / Turn YouTube comments into audience insights with YouTube API and Google Gemini

Turn YouTube comments into audience insights with YouTube API and Google Gemini

Ready for 3.0

by Muhammad Bin Zohaib ✓ · 8 views · created 2026-09-30 · 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 9 nodes and runs when someone submits an n8n form (“YouTube Audience Intelligence”). Along the way it connects Google Gemini Chat Model. It also calls googleapis.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“YouTube Audience Intelligence”).

  1. Prepare Video Data (Code): runs custom JavaScript code
  2. Fetch Video Details (HTTP Request): calls googleapis.com
  3. Fetch Comment Threads (HTTP Request): calls googleapis.com
  4. Prepare Comments Data (Code): runs custom JavaScript code
  5. Content Demand Analysis Agent (AI Agent): runs an AI agent, with model: Google Gemini Model
  6. Generate Research Report (Code): runs custom JavaScript code
  7. Display Report Form (n8n Form): shows the next form page

Services it uses

Google Gemini Chat Model

HTTP calls to: googleapis.com

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 (6)

From the author

Quick overview Paste a public YouTube video URL and use Gemini to mine real viewer comments for recurring questions, problems, objections, tutorial requests, content opportunities, and product or service ideas. How it works 1. Enter a public YouTube video…

Excerpt from Muhammad Bin Zohaib'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.