Viral YouTube Research Automation

A Practical Guide to Building & Using It


What This Automation Does (At a High Level)

Once set up, the system:

  • Fetches videos from selected YouTube channels
  • Separates long-form and short-form content
  • Analyzes performance signals (views, likes, growth)
  • Breaks down why content worked (hooks, structure, CTA)
  • Stores everything neatly in Google Sheets
  • Avoids re-analyzing the same videos again

This turns YouTube research from guesswork into a repeatable system.


Step 1: Schedule the Automation

Purpose: Run research automatically, without manual effort.

  • Use a Schedule Trigger
  • Example setup:
    • Frequency: Weekly
    • Day: Sunday
    • Time: 7:00 AM

Why this matters:

  • Weekly cadence captures trends early
  • Prevents over-analyzing daily noise
  • Keeps your dataset consistent over time

Step 2: Define Which Channels to Analyze

Tool: Google Sheets (Channels list)

Create a simple sheet with:

  • Channel name
  • Channel URL
  • Optional status field (Pending / Completed)

Why this matters:

  • Sheets act as your control panel
  • Easy to add/remove competitors
  • Non-technical and scalable

Step 3: Loop Through Channels

Purpose: Analyze multiple creators in one run.

  • Use a loop node to process channels one by one
  • Each loop iteration:
    • Pulls channel data
    • Scrapes videos
    • Runs analysis

Key insight:

  • During development, loops only execute one item
  • Once connected back, the full list runs automatically

Step 4: Scrape YouTube Content

Tool: YouTube Scraper Actor (API-based)

Configuration highlights:

  • Max long-form videos (e.g., 40)
  • Max shorts (e.g., 40)
  • Sort by views
  • Dynamic channel URL

Optional filters:

Why this matters:

  • Sorting by popularity ensures you analyze signals, not noise
  • Limits reduce API costs and improve quality

Step 5: Separate Long-Form & Short-Form Content

Use filters to split:

  • Long-form videos
  • Shorts

Then:

  • Sort each by view count (descending)
  • Limit to top performers (e.g., top 20)

Why this matters:

  • Shorts and long-form follow different psychology
  • Mixing them leads to bad conclusions

Step 6: Analyze Long-Form Videos

What You Analyze

  • Title
  • Thumbnail
  • Performance metrics

What You Skip (Intentionally)

  • Full transcript (optional)

Why:

  • Long transcripts are expensive
  • Titles + thumbnails drive clicks
  • Transcript analysis can be added later if needed

How It Works

  • AI analyzes:
    • Title positioning
    • Thumbnail visual cues
    • Messaging clarity

All outputs are saved into a structured object.


Step 7: Analyze Short-Form Videos (Deeper)

Short-form is where hooks matter most, so analysis goes deeper.

What Gets Extracted

  • Transcript
  • Thumbnail
  • Views, likes, date

What AI Analyzes

  • Hook
  • Body
  • CTA
  • Why the hook worked
  • Emotional and strategic positioning

Example insight:

  • Contrarian hooks
  • Curiosity gaps
  • Clear stance early in the video

This is reusable intelligence, not just data.


Step 8: Merge All Analysis Cleanly

Use a merge node:

  • Combine title analysis
  • Combine image analysis
  • Combine video stats

Use:

  • Combine mode
  • Merge by position

Why this matters:

  • Creates one clean data object per video
  • Avoids overwriting fields
  • Makes Sheets updates reliable

Step 9: Save Everything to Google Sheets

Two databases:

  • Long-form content
  • Short-form content

Key rule:

Result:


Step 10: Use Pinning During Development (Critical)

When testing:

  • Run expensive nodes once
  • Pin their output
  • Iterate freely downstream

Why this matters:

  • Saves API credits
  • Speeds up development
  • Prevents accidental re-scraping

This is one of the most overlooked productivity tricks.


How to Actually Use the Output (Important)

This automation is not just for “analysis”.

You can use the data to:

  • Design better thumbnails
  • Write higher-converting hooks
  • Identify recurring winning angles
  • Train future AI systems on proven patterns
  • Spot content gaps competitors ignore

Advanced use:

  • Feed this data into another AI that suggests video ideas
  • Auto-generate thumbnail prompts
  • Build a personal content strategy engine

A Practical Guide to Building & Using It


What This Automation Does (At a High Level)

Once set up, the system:

  • Fetches videos from selected YouTube channels
  • Separates long-form and short-form content
  • Analyzes performance signals (views, likes, growth)
  • Breaks down why content worked (hooks, structure, CTA)
  • Stores everything neatly in Google Sheets
  • Avoids re-analyzing the same videos again

This turns YouTube research from guesswork into a repeatable system.


Step 1: Schedule the Automation

Purpose: Run research automatically, without manual effort.

  • Use a Schedule Trigger
  • Example setup:
    • Frequency: Weekly
    • Day: Sunday
    • Time: 7:00 AM

Why this matters:

  • Weekly cadence captures trends early
  • Prevents over-analyzing daily noise
  • Keeps your dataset consistent over time

