AutomationFlowsAI & RAG › Create Ai-powered Youtube Shorts with Openai, Elevenlabs, 0codekit!

Create Ai-powered Youtube Shorts with Openai, Elevenlabs, 0codekit!

Bydada @lin on n8n.io

This workflow automates the creation of engaging YouTube Shorts by leveraging AI tools to generate scripts, audio, images, and videos, then compiles them into a final video ready for upload. It uses OpenAI for script and image prompt generation, ElevenLabs for text-to-speech,…

Event trigger★★★★☆ complexityAI-powered21 nodesOpenAIHTTP Request
AI & RAG Trigger: Event Nodes: 21 Complexity: ★★★★☆ AI nodes: yes Added:

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

This workflow follows the HTTP Request → OpenAI 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
{
  "id": "d4cDlcjQgJO0bSKI",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "n8n_YouTube Shorts Automation",
  "tags": [],
  "nodes": [
    {
      "id": "a140b342-de74-4b38-bc71-d9e494a035db",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -400,
        -140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fd68c78a-d46b-45b8-aef8-259c869eeea3",
      "name": "Ideator",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -220,
        -140
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "cc917d8f-3fc0-46b6-ae4c-6b9a1c5d867e",
      "name": "Script",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        -140
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2944eeb0-9c9a-45fe-b328-6dc3e55d8b33",
      "name": "Script Generator",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        -140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "cacd3373-0fcb-46e2-8f4b-a4711a96de0d",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        480,
        -140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5269c0ec-3ee9-4e12-a51b-028f414c4f50",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        640,
        -140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b59308c3-4b55-48eb-a908-65021dce2e7c",
      "name": "Image Prompter",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        860,
        -140
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "46f029b5-8913-4ebb-bc59-b99fc896cff7",
      "name": "Request Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1220,
        -140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "48c5fba6-08d9-4095-b8ac-030a95dd8a31",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1440,
        -140
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "bc429f9c-0f25-472c-b993-3507e39c3cdf",
      "name": "Get Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        420,
        160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "fdf07b6d-3795-418e-a7c8-fcd19c9653dd",
      "name": "Request Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e1005f45-9465-485e-9d61-873ab806533e",
      "name": "Wait for Video",
      "type": "n8n-nodes-base.wait",
      "position": [
        820,
        160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e35c8e02-2bbe-472d-acbd-4d1e8130bcd0",
      "name": "Get Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        980,
        160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "027208ed-8c85-42b4-bb98-33b4c02a3ffb",
      "name": "Upload to Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        20,
        100
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "cbc23621-45c1-43f5-a0f6-765fe55095a5",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1140,
        160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "49553312-19d2-4ffa-bf25-9503f231fb22",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        580,
        400
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "6f981adc-977b-4929-9cd6-78ce9d7f1d66",
      "name": "Create Editor JSON",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        400
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5b287abd-f108-4de0-822e-c9db50b502bd",
      "name": "Set JSON Variable",
      "type": "n8n-nodes-base.set",
      "position": [
        980,
        400
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c6d33e61-9936-4235-9a3d-e100a9931540",
      "name": "Editor",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1160,
        400
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "46a98c3b-12b4-4bbe-a25f-77f25990841b",
      "name": "Rendering",
      "type": "n8n-nodes-base.wait",
      "position": [
        1340,
        400
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ca5df53a-4f16-4edc-a212-bf5b5e652ba6",
      "name": "Get Final Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1500,
        400
      ],
      "parameters": {},
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "4fb39a41-15b4-4547-bb41-07f2f5063f22",
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Create Editor JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Editor": {
      "main": [
        [
          {
            "node": "Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script": {
      "main": [
        [
          {
            "node": "Script Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ideator": {
      "main": [
        [
          {
            "node": "Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image": {
      "main": [
        [
          {
            "node": "Request Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rendering": {
      "main": [
        [
          {
            "node": "Get Final Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Image Prompter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Image": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Video": {
      "main": [
        [
          {
            "node": "Wait for Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Prompter": {
      "main": [
        [
          {
            "node": "Request Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Video": {
      "main": [
        [
          {
            "node": "Get Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script Generator": {
      "main": [
        [
          {
            "node": "Upload to Cloudinary",
            "type": "main",
            "index": 0
          },
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set JSON Variable": {
      "main": [
        [
          {
            "node": "Editor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Editor JSON": {
      "main": [
        [
          {
            "node": "Set JSON Variable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Cloudinary": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "Ideator",
            "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

This workflow automates the creation of engaging YouTube Shorts by leveraging AI tools to generate scripts, audio, images, and videos, then compiles them into a final video ready for upload. It uses OpenAI for script and image prompt generation, ElevenLabs for text-to-speech,…

Source: https://n8n.io/workflows/3584/ — 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

Ask questions like “How much did I spend on food last month?” and get instant answers from your financial data — directly in Telegram.

Telegram Trigger, OpenAI, Google Sheets +2
AI & RAG

The Problem That it Solves

Google Drive Trigger, OpenAI, Google Drive +5
AI & RAG

This intelligent email automation workflow helps you maximize engagement through domain-based outreach. It utilizes AI-powered personalization and strategic follow-ups to increase response rates. The

Gmail, HTTP Request, Google Sheets +1
AI & RAG

Note: Now includes an Apify alternative for Rapid API (Some users can't create new accounts on Rapid API, so I have added an alternative for you. But immediately you are able to get access to Rapid AP

Form Trigger, Google Sheets Trigger, OpenAI +2
AI & RAG

Scrape ads – Pulls Facebook Ad Library data for "ai automation" keywords using Apify Filter & sort – Filters ads by page likes (>1,000) and separates into videos, images, and text ads Analyze creat

HTTP Request, Google Drive, OpenAI +3