Templates / Youtube outlier detector (find trending content based on your competitors)

Youtube outlier detector (find trending content based on your competitors)

Ready for 3.0

by Leonardo Grigorio ✓ · 8,840 views · created 2025-02-14 · 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.

Nodes used (9)

PostgresYouTube

What it does

Video explanation This n8n workflow helps you identify trending videos within your niche by detecting outlier videos that significantly outperform a channel's average views. It automates the process of monitoring competitor channels, saving time and streamlining content research. Included in the Workflow - Automated Competitor Video Tracking Monitors videos from specified competitor channels, fetching data directly from the YouTube API. - Outlier Detection Based on Channel Averages Compares each video’s performance against the channel’s historical average to identify significant spikes in viewership. - Historical Video Data Management Stores video statistics in a PostgreSQL database, allowing the workflow to only fetch new videos and optimize API usage. - Short Video Filtering Automatically removes short videos based on duration thresholds. - Flexible Video Retrieval Fetches up to 3 months of historical data on the first run and only new videos on subsequent runs. - PostgreSQL Database Integration Includes SQL queries for database setup, video insertion, and performance analysis. - Configurable Outlier Threshold Focuses on videos published within the last two weeks with view counts at least twice the channel's average. - Data Output for Analysis Outputs best-performing videos along with their engagement metrics, making it easier to identify trending topics. Requirements - n8n installed on your machine or server - A valid YouTube Data API key - Access to a PostgreSQL database This workflow is intended for educational and research purposes, helping content creators gain insights into what topics resonate with audiences without manual daily monitoring.

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.