{
  "name": "Create Kling 2.6 ad videos and post them to YouTube using the YouTube API",
  "nodes": [
    {
      "id": "e89866b5-0a0c-45ff-8c2f-baf7cc4a8fcc",
      "name": "Store Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        192,
        -80
      ]
    },
    {
      "id": "5f743db9-9553-4a76-94e8-c4d44e0b3257",
      "name": "Type Prompt",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -16,
        -384
      ]
    },
    {
      "id": "0d4d56e8-3208-49d4-be7c-4a3981591484",
      "name": "Wait 5 mins",
      "type": "n8n-nodes-base.wait",
      "position": [
        400,
        -80
      ]
    },
    {
      "id": "cc0b40af-443e-43d2-988a-7645f4bb887a",
      "name": "Structured Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        128,
        368
      ]
    },
    {
      "id": "6a31be71-837a-4840-8271-6c9f2361ead7",
      "name": "AI Brain",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -16,
        368
      ]
    },
    {
      "id": "9261c0e5-70c0-4c2b-9415-00c30046e61e",
      "name": "Get Keywords",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        192
      ]
    },
    {
      "id": "ac9cd04c-9c7c-4c9d-a8f3-7241cb0326cf",
      "name": "YT Video SEO",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -16,
        192
      ]
    },
    {
      "id": "d3289ed3-48de-45bb-a628-a9618d5b7fc7",
      "name": "AI_Brain",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        272,
        -224
      ]
    },
    {
      "id": "20d8ab84-55f5-402e-b3ed-4446060f0cca",
      "name": "Post on YouTube",
      "type": "n8n-nodes-base.youTube",
      "position": [
        400,
        528
      ]
    },
    {
      "id": "edff2134-abaf-4572-8848-68d12f22c123",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        -224
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "df6c090c-d615-469e-ae86-fe831fb11a37",
      "name": "Fetch Video Credentials",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -16,
        528
      ]
    },
    {
      "id": "5c9df170-2f2b-43be-a96f-568431ce7c6c",
      "name": "Videography",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        272,
        -384
      ]
    },
    {
      "id": "5439bbcf-60ca-48a0-9953-da119bf17438",
      "name": "Download Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        192,
        528
      ]
    },
    {
      "id": "dc80323e-0ede-438d-a3f1-9493533dc7d6",
      "name": "Make FAL.AI Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -16,
        -80
      ]
    }
  ],
  "connections": {
    "AI Brain": {
      "ai_languageModel": [
        [
          {
            "node": "YT Video SEO",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI_Brain": {
      "ai_languageModel": [
        [
          {
            "node": "Videography",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Store Data": {
      "main": [
        [
          {
            "node": "Wait 5 mins",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Type Prompt": {
      "main": [
        [
          {
            "node": "Videography",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Videography": {
      "main": [
        [
          {
            "node": "Make FAL.AI Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 5 mins": {
      "main": [
        [
          {
            "node": "YT Video SEO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Keywords": {
      "main": [
        [
          {
            "node": "Fetch Video Credentials",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "YT Video SEO": {
      "main": [
        [
          {
            "node": "Get Keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "Post on YouTube",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post on YouTube": {
      "main": [
        []
      ]
    },
    "Structured Output": {
      "ai_outputParser": [
        [
          {
            "node": "YT Video SEO",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Make FAL.AI Request": {
      "main": [
        [
          {
            "node": "Store Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Video Credentials": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}