Skip to main content

Automated YouTube video to blog post conversion with Gemini AI transcription

Workflow preview

Workflow preview
100%
Automated YouTube video to blog post conversion with Gemini AI transcription preview
Open on n8n.io

Important notice

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

1. Workflow Overview

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

Best for

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

Tools used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.executecommand, n8n-nodes-base.readwritefile, n8n-nodes-base.respondtowebhook, n8n-nodes-base.webhook, @n8n/n8n-nodes-langchain.googlegemini

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automated YouTube video to blog post conversion with Gemini AI transcription
Workflow name
Automated YouTube video to blog post conversion with Gemini AI transcription

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

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

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 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 2 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 3 - Structured Output Parser

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

Block 4 - Download the Youtube Audio

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

Block 5 - Read Output MP3 Binary

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

Block 6 - Respond The Blog Post

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

Block 7 - Get Youtube Url

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

Block 8 - Transcribe a recording

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 9 - Add Video Url to Output

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

Block 10 - Sticky Note

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

Block 11 - Get Time

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

Block 12 - Sticky Note1

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

3. Summary Table

Workflow Automated YouTube video to blog post conversion with Gemini AI transcription
Complexity intermediate
Nodes 12
Categories Content Creation, Multimodal AI
Author Atta
Published 29 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8037/8037.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 Automated YouTube video to blog post conversion with Gemini AI transcription do?

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

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.