{
  "name": "AI video automation engine - generate & publish YT shorts with Veo-3 or Sora 2",
  "nodes": [
    {
      "id": "130ac234-cca4-4132-a873-0820af0c2d05",
      "name": "Upload a video",
      "type": "n8n-nodes-base.youTube",
      "position": [
        1040,
        240
      ]
    },
    {
      "id": "1888fad4-2fc8-4f51-a124-8bbc4ed70259",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -384,
        -496
      ]
    },
    {
      "id": "8702f7f9-6b1d-4e51-b57e-30e17018b231",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        256,
        -224
      ]
    },
    {
      "id": "4e0118a3-b4cf-4a33-90b8-b54708eb5280",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        448,
        -224
      ]
    },
    {
      "id": "ecf32d87-4004-4a9f-a3d0-3fdb3241c93e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        144
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f9852d31-1952-4948-8a75-1c81696c0056",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -208
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a5dd9b04-b7bf-4e9e-86f7-17d9e4bb8e8f",
      "name": "Video Idea",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        64,
        -496
      ]
    },
    {
      "id": "a2d347e2-4d3d-4b57-8f39-e14eb2841fd6",
      "name": "Prompt & Text Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        -496
      ]
    },
    {
      "id": "4997627b-db3b-49b6-aa0a-12567acdabd3",
      "name": "Start Videogeneration",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        656,
        -496
      ]
    },
    {
      "id": "62955f29-314a-4f4b-ab99-de83c2717409",
      "name": "Get Videogeneration",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1072,
        -560
      ]
    },
    {
      "id": "40988b99-7ce0-419c-b997-7d7f5d89ce69",
      "name": "Videogeneration finished",
      "type": "n8n-nodes-base.if",
      "position": [
        1296,
        -496
      ]
    },
    {
      "id": "46552659-9690-4ed8-8fbc-a2324521abc9",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        -672
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5da38c28-2a63-4621-8811-b521fbe934e7",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        576,
        -720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "19995350-5b5b-4acc-9f64-bbb1cef5a28a",
      "name": "Download Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1568,
        -432
      ]
    },
    {
      "id": "d25d394b-d1d0-4aeb-9c1b-f8813533ce10",
      "name": "Write Video on Disk",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        1792,
        -432
      ]
    },
    {
      "id": "79789f3d-7091-4d3b-ab82-833297467084",
      "name": "Edit Video",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        2016,
        -432
      ]
    },
    {
      "id": "f72f6953-78c3-4056-aeca-829559d77c72",
      "name": "Read finished Video",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        768,
        -64
      ]
    },
    {
      "id": "d9a84004-1034-40f6-9d10-cae39aa8f9df",
      "name": "Send Notification",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1072,
        -96
      ]
    },
    {
      "id": "23b4268c-918f-4c3f-a0ef-7cc074af4f5a",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1744,
        -720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "908c65dc-277b-4921-bba6-b25cf038f5c0",
      "name": "Filenames + topic",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        -496
      ]
    },
    {
      "id": "502395a5-5aca-4e99-aae5-91f68ffa0edc",
      "name": "Wait until Videogeneration",
      "type": "n8n-nodes-base.wait",
      "position": [
        848,
        -496
      ]
    }
  ],
  "connections": {
    "Edit Video": {
      "main": [
        [
          {
            "node": "Read finished Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video Idea": {
      "main": [
        [
          {
            "node": "Prompt & Text Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "Write Video on Disk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload a video": {
      "main": [
        []
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Filenames + topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filenames + topic": {
      "main": [
        [
          {
            "node": "Video Idea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Videogeneration": {
      "main": [
        [
          {
            "node": "Videogeneration finished",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prompt & Text Agent": {
      "main": [
        [
          {
            "node": "Start Videogeneration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read finished Video": {
      "main": [
        [
          {
            "node": "Send Notification",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload a video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Video on Disk": {
      "main": [
        [
          {
            "node": "Edit Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Videogeneration": {
      "main": [
        [
          {
            "node": "Wait until Videogeneration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Prompt & Text Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Videogeneration finished": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait until Videogeneration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Prompt & Text Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Wait until Videogeneration": {
      "main": [
        [
          {
            "node": "Get Videogeneration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}