Classify YouTube videos & generate email summaries with GPT-4 and Gmail
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI and Gmail. It also calls googleapis.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Channel IDs (Edit Fields (Set)): sets 1 field: ChannelID
- Split Channels (Split Out): splits a list into separate items
- Fetch Latest Videos (RSS) (RSS Read): reads an RSS feed
- Filter: Published in Last 72h (If): checks a condition and branches into true / false
- Get Video Stats (YouTube API) (HTTP Request): calls googleapis.com
- Classify by Likes (Code) (Code): runs custom JavaScript code
- Branch: Viral (Switch): routes items into 2 branches
- Branch: Normal (Switch): routes items into 2 branches
- Write Post (Viral) (OpenAI): uses OpenAI
- Write Post (Normal) (OpenAI): uses OpenAI
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - RSS Read
n8n-nodes-base.rssFeedRead - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - OpenAI
@n8n/n8n-nodes-langchain.openAi - Gmail
n8n-nodes-base.gmail
From the author
Classify YouTube Trends and Generate Email Summaries with GPT-4 and Gmail !YouTube Trend Detector !YouTube !OpenAI !n8n !Gmail !SMTP Monitor YouTube channels, fetch stats, classify videos as viral (≥ 1000 likes) or normal, and auto‑generate LinkedIn/email…