Step 2: Define Which Channels to Analyze

Tool: Google Sheets (Channels list)

Create a simple sheet with:

  • Channel name
  • Channel URL
  • Optional status field (Pending / Completed)

Why this matters:

  • Sheets act as your control panel
  • Easy to add/remove competitors
  • Non-technical and scalable

Step 3: Loop Through Channels

Purpose: Analyze multiple creators in one run.

  • Use a loop node to process channels one by one
  • Each loop iteration:
    • Pulls channel data
    • Scrapes videos
    • Runs analysis

Key insight:

  • During development, loops only execute one item
  • Once connected back, the full list runs automatically

Step 4: Scrape YouTube Content

Tool: YouTube Scraper Actor (API-based)

Configuration highlights:

  • Max long-form videos (e.g., 40)
  • Max shorts (e.g., 40)
  • Sort by views
  • Dynamic channel URL

Optional filters:

Why this matters:

  • Sorting by popularity ensures you analyze signals, not noise
  • Limits reduce API costs and improve quality

Step 5: Separate Long-Form & Short-Form Content

Use filters to split:

  • Long-form videos
  • Shorts

Then:

  • Sort each by view count (descending)
  • Limit to top performers (e.g., top 20)

Why this matters:

  • Shorts and long-form follow different psychology
  • Mixing them leads to bad conclusions

Step 6: Analyze Long-Form Videos

What You Analyze

  • Title
  • Thumbnail
  • Performance metrics

What You Skip (Intentionally)

  • Full transcript (optional)

Why:

  • Long transcripts are expensive
  • Titles + thumbnails drive clicks
  • Transcript analysis can be added later if needed

How It Works

  • AI analyzes:
    • Title positioning
    • Thumbnail visual cues
    • Messaging clarity

All outputs are saved into a structured object.


Step 7: Analyze Short-Form Videos (Deeper)

Short-form is where hooks matter most, so analysis goes deeper.

What Gets Extracted

  • Transcript
  • Thumbnail
  • Views, likes, date

What AI Analyzes

  • Hook
  • Body
  • CTA
  • Why the hook worked
  • Emotional and strategic positioning

Example insight:

  • Contrarian hooks
  • Curiosity gaps
  • Clear stance early in the video

This is reusable intelligence, not just data.


Step 8: Merge All Analysis Cleanly

Use a merge node:

  • Combine title analysis
  • Combine image analysis
  • Combine video stats

Use:

  • Combine mode
  • Merge by position

Why this matters:

  • Creates one clean data object per video
  • Avoids overwriting fields
  • Makes Sheets updates reliable

Step 9: Save Everything to Google Sheets

Two databases:

  • Long-form content
  • Short-form content

Key rule:

Result:


Step 10: Use Pinning During Development (Critical)

When testing:

  • Run expensive nodes once
  • Pin their output
  • Iterate freely downstream

Why this matters:

  • Saves API credits
  • Speeds up development
  • Prevents accidental re-scraping

This is one of the most overlooked productivity tricks.


How to Actually Use the Output (Important)

This automation is not just for “analysis”.

You can use the data to:

  • Design better thumbnails
  • Write higher-converting hooks
  • Identify recurring winning angles
  • Train future AI systems on proven patterns
  • Spot content gaps competitors ignore

Advanced use:

  • Feed this data into another AI that suggests video ideas
  • Auto-generate thumbnail prompts
  • Build a personal content strategy engine
Author

Written By

Vikash Kumar

Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Ask more Questions about this Blog with AI:

Our AI Articles

Learn from our AI Articles to excel in your profession ;)

Complete Guide To Claude Code Agent Teams

Agent Teams are one of the most advanced features inside Claude Code. Instead of using one AI agent to complete...

How To Build Realistic AI Voice Agents With 11Labs + Make.com

How Agent Teams turn Claude Code into a collaborative AI workforce for building complex systems....

100 SECRET CLAUDE PROMPT CODES

Practical Claude prompt systems that improve writing, research, strategy, automation, and workflows....

The Real Claude AI Business Guide for 2026

5 Claude AI business models solving expensive problems businesses already pay for in 2026....

Complete Guide: How To Build A Claude Skill For SEO Content Writing

Reusable Claude workflows that turn generic AI writing into personalized, scalable SEO systems....

Complete Breakdown: How To Build AI Backlink Systems Using Claude Skills + Automation

Complete Breakdown: How To Build AI Backlink Systems Using Claude Skills + Automation...

Claude AI SEO Automation Guide

This AI SEO workflow automates content creation, optimization, publishing, and indexing at scale....

Complete AI Lead Generation Workflow Using Claude AI + ChatGPT

AI workflow to automate lead generation, outreach emails, and scalable client acquisition....

Use Amazon Bedrock To Try Claude, OpenAI, DeepSeek, And More

Beginner guide to using Amazon Bedrock with Claude, OpenAI, DeepSeek, APIs, and AI workflows....

Build n8n Automations With Claude Code

This guide shows how to build AI automation systems using Cursor, Claude Code, n8n, MCP, and agents....
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.