Templates / Classify YouTube videos & generate email summaries with GPT-4 and Gmail

Classify YouTube videos & generate email summaries with GPT-4 and Gmail

Ready for 3.0

by Kai Hölters · 120 views · created 2025-10-14 · Market Research, AI Summarization

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.

What 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”.

  1. Set Channel IDs (Edit Fields (Set)): sets 1 field: ChannelID
  2. Split Channels (Split Out): splits a list into separate items
  3. Fetch Latest Videos (RSS) (RSS Read): reads an RSS feed
  4. Filter: Published in Last 72h (If): checks a condition and branches into true / false
  5. Get Video Stats (YouTube API) (HTTP Request): calls googleapis.com
  6. Classify by Likes (Code) (Code): runs custom JavaScript code
  7. Branch: Viral (Switch): routes items into 2 branches
  8. Branch: Normal (Switch): routes items into 2 branches
  9. Write Post (Viral) (OpenAI): uses OpenAI
  10. Write Post (Normal) (OpenAI): uses OpenAI

…plus 3 more steps. See the full node list below.

Services it uses

OpenAIGmail

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)

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…

Excerpt from Kai Hölters 's description on n8n.io.

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.