Find weekly breakout YouTube videos with Apify, OpenAI, Sheets and Slack
UnknownWhat this workflow does
This AI workflow has 16 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI, Slack and Apify (community).
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- 1. Set your niche searches (Edit Fields (Set)): sets 9 fields: searchQueries, country, uploadDate…
- Build Actor Input from Settings (Code): runs custom JavaScript code
- 2. Search YouTube with Apify (Apify): run actor and get dataset (actors)
- Read Logged Video IDs (Google Sheets): uses Google Sheets
- Score New Breakouts (Code): runs custom JavaScript code
- New Breakouts Found? (If): checks a condition and branches into true / false
- 3. Group Breakouts into Angles with OpenAI (OpenAI): response (text)
- Check Angles and Build Sheet Rows (Code): runs custom JavaScript code
- AI Angles Valid? (If): checks a condition and branches into true / false
- 4. Log Breakouts to Google Sheets (Google Sheets): append or update
…plus 2 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in 2. Search YouTube with Apify).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Apify
@apify/n8n-nodes-apify.apify - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - OpenAI
@n8n/n8n-nodes-langchain.openAi - Slack
n8n-nodes-base.slack
From the author
Find the recently uploaded YouTube videos in your niche that are getting unusually many views, every week, without a YouTube Data API key. This template searches YouTube with the FetchCat YouTube Search Results Scraper on Apify. It scores each video by views…