Automated YouTube Video to Blog Post Conversion with Gemini AI Transcription

Go to Workflow
0 views
Built by Atta Atta
Created on June 05, 2026

Description

This workflow automatically turns any YouTube video into a structured blog post with Gemini AI. By sending a simple POST request with a YouTube URL to a webhook, it downloads the video’s audio, transcribes the content, and generates a blog-ready article with a title, description, tags, and category. The final result, along with the full transcript and original video URL, is delivered to your chosen webhook or CMS.

How it works:
The workflow handles the entire process of transforming YouTube videos into complete blog posts using Gemini AI transcription and structured text generation. Once triggered, it:
Downloads the video’s audio
Transcribes the spoken content into text
Generates a blog post in the same language as the video’s original language
Creates:
A clear and engaging title
A short description
Suggested category and tags
The full transcript of the video
The original YouTube video URL

This makes it easy to repurpose video content into publish-ready articles in minutes.

This template is ideal for content creators, marketers, educators, and bloggers who want to quickly turn video content into written posts without manual transcription or editing.

Setup Instructions
Install yt-dlp on your local machine or server where n8n runs. This is required to download YouTube audio.
Get a Google Gemini API key and configure it in your AI nodes.
Webhook Input Configuration:
Endpoint: The workflow starts with a Webhook Trigger.
Method: POST
Example Request Body:
{
"videoUrl": "https://www.youtube.com/watch?v=lW5xEm7iSXk"
}

Configure Output Webhook: Add your target endpoint in the last node where the blog post JSON is sent. This could be your CMS, a Notion database, or another integration.

Customization Guidance
Writing Style:** Update the AI Agent’s prompt to adjust tone (e.g., casual, professional, SEO-optimized).
Metadata:** Modify how categories and tags are generated to fit your website’s taxonomy.
Integration:** Swap the final webhook with WordPress, Ghost, Notion, or Slack to fit your publishing workflow.
Transcript Handling:** Save the full transcript separately if you also want searchable video archives.

Nodes Used (4)

AI Agent
@n8n/n8n-nodes-langchain.agent
Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured