Transform YouTube Videos into LinkedIn Posts with SearchAPI & OpenAi
Last edited 58 days ago
🎥 YouTube to LinkedIn Poster – n8n Workflow Template
Turn any YouTube video into a high-performing LinkedIn post — automatically.
This AI-powered n8n workflow takes a YouTube video ID, fetches the transcript using SearchAPI.io, and transforms it into a professional, engaging LinkedIn post using OpenAI (via OpenRouter). Customize the writing style, automate your content repurposing, and scale your thought leadership.
⚡ What It Does
-
📥 Accepts a YouTube video ID + preferred writing profile
-
📄 Retrieves transcript via SearchAPI.io
-
🧠 Uses LLM (OpenRouter / GPT-compatible) to generate a polished LinkedIn post
-
✍️ Supports writing style customization (e.g., educational, inspirational, storytelling)
-
🔁 Handles fallback if no transcript is found
📦 What’s Included
-
✅ Webhook-based trigger (compatible with any frontend)
-
✅ YouTube transcript fetcher using SearchAPI.io
-
✅ Conditional logic to handle errors
-
✅ OpenAI content generation node with injected personality prompt
-
✅ Clean text response via webhook
🛠 Requirements
-
🧠 n8n (self-hosted or cloud)
-
🔐 API key for SearchAPI.io
-
🧠 OpenRouter API key (free or paid)
-
🌐 A frontend form (e.g. WordPress + fetch(), Fillout, Postman, etc.)
🚀 Installation Guide
-
Import the Workflow
-
Go to your n8n dashboard
-
Click Import and upload the JSON file
-
-
Configure SearchAPI
-
Sign up at SearchAPI.io
-
Add your API key inside the HTTP Request node labeled Get YouTube Transcript
-
-
Set Up OpenRouter
-
Go to Credentials → Add a new OpenRouter API credential
-
Paste your API key from OpenRouter.ai
-
-
Test with Postman or UI
-
Send a POST to the webhook URL with JSON:
{ "video_id": "T1nX2yDeSzM", "llm_profile": "educational tone" }
-
🧩 Customizing
-
🎨 Change llm_profile to match different tones (e.g., "inspirational", "founder voice", "storyteller")
-
🔗 Integrate output directly into LinkedIn via a social media scheduler API
-
✏️ Edit the prompt in the OpenAI node for different content types (Twitter threads, blog intros)
-
🚨 Add rate limiting or credit logic using WordPress + myCred or n8n queue control
💡 Use Cases
-
Content repurposing agency automating short-form content from videos
-
Personal brand managers scaling 1 → many posts from long-form video
-
Micro-SaaS founders turning webinars, tutorials, and walkthroughs into professional posts
-
YouTube creators expanding audience reach on LinkedIn
🚀 How I Used It in My MicroSaaS
I used this exact workflow as the backend for a lead magnet SaaS tool that converts YouTube videos into LinkedIn posts. With a simple UI and webhook, users paste a video link, choose a tone, and instantly receive a high-quality post they can copy and share. It increased lead generation and engagement while costing nothing in backend dev. Check it out here: Youtube -> LinkedIn Post
The best part? I only used:
-
n8n + Webhook
-
OpenRouter API
-
A WordPress front-end with credit gating
📩 Questions?
DM me on Twitter or reach out via email for setup help or white-label licensing: https://www.linkedin.com/in/gerald-akhidenor-1ab1a45/ or [email protected]
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!





