Skip to main content

Transform YouTube videos into LinkedIn posts with SearchAPI & OpenAi

Workflow preview

Workflow preview
100%
Transform YouTube videos into LinkedIn posts with SearchAPI & OpenAi preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.respondtowebhook, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Gerald Denor.

Original n8n.io source

1.1 Workflow description

Title
Transform YouTube videos into LinkedIn posts with SearchAPI & OpenAi
Workflow name
Transform YouTube videos into LinkedIn posts with SearchAPI & OpenAi

🎥 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

  1. Import the Workflow

    • Go to your n8n dashboard

    • Click Import and upload the JSON file

  2. Configure SearchAPI

    • Sign up at 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

  4. 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

  • SearchAPI.io

  • 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]

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Webhook Trigger

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1

Block 2 - Get YouTube Transcript

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 3 - Check Transcript Exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 4 - Prepare Data for OpenAI

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 5 - Generate LinkedIn Post

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.3

Block 6 - Success Response

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 7 - Error Response - No Transcript

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Transform YouTube videos into LinkedIn posts with SearchAPI & OpenAi
Complexity intermediate
Nodes 10
Categories Content Creation, Multimodal AI
Author Gerald Denor
Published 24 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6397/6397.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Transform YouTube videos into LinkedIn posts with SearchAPI & OpenAi do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.