Templates / Detect viral YouTube videos with AI analysis and email reports

Detect viral YouTube videos with AI analysis and email reports

Needs changes

by gclbck · 1,509 views · created 2025-09-08 · Market Research, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 22 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Gmail. It also calls googleapis.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Setup (Edit Fields (Set)): sets 5 fields: query, GoogleAPIkey, daysback…
  2. SearchVideos (HTTP Request): calls googleapis.com
  3. Split Out: splits a list into separate items
  4. Split Out: splits a list into separate items
  5. GetChannelInfo (HTTP Request): calls googleapis.com
  6. GetVidStats (HTTP Request): calls googleapis.com
  7. ChannelInfo (Code): runs custom JavaScript code
  8. VidStats (Code): runs custom JavaScript code
  9. Merge: merges the data from its input branches
  10. Remove Duplicates: removes duplicate items

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

Services it uses

OpenAI Chat ModelGmail

HTTP calls to: googleapis.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (16)

From the author

Analyze YouTube videos for virality with an AI-powered report This workflow automates the discovery and analysis of potentially viral YouTube videos. It searches for recent, popular videos based on a keyword, calculates a unique "Algorithmic Lift Score" to…

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