{
  "openruna_format": "flow-graph-v1",
  "title": "AutoClip – Automatically Generate Video Clips and Upload to YouTube",
  "slug": "autoclip-automatically-generate-video-clips-and-upload-to-youtube",
  "source_filename": "1864_Code_Executecommand_Create_Webhook.json",
  "nodes": [
    {
      "id": "Start AutoClip Workflow",
      "name": "Start AutoClip Workflow",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Retrieve Video Background Data",
      "name": "Retrieve Video Background Data",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Retrieve Quote Data",
      "name": "Retrieve Quote Data",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "List Video Background Files",
      "name": "List Video Background Files",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Configure Music Background Folder ID",
      "name": "Configure Music Background Folder ID",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "List Music Background Files",
      "name": "List Music Background Files",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Retrieve Music Background Data",
      "name": "Retrieve Music Background Data",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Merge File Selection Data",
      "name": "Merge File Selection Data",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Select Random Video, Music & Quote",
      "name": "Select Random Video, Music & Quote",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Download Selected Video Background",
      "name": "Download Selected Video Background",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Download Selected Music Background",
      "name": "Download Selected Music Background",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Save Video Background Locally",
      "name": "Save Video Background Locally",
      "integration": "readWriteFile",
      "kind": "action"
    },
    {
      "id": "Save Music Background Locally",
      "name": "Save Music Background Locally",
      "integration": "readWriteFile",
      "kind": "action"
    },
    {
      "id": "Prepare Overlay Text (Quote & Author)",
      "name": "Prepare Overlay Text (Quote & Author)",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Generate Final Video Clip",
      "name": "Generate Final Video Clip",
      "integration": "executeCommand",
      "kind": "action"
    },
    {
      "id": "Initiate YouTube Resumable Upload",
      "name": "Initiate YouTube Resumable Upload",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Read output file",
      "name": "Read output file",
      "integration": "readWriteFile",
      "kind": "action"
    },
    {
      "id": "Upload Video to YouTube",
      "name": "Upload Video to YouTube",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Update Quote Upload Status",
      "name": "Update Quote Upload Status",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Mark Background as Used",
      "name": "Mark Background as Used",
      "integration": "googleSheets",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Read output file",
      "to": "Upload Video to YouTube"
    },
    {
      "from": "Retrieve Quote Data",
      "to": "Merge File Selection Data"
    },
    {
      "from": "Start AutoClip Workflow",
      "to": "Retrieve Quote Data"
    },
    {
      "from": "Start AutoClip Workflow",
      "to": "List Video Background Files"
    },
    {
      "from": "Start AutoClip Workflow",
      "to": "Configure Music Background Folder ID"
    },
    {
      "from": "Upload Video to YouTube",
      "to": "Update Quote Upload Status"
    },
    {
      "from": "Generate Final Video Clip",
      "to": "Initiate YouTube Resumable Upload"
    },
    {
      "from": "Merge File Selection Data",
      "to": "Select Random Video, Music & Quote"
    },
    {
      "from": "Update Quote Upload Status",
      "to": "Mark Background as Used"
    },
    {
      "from": "List Music Background Files",
      "to": "Retrieve Music Background Data"
    },
    {
      "from": "List Video Background Files",
      "to": "Retrieve Video Background Data"
    },
    {
      "from": "Save Music Background Locally",
      "to": "Prepare Overlay Text (Quote & Author)"
    },
    {
      "from": "Save Video Background Locally",
      "to": "Download Selected Music Background"
    },
    {
      "from": "Retrieve Music Background Data",
      "to": "Merge File Selection Data"
    },
    {
      "from": "Retrieve Video Background Data",
      "to": "Merge File Selection Data"
    },
    {
      "from": "Initiate YouTube Resumable Upload",
      "to": "Read output file"
    },
    {
      "from": "Download Selected Music Background",
      "to": "Save Music Background Locally"
    },
    {
      "from": "Download Selected Video Background",
      "to": "Save Video Background Locally"
    },
    {
      "from": "Select Random Video, Music & Quote",
      "to": "Download Selected Video Background"
    },
    {
      "from": "Configure Music Background Folder ID",
      "to": "List Music Background Files"
    },
    {
      "from": "Prepare Overlay Text (Quote & Author)",
      "to": "Generate Final Video Clip"
    }
  ]
}