Analyze YouTube videos for viral content with engagement scoring and Google Sheets
Ready for 3.0What 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”).
- Set you keys (Edit Fields (Set)): sets 4 fields: api_key, search_term, format…
- Get Video IDs (HTTP Request): calls googleapis.com
- Extract IDs (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Get Video Data (HTTP Request): calls googleapis.com
- Extract Video Data (Code): runs custom JavaScript code
- Get Channel Statistics (HTTP Request): calls googleapis.com
- Video Performance (Code): runs custom JavaScript code
- Channel Data (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
…plus 3 more steps. See the full node list below.
Services it uses
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)
- HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - n8n Form Trigger
n8n-nodes-base.formTrigger - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Edit Fields (Set)
n8n-nodes-base.set
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 —…