Templates / Analyze YouTube videos for viral content with engagement scoring and Google Sheets

Analyze YouTube videos for viral content with engagement scoring and Google Sheets

Ready for 3.0

by Akash Kankariya ✓ · 1,325 views · created 2025-07-25 · Market Research

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 workflow has 14 nodes and runs when someone submits an n8n form (“test”). Along the way it connects Google Sheets. It also calls googleapis.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“test”).

  1. Set you keys (Edit Fields (Set)): sets 4 fields: api_key, search_term, format…
  2. Get Video IDs (HTTP Request): calls googleapis.com
  3. Extract IDs (Code): runs custom JavaScript code
  4. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Get Video Data (HTTP Request): calls googleapis.com
  6. Extract Video Data (Code): runs custom JavaScript code
  7. Get Channel Statistics (HTTP Request): calls googleapis.com
  8. Video Performance (Code): runs custom JavaScript code
  9. Channel Data (Code): runs custom JavaScript code
  10. Merge: merges the data from its input branches

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

Services it uses

Google Sheets

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

From the author

🚀 Discover trending and viral YouTube videos easily with this powerful n8n automation! This workflow helps you perform bulk research on YouTube videos related to any search term, analyzing engagement data like views, likes, comments, and channel statistics —…

Excerpt from Akash Kankariya'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.