{
  "name": "Automated Google Drive to Facebook Ads: one-click video marketing workflow",
  "nodes": [
    {
      "id": "39f9d135-0594-483d-bb62-c3e7bd355ba6",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "4439237c-49fb-4864-ba9e-09341136f326",
      "name": "List Drive Videos",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        200,
        0
      ]
    },
    {
      "id": "1214fa7b-8768-46c8-bd44-e35e58ae7bc4",
      "name": "Download Video",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        400,
        0
      ]
    },
    {
      "id": "5a08b369-b001-4c7d-a839-1f035c04fed2",
      "name": "Upload Video to FB",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        600,
        0
      ]
    },
    {
      "id": "b00251d7-db53-44d0-8c9b-6c461208e51a",
      "name": "Create Ad Creative",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        800,
        0
      ]
    },
    {
      "id": "5fbd0846-cda3-49fa-8b0b-f5fda2198ce2",
      "name": "Extract Video ID",
      "type": "n8n-nodes-base.function",
      "position": [
        720,
        180
      ]
    },
    {
      "id": "376af680-b958-4f28-bb46-e278974badad",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -200
      ],
      "parameters": {
        "width": 460,
        "height": 120,
        "content": "Automatically fetches all MP4 videos from a Google Drive folder, downloads each video, uploads it to Facebook as an ad video, and creates an ad creative using the uploaded video."
      }
    },
    {
      "id": "939f6448-9c5a-4be6-9138-eacd7588668b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        160
      ],
      "parameters": {
        "width": 150,
        "height": 80,
        "content": "Starts the workflow manually"
      }
    },
    {
      "id": "d272eedd-0871-43a7-baa6-c5f3249d0f8b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        160
      ],
      "parameters": {
        "width": 150,
        "height": 80,
        "content": "Fetches video files (MP4) from Google Drive"
      }
    },
    {
      "id": "f89e6cf7-f352-4463-a59f-cb690e571ee4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        160
      ],
      "parameters": {
        "width": 150,
        "height": 80,
        "content": "Downloads the selected video"
      }
    },
    {
      "id": "e71a87a8-816f-4ec3-95f1-84dc7e53a1c2",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        160
      ],
      "parameters": {
        "width": 150,
        "height": 80,
        "content": "Uploads video to Facebook Ad Account"
      }
    },
    {
      "id": "b5c42829-5e8c-4693-aa4d-005eac224ca0",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        380
      ],
      "parameters": {
        "width": 210,
        "height": 80,
        "content": "Prepares ID and Ad Account/Page info"
      }
    },
    {
      "id": "3125893f-bf28-4472-96ce-dcab1726a0b2",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        840,
        160
      ],
      "parameters": {
        "width": 170,
        "height": 80,
        "content": "Creates the ad creative using uploaded video"
      }
    }
  ],
  "connections": {
    "Download Video": {
      "main": [
        [
          {
            "node": "Upload Video to FB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "List Drive Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Video ID": {
      "main": [
        [
          {
            "node": "Create Ad Creative",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Drive Videos": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video to FB": {
      "main": [
        [
          {
            "node": "Extract Video ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}