{
  "name": "AI YouTube Shorts Creator 🤖🎞️: Prompt-Based Clipping, Dubbing & Social Upload",
  "nodes": [
    {
      "id": "c6eaa11b-40a5-44c9-a9cd-26d2bc672223",
      "name": "Generate transcript",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -400,
        1648
      ]
    },
    {
      "id": "e72a6e88-61fa-47c0-91db-fff37850a378",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -960,
        1648
      ]
    },
    {
      "id": "2fb35652-576e-452f-9022-e2ae9b4b2fda",
      "name": "Download Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -416,
        1360
      ]
    },
    {
      "id": "4485d551-5405-4368-bd2d-f92e4796da46",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        32,
        1648
      ]
    },
    {
      "id": "b7abbb12-c263-4fe9-9113-376999a0ce3e",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        32,
        1872
      ]
    },
    {
      "id": "a3c1818a-d38d-416e-a74f-a00df63cf8a8",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        176,
        1872
      ]
    },
    {
      "id": "a0a1de1a-fb73-455d-bfe2-dc8274ea198b",
      "name": "Upload file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        320,
        1360
      ]
    },
    {
      "id": "1c2f0692-9d1b-45a4-819c-bcd4640e5827",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -128,
        1360
      ]
    },
    {
      "id": "03e45f79-c8d1-4930-8e5b-3942608f2f52",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        1216
      ],
      "parameters": {
        "width": 448,
        "height": 304,
        "content": "## IMPORTANT Note\nThe file will soon be ready (from 20 to 300 seconds). Until it is ready, attempting to access it will return a 404 error. The file will be available for download only 10 minute"
      }
    },
    {
      "id": "0cbaac74-99ef-479e-b122-76e8d11a1a46",
      "name": "Upload to FTP",
      "type": "n8n-nodes-base.ftp",
      "position": [
        320,
        1184
      ]
    },
    {
      "id": "fb35dcc0-7a3a-429f-ac3e-aaa5c89af00d",
      "name": "Wait 30 sec.",
      "type": "n8n-nodes-base.wait",
      "position": [
        -448,
        2192
      ]
    },
    {
      "id": "8e0960fa-7424-49ae-a558-a78e25483219",
      "name": "Get final video url",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        224,
        2176
      ]
    },
    {
      "id": "dabfce7c-cc91-4e66-97e0-b11a5c523f21",
      "name": "Video Dubbing",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -800,
        2192
      ]
    },
    {
      "id": "60fa701c-8d70-47cf-87a2-189cd7563db2",
      "name": "Get status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -208,
        2192
      ]
    },
    {
      "id": "7483ec75-620a-4ab8-9b4e-69244b681e74",
      "name": "Completed?",
      "type": "n8n-nodes-base.if",
      "position": [
        -32,
        2192
      ]
    },
    {
      "id": "3dcdf09a-107c-4fc9-8552-738481a2578a",
      "name": "Get video file",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        432,
        2176
      ]
    },
    {
      "id": "2b62f3fa-791e-4af2-8e1d-9701a7340efc",
      "name": "Get video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        64,
        1360
      ]
    },
    {
      "id": "ec6bc17d-771c-4007-b763-4716201cf46d",
      "name": "Set video url",
      "type": "n8n-nodes-base.set",
      "position": [
        704,
        1632
      ]
    },
    {
      "id": "c5aadbe7-8a57-4a78-a251-e34e9a1410e5",
      "name": "Output found?",
      "type": "n8n-nodes-base.if",
      "position": [
        384,
        1648
      ]
    },
    {
      "id": "1fafa452-fdf4-4494-a0c7-0f26325a86ae",
      "name": "Upload to FTP server",
      "type": "n8n-nodes-base.ftp",
      "position": [
        720,
        1968
      ]
    },
    {
      "id": "d586ed02-77b8-4e7b-b885-f145e7d601c2",
      "name": "Upload to Postiz",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        720,
        2816
      ]
    },
    {
      "id": "3203edb1-0b5a-4a07-891f-54239174c279",
      "name": "Upload to Instagram",
      "type": "n8n-nodes-postiz.postiz",
      "position": [
        976,
        2816
      ]
    },
    {
      "id": "0c80f760-cf34-4c29-b708-ebbcd42ab55b",
      "name": "Upload to TikTok",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        720,
        2640
      ]
    },
    {
      "id": "1a7debcd-064d-4531-9b69-22e12fb7c212",
      "name": "Upload to Youtube",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        720,
        2480
      ]
    },
    {
      "id": "cf8865fd-241f-4c06-b1eb-2a912a07abe2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        2352
      ],
      "parameters": {
        "width": 544,
        "height": 688,
        "content": "## UPLOAD TO SOCIAL\nGet [Upload-Post API](https://www.upload-post.com/?linkId=lp_144414&sourceId=n3witalia&tenantId=upload-post-app) to share video on TikTok and Youtube\nGet [Postiz API](https://posti"
      }
    },
    {
      "id": "d1f33537-0497-4c8c-ad72-0cc3c5dfb581",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        1216
      ],
      "parameters": {
        "width": 288,
        "height": 304,
        "content": "## RAPIDAPI KEY\nGet and set RapidAPI Key for [Youtube video downloader](https://rapidapi.com/nikzeferis/api/youtube-video-fast-downloader-24-7/playground)"
      }
    },
    {
      "id": "b99d207d-ddb8-4db6-a96c-0b973cbaa58f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        1536
      ],
      "parameters": {
        "width": 272,
        "height": 288,
        "content": "## Y-TRANSCRIPT KEY\nGet [Youtube Transcript API](youtube-transcript.io)"
      }
    },
    {
      "id": "cf1c1bac-a600-4707-ac51-6b0dae47d685",
      "name": "Set params",
      "type": "n8n-nodes-base.set",
      "position": [
        -704,
        1648
      ]
    },
    {
      "id": "776bbde0-c284-45d7-9573-a439f4153da6",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -784,
        1536
      ],
      "parameters": {
        "width": 272,
        "height": 288,
        "content": "## PARAMS\nSet Youtube ID video and prompt (the content you want to search for within the video)"
      }
    },
    {
      "id": "2c153d1f-3c12-4af5-ae0e-66dd483e495a",
      "name": "Get transcript",
      "type": "n8n-nodes-base.set",
      "position": [
        -176,
        1648
      ]
    },
    {
      "id": "1f470689-0871-4cc7-859d-0a79089dcb4d",
      "name": "Upload do Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        720,
        2160
      ]
    },
    {
      "id": "cb82173a-900c-4758-8f1a-8e93ea5f168a",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        1536
      ],
      "parameters": {
        "width": 752,
        "height": 288,
        "content": "## TIMESTAMP EXTRACTOR\nSearch within the video transcript for the content searched for in the set prompt"
      }
    },
    {
      "id": "11180877-c8ff-4ff5-b114-327d08344fef",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -832,
        2096
      ],
      "parameters": {
        "width": 1216,
        "height": 320,
        "content": "## CREATE SHORT VIDEO\nCreate a short video clips from a YouTube video based on specific content requested by the user"
      }
    },
    {
      "id": "7623b1ac-3b45-4b4f-9eab-809bc23a4bf3",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1296,
        912
      ],
      "parameters": {
        "width": 768,
        "height": 592,
        "content": "## AI YouTube Shorts Creator: Prompt-Based Clipping, Dubbing & Social Upload\n\nThis workflow automates the process of creating short video clips from a YouTube video based on specific content requested"
      }
    },
    {
      "id": "8e6c431f-a7b4-4f2a-8b0d-e7716165c4af",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2080,
        768
      ],
      "parameters": {
        "width": 736,
        "height": 736,
        "content": "## MY NEW YOUTUBE CHANNEL\n👉 [Subscribe to my new **YouTube channel**](https://youtube.com/@n3witalia). Here I’ll share videos and Shorts with practical tutorials and **FREE templates for n8n**.\n\n[![im"
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get video": {
      "main": [
        [
          {
            "node": "Upload file",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload to FTP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Completed?": {
      "main": [
        [
          {
            "node": "Get final video url",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 30 sec.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get status": {
      "main": [
        [
          {
            "node": "Completed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set params": {
      "main": [
        [
          {
            "node": "Generate transcript",
            "type": "main",
            "index": 0
          },
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload file": {
      "main": [
        []
      ]
    },
    "Wait 30 sec.": {
      "main": [
        [
          {
            "node": "Get status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Output found?": {
      "main": [
        [
          {
            "node": "Set video url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set video url": {
      "main": [
        [
          {
            "node": "Video Dubbing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video Dubbing": {
      "main": [
        [
          {
            "node": "Wait 30 sec.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get transcript": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get video file": {
      "main": [
        [
          {
            "node": "Upload do Drive",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload to FTP server",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload to Youtube",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload to TikTok",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload to Postiz",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Output found?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Postiz": {
      "main": [
        [
          {
            "node": "Upload to Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Generate transcript": {
      "main": [
        [
          {
            "node": "Get transcript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get final video url": {
      "main": [
        [
          {
            "node": "Get video file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Set params",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}