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.
📥 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
✅ 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
🧠 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.)
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"
}
🎨 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
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
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
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]