Block 1 - Loop Over Items
- Type / Role
- n8n-nodes-base.splitInBatches - splitInBatches
- Config choices
- Version 3
This workflow is provided as-is. Please review and test before using in production.
Video explanation This n8n workflow helps you identify trending videos within your niche by detecting outlier videos that significantly outperform a c...
n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.manualtrigger, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.postgres, n8n-nodes-base.youtube, n8n-nodes-base.if, n8n-nodes-base.code
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Leonardo Grigorio.
Original n8n.io sourceThis 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.
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.
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.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Youtube outlier detector (find trending content based on your competitors) |
|---|---|
| Complexity | advanced |
| Nodes | 21 |
| Categories | Market Research |
| Author | Leonardo Grigorio |
| Published | 14 Feb 2025 |
Use the JSON export at /data/workflows/2903/2903.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Video explanation This n8n workflow helps you identify trending videos within your niche by detecting outlier videos that significantly outperform a c...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.