AutomationFlowsAI & RAG › Youtube Video to Ai-powered Auto Blogging and Affiliate Automation

Youtube Video to Ai-powered Auto Blogging and Affiliate Automation

ByAmjid Ali @amjid on n8n.io

Transform your YouTube content into professional blog posts automatically! This n8n template seamlessly converts your YouTube videos into fully-formatted, SEO-optimized WordPress blog posts using AI-powered content generation—all without lifting a finger. 📺 Monitors your YouTube…

Event trigger★★★★☆ complexityAI-powered28 nodesGoogle Gemini ChatRss Feed Read TriggerTool Http RequestHTTP RequestYouTubeOutput Parser StructuredXMLAirtable Tool
AI & RAG Trigger: Event Nodes: 28 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #3714 — we link there as the canonical source.

This workflow follows the Agent → Airtabletool recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "id": "fd3b3303-7a74-4a4e-b9fd-c753c4a7b75e",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "98b188e6-a089-4432-a147-bbac337e054c",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2460,
        540
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1effaf4d-193e-4a0f-995d-01e07ccef574",
      "name": "Get all Posts for AI",
      "type": "n8n-nodes-base.set",
      "position": [
        2160,
        200
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1d981012-449e-47c6-8afa-837f883250a4",
      "name": "RSS Feed Trigger",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        720,
        160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f7a71864-55a6-41eb-afb0-669c1417eb76",
      "name": "affiliate_links",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2640,
        520
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "573576ea-f188-47c4-9709-9e296d35ad02",
      "name": "Get Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3700,
        200
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "8282a77d-5112-4d79-ad5e-be88e854837b",
      "name": "Upload Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3580,
        480
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1aedf15a-0252-4ef0-9f9c-e656f999c028",
      "name": "Update Image Details",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3860,
        480
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "fa6b6529-d86a-4d41-9d9b-3dbc6b1f69c7",
      "name": "Get Details of Video from Youtube",
      "type": "n8n-nodes-base.youTube",
      "position": [
        720,
        440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0995a039-9982-4594-8935-8e30fc6e01ab",
      "name": "EGet Video ID",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        160
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "27634b42-7cc7-4042-a874-218b2050efe5",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3260,
        520
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "02cd4b14-e6af-485f-88fd-76782f98c9f5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fd118204-65ae-415f-b4c3-26a11b0a45f5",
      "name": "Get Post SiteMap",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1580,
        180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "172f87dc-fe3c-4cd6-b0aa-c318d893df10",
      "name": "Conver to JSON",
      "type": "n8n-nodes-base.xml",
      "position": [
        1840,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "369febb4-8527-42f1-ace1-c5a86d51697e",
      "name": "Extract URLs",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1560,
        460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c46e145f-bad1-4f31-af31-9a82a1cc2c69",
      "name": "URL Lists",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1860,
        460
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "19dd686e-91d4-493d-aa5a-17b4d6001694",
      "name": "wp_category",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2800,
        520
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2cb60726-74e4-4293-a9d6-6d5243d29cac",
      "name": "wp_tag",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2940,
        520
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f0053c84-b31d-4f2b-bc80-2aaf3da5ac17",
      "name": "lms",
      "type": "n8n-nodes-base.airtableTool",
      "position": [
        3080,
        540
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "bd81a537-b0c7-4bb0-a711-9b6238737a4d",
      "name": "Technical Blog Writer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2760,
        200
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "fe2a12c2-6dc2-4e02-9171-7af3637055df",
      "name": "Publish Post WP",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4480,
        480
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f288dc11-b5d1-42f1-abe3-ef24d63ac3d0",
      "name": "BlogPost",
      "type": "n8n-nodes-base.code",
      "position": [
        3500,
        200
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b435a345-2508-4b25-a551-0ea6afd44e4b",
      "name": "rename image",
      "type": "n8n-nodes-base.code",
      "position": [
        3920,
        200
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b79da3ed-b1dc-432f-a009-96e954b7fdbd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2360,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8fdb46b0-62d7-4f27-8a31-5db673ab45f3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "03c4526f-ab38-4a51-acbb-2c006e338cd0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3380,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0a74d7ec-61c8-4d87-9bc5-1bebaf4bb6de",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4200,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "99e0eb36-d4ba-4537-80c3-27e00ff09233",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "lms": {
      "ai_tool": [
        [
          {
            "node": "Technical Blog Writer",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "wp_tag": {
      "ai_tool": [
        [
          {
            "node": "Technical Blog Writer",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "BlogPost": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image": {
      "main": [
        [
          {
            "node": "rename image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "URL Lists": {
      "main": [
        [
          {
            "node": "Get all Posts for AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Get Post SiteMap",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "wp_category": {
      "ai_tool": [
        [
          {
            "node": "Technical Blog Writer",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Extract URLs": {
      "main": [
        [
          {
            "node": "URL Lists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image": {
      "main": [
        [
          {
            "node": "Update Image Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "rename image": {
      "main": [
        [
          {
            "node": "Upload Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "EGet Video ID": {
      "main": [
        [
          {
            "node": "Get Details of Video from Youtube",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Conver to JSON": {
      "main": [
        [
          {
            "node": "Extract URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "affiliate_links": {
      "ai_tool": [
        [
          {
            "node": "Technical Blog Writer",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Post SiteMap": {
      "main": [
        [
          {
            "node": "Conver to JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Feed Trigger": {
      "main": [
        [
          {
            "node": "EGet Video ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get all Posts for AI": {
      "main": [
        [
          {
            "node": "Technical Blog Writer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Image Details": {
      "main": [
        [
          {
            "node": "Publish Post WP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Technical Blog Writer": {
      "main": [
        [
          {
            "node": "BlogPost",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Technical Blog Writer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Technical Blog Writer",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Get Details of Video from Youtube": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Transform your YouTube content into professional blog posts automatically! This n8n template seamlessly converts your YouTube videos into fully-formatted, SEO-optimized WordPress blog posts using AI-powered content generation—all without lifting a finger. 📺 Monitors your YouTube…

Source: https://n8n.io/workflows/3714/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Automatically generate SEO-optimized YouTube Titles, Descriptions, Tags & Hashtags – enriched with blog articles, affiliate links, and product recommendations!

Form Trigger, Form, YouTube +7
AI & RAG

This workflow is designed for marketers, content creators, agencies, and solo founders who want to publish long‑form posts with visuals on autopilot using n8n and AI agents. ​

Tool Http Request, Agent, HTTP Request +27
AI & RAG

Hacker News to Video Template - AlexK1919. Uses manualTrigger, hackerNews, splitInBatches, lmChatOpenAi. Event-driven trigger; 48 nodes.

Hacker News, OpenAI Chat, Tool Http Request +11
AI & RAG

It transforms a single text prompt into a fully scripted, visually rich video with AI-generated images and voiceovers, then distributes it across multiple social media platforms. Content Creators & Yo

Google Gemini Chat, Agent, Chain Llm +5
AI & RAG

This workflow automates content syndication and posting to LinkedIn and X/Twitter. It takes existing long-form articles and generates from them engaging social posts optimized for each platform.

XML, HTTP Request, Google Sheets +5