{
  "openruna_format": "flow-graph-v1",
  "title": "Youtube_Automation",
  "slug": "youtube-automation",
  "source_filename": "2000_Wait_Code_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Fetch Latest Videos",
      "name": "Fetch Latest Videos",
      "integration": "youTube",
      "kind": "action"
    },
    {
      "id": "Loop Over Items",
      "name": "Loop Over Items",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "YT Title",
      "name": "YT Title",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Create Description",
      "name": "Create Description",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "2.5FlashPrev",
      "name": "2.5FlashPrev",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "YT Tags",
      "name": "YT Tags",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "3s",
      "name": "3s",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "gettitle",
      "name": "gettitle",
      "integration": "youTube",
      "kind": "action"
    },
    {
      "id": "Set Publish Date",
      "name": "Set Publish Date",
      "integration": "youTube",
      "kind": "action"
    },
    {
      "id": "Every Day",
      "name": "Every Day",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Get Videos to reschedule",
      "name": "Get Videos to reschedule",
      "integration": "youTube",
      "kind": "action"
    },
    {
      "id": "Get video Ids seperated",
      "name": "Get video Ids seperated",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Loop over Video IDs",
      "name": "Loop over Video IDs",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Get Video Data",
      "name": "Get Video Data",
      "integration": "youTube",
      "kind": "action"
    },
    {
      "id": "Return Private Videos",
      "name": "Return Private Videos",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "4s",
      "name": "4s",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Loop over All Videos not Published",
      "name": "Loop over All Videos not Published",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "get video id",
      "name": "get video id",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Remove Duplicates from previous Runs",
      "name": "Remove Duplicates from previous Runs",
      "integration": "removeDuplicates",
      "kind": "logic"
    },
    {
      "id": "new video?",
      "name": "new video?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "getLatestVideoID",
      "name": "getLatestVideoID",
      "integration": "youTube",
      "kind": "action"
    },
    {
      "id": "Get Transcript",
      "name": "Get Transcript",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Adjust Transcript Format",
      "name": "Adjust Transcript Format",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Update Video's Metadata",
      "name": "Update Video's Metadata",
      "integration": "youTube",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "3s",
      "to": "Loop Over Items"
    },
    {
      "from": "4s",
      "to": "Fetch Latest Videos"
    },
    {
      "from": "YT Tags",
      "to": "Update Video's Metadata"
    },
    {
      "from": "gettitle",
      "to": "Set Publish Date"
    },
    {
      "from": "Every Day",
      "to": "Get Videos to reschedule"
    },
    {
      "from": "new video?",
      "to": "getLatestVideoID"
    },
    {
      "from": "get video id",
      "to": "Remove Duplicates from previous Runs"
    },
    {
      "from": "Get Transcript",
      "to": "Adjust Transcript Format"
    },
    {
      "from": "Get Video Data",
      "to": "Loop over Video IDs"
    },
    {
      "from": "Loop Over Items",
      "to": "get video id"
    },
    {
      "from": "Set Publish Date",
      "to": "Loop over All Videos not Published"
    },
    {
      "from": "getLatestVideoID",
      "to": "Get Transcript"
    },
    {
      "from": "Create Description",
      "to": "YT Tags"
    },
    {
      "from": "Create Description",
      "to": "YT Title"
    },
    {
      "from": "Fetch Latest Videos",
      "to": "Loop Over Items"
    },
    {
      "from": "Loop over Video IDs",
      "to": "Return Private Videos"
    },
    {
      "from": "Loop over Video IDs",
      "to": "Get Video Data"
    },
    {
      "from": "Return Private Videos",
      "to": "Loop over All Videos not Published"
    },
    {
      "from": "Get video Ids seperated",
      "to": "Loop over Video IDs"
    },
    {
      "from": "Update Video's Metadata",
      "to": "3s"
    },
    {
      "from": "Adjust Transcript Format",
      "to": "Create Description"
    },
    {
      "from": "Get Videos to reschedule",
      "to": "Get video Ids seperated"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Get Videos to reschedule"
    },
    {
      "from": "Loop over All Videos not Published",
      "to": "4s"
    },
    {
      "from": "Loop over All Videos not Published",
      "to": "gettitle"
    },
    {
      "from": "Remove Duplicates from previous Runs",
      "to": "new video?"
    }
  ]
}