AutomationMart
Home/Browse/YouTube Videos to Viral X Threads by Keywords (using Gemini & Claude)
n8n

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

n8nn8n19 modulesv1.0
Google SheetsLinkedInInstagramGemini

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 social content from proven video sources. --- What problem does it solve? Finding viral content ideas and writing engaging threads is time-consuming and hit-or-miss. This workflow automates the entire process: discovers high-performing YouTube vi

At a glance

YouTube Videos to Viral X Threads by Keywords (using Gemini & Claude) is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Sheets, LinkedIn, Instagram, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Sheets, LinkedIn, Instagram, Gemini
Modules
19
Price
Free
Version
v1.0
YouTube Videos to Viral X Threads by Keywords (using Gemini & Claude) workflow diagram

About this workflow

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 social content from proven video sources. --- What problem does it solve? Finding viral content ideas and writing engaging threads is time-consuming and hit-or-miss. This workflow automates the entire process: discovers high-performing YouTube videos based on your keywords, extracts key insights using AI, and generates multiple viral thread variations using proven patterns from 12.5M+ view threads. --- How it works | # | Node | Purpose | |---|------|---------| | 1 | Form Trigger | Captures your keyword, target audience, and content type preferences. | | 2 | YouTube Video Search | Finds recent videos (April 2025+) matching your keyword, sorted by view count. | | 3 | Get Video Statistics | Fetches detailed metrics (views, engagement) for discovered videos. | | 4 | Filter High-Performers | Keeps only videos with 100K+ views and excludes YouTube Shorts. | | 5 | Top 5 Selection | Limits to the best 2 videos to focus on proven winners. | | 6 | Save Video Candidates | Logs discovered videos to Google Sheets for manual approval. | | 7 | Wait & Check Approval | Pauses 30 seconds, then checks which videos you marked "Yes" for thread generation. | | 8 | Video Analysis (Gemini) | Uses Google's Gemini AI to extract key insights, tools, and strategies from approved videos. | | 9 | Thread Generation (Claude) | Applies viral thread database patterns to create 3 distinct thread variations using Claude Sonnet 4. | | 10 | Structure & Save Threads | Formats the generated threads and saves them back to Google Sheets for review and posting. | --- Setup steps 1. Import & configure credentials Import the JSON workflow into n8n Add your YouTube Data API key (get from Google Cloud Console) Add your Google Gemini API key (get from Google AI Studio) Connect Anthropic API for Claude access Set up Google Sheets OAuth2 credential 2. Create your tracking spreadsheet The workflow auto-creates a sheet with columns: Keyword, Youtube video title, Description, Video URL, Turn into thread?, Thread 1, Thread 2, Thread 3 You'll manually review and mark videos "Yes" in the Turn into thread? column 3. Configure the viral thread database The workflow includes proven patterns from threads with 12.5M+ views Adjust the target audience and content style in the AI prompts if needed 4. Test the workflow Submit the form with a keyword like "AI automation" Check that videos appear in your Google Sheet Mark one "Yes" and verify threads are generated --- Resources YouTube Data API Documentation Google Gemini AI Platform Anthropic Claude API n8n Documentation Viral Thread Generator Demo --- Extending the workflow Auto-posting – Connect X API to automatically post generated threads Competitor tracking – Monitor specific channels for new content opportunities Multi-platform – Adapt threads for LinkedIn, Instagram, or TikTok formats Performance tracking – Log thread performance back to sheets for optimization Webhook triggers – Set up Zapier integration for form submissions from other tools Transform proven YouTube content into viral social media threads—systematically and at scale.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Automated book summarization with DeepSeek AI, Qdrant Vector DB & Google Drive

AI Book Summarizer with Vector Search – n8n Automation Overview This n8n workflow automates the process of summarizing uploaded books from Google Drive using vector databases and LLMs. It uses Cohere for embeddings, Qdrant for storage and retrieval, and DeepSeek or your preferred LLM for summarization and Q\&A. Designed for researchers, students, and productivity enthusiasts! Result Example --- Problem 🛠️ ⏳ Reading full books or papers to extract core ideas can take hours. 🧠 Manually summarizing

Free

Research Kuaishou creator videos from a keyword with JustOneAPI

Quick overview Use this n8n workflow template to search Kuaishou creators by keyword and get their published video list with JustOneAPI.This template is for creator research teams, marketing teams, creator operations teams, analysts, and automation builders who want to turn a Kuaishou keyword into a structured list of creator videos inside n8n. How it works 1. The workflow starts with a single configuration node where you add your JustOneAPI token and the keyword you want to research. 2. It then

Free

Upload a new user into LinkedIn Matched Audiences from a new lead in Insightly CRM

This template regularly checks for new leads in Insightly CRM and uses the retrieved information to upload new users into LinkedIn Matched Audiences. For the best performance, your contacts should have these fields filled out: 1) First name 2) Last name 3) Email Having the contact associated with company information will also improve match rates on LinkedIn, however it's not mandatory for this template to work. The template is scheduled to run every 15 minutes. You can change the schedule aft

Free

✍️ AI agent to create Linkedin posts for blog promotion with GPT-4o

Tags: Automation, AI, Marketing, Content Creation Context I’m a Supply Chain Data Scientist and content creator who writes regularly about data-driven optimization, logistics, and sustainability. Promoting blog articles on LinkedIn used to be a manual task — until I decided to automate it with N8N and GPT-4o. This workflow lets you automatically extract blog posts, clean the content, and generate a professional LinkedIn post using an AI Agent powered by GPT-4o — all in one seamless automation. &

Free

Multi-user Telegram bot to summarize & repurpose YouTube videos with GPT-4o

Who’s it for This workflow is for content creators, marketers, educators, or anyone who wants to instantly summarize YouTube videos and repurpose them into different formats (LinkedIn post, tweet, etc.) via a simple Telegram chatbot. ⚙️ How it works This n8n automation listens for messages in Telegram. If the message contains a YouTube link, it: - Extracts the video ID - Fetches the video transcript using RapidAPI - Cleans the transcript of any special characters - Sends it to OpenAI to generate

Free

Organize your YouTube video database with Google Sheets

Effortlessly manage and track your YouTube video collection using Google Sheets. Save time with a structured, easy-to-access database, making it simple to organize, find, and analyze your content for improved efficiency and performance.

Free

Scrape books from URL with Dumpling AI, clean HTML, save to Sheets, email as CSV

Who is this for? This workflow is ideal for virtual assistants, researchers, developers, automation specialists, and data analysts who need to regularly extract and organize structured product information (like books) from a website. It’s especially useful for those working with catalog-based websites who want to automate extraction and delivery of clean, sorted data. --- 🧩 What problem is this solving? Manually copying product listings like book titles and prices from a website into a spreadshe

Free

Find local GMB leads with 1-star reviews using Apify and Google Sheets

Overview Automatically scrapes Google My Business listings using Apify's Google Maps Scraper, filters results to businesses with 1-star reviews, and exports structured lead data into a dedicated Google Sheet tab per run. Ideal for agencies and freelancers identifying local businesses with poor online reputations — potential leads for reputation management or review response services. How it works 1. Fill in the built-in form with a business type (e.g. "plumber") and location (e.g. "Miami, FL") 2

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free