Templates / YouTube Videos to Viral X Threads by Keywords (using Gemini & Claude)

YouTube Videos to Viral X Threads by Keywords (using Gemini & Claude)

Needs changes

by Matty Reed ✓ · 257 views · created 2025-06-16 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when someone submits an n8n form. Along the way it connects Google Sheets and Anthropic Chat Model.

How it runs

Trigger: When someone submits an n8n form.

  1. Key Word + Audience + Tone (Edit Fields (Set)): sets or maps fields
  2. Keys: YT + Gemini (Edit Fields (Set)): sets or maps fields
  3. Get videos (HTTP Request): calls an HTTP API
  4. Get statistics (HTTP Request): calls an HTTP API
  5. Split Batch (Code): runs custom JavaScript code
  6. Filter: keeps only the items that match a condition
  7. Top 5 Videos (Limit): keeps the first few items
  8. Add to Google Sheets (Google Sheets): uses Google Sheets
  9. Wait: pauses before continuing
  10. Check if 'Yes' (Google Sheets): uses Google Sheets

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

Services it uses

Google SheetsAnthropic Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Create Threads (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Create Threads (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

Who is this for? Content creators, marketers, and social media managers who want to turn high-performing YouTube videos into viral X (Twitter) threads using keywords (without manual research). Perfect for anyone looking to systematically create engaging…

Excerpt from Matty Reed'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.