π₯ YouTube β LinkedIn Poster β AI-Powered n8n Workflow
# π₯ 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](https://www.searchapi.io/)
- π§ OpenRouter API key (free or paid)
- π A frontend form (e.g. WordPress + fetch(), Fillout, Postman, etc.)
---
## π Installation Guide
1. Import the Workflow
- Go to your n8n dashboard
- Click Import and upload the JSON file
2. Configure SearchAPI
- Sign up at [SearchAPI.io](https://www.searchapi.io/)
- Add your API key inside the HTTP Request node labeled Get YouTube Transcript
3. Set Up OpenRouter
- Go to Credentials β Add a new OpenRouter API credential
- Paste your API key from [OpenRouter.ai](https://openrouter.ai/)
4. Test with Postman or UI
- Send a POST to the webhook URL with JSON:
```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: https://trafficabc.com/youtube-to-linkedin-poster-with-ui/
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 denorgerald@gmail.com