Monitor niche YouTube breakouts with DeepSeek and Telegram digests
Quick overview
Description
Quick overview This workflow runs daily to pull YouTube trending videos and keyword-based search results via the YouTube Data API, deduplicates them in an n8n Data Table, scores breakout potential with DeepSeek, and sends threshold-based breakout alerts and a ranked digest to Telegram. How it works Runs every day at 08:00 on a schedule. Fetches the current YouTube “most popular” chart for the configured region and searches YouTube for videos matching your niche keywords from the last 24 hours, then hydrates those search results with video statistics. Merges and deduplicates both result sets by video ID and calculates momentum metrics like views per hour, engagement rate, and a deterministic base score. Skips any video already recorded in an n8n Data Table, then upserts newly found videos into the Data Table as “seen” for future deduplication. Sends the new videos to DeepSeek to generate an LLM breakout score and reason (falling back to the deterministic score if the DeepSeek request fails) and calculates a blended final score. Sends an immediate Telegram message for videos at or above the alert threshold, and aggregates mid-range videos into a ranked daily Telegram digest while ignoring anything below the digest threshold. Setup Create a Google Cloud API key with YouTube Data API v3 enabled and add it to n8n as an HTTP Query Auth credential (parameter name key) used by the YouTube HTTP Request nodes. Create a DeepSeek API key and add it to n8n as an HTTP Header Auth credential (for example, Authorization: Bearer YOUR_DEEPSEEK_KEY). Create a Telegram bot, add Telegram credentials in n8n, and replace YOUR_TELEGRAM_CHAT_ID in both Telegram send steps. Create an n8n Data Table with columns for video_id, title, channel, url, source, first_views, and first_seen, then replace YOUR_DATA_TABLE_ID in both Data Table steps. Update the monitoring values (region code, niche keywords, digest size, and score thresholds) in the workflow’s configuration step before activating. An n8n automation workflow template by Shuo Yuan.
Community Metrics
Author
Shuo Yuan
Platform
web
Pricing model
paid
Categories
- Automation
Tags
- n8n
- workflow
- http-request
- telegram
- code
Capabilities
- 3 nodes