{
  "name": "Automate video story publishing to Facebook Page using Google Drive and Sheets",
  "nodes": [
    {
      "id": "6610905b-a452-4271-b201-c78efb25371c",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1664,
        96
      ]
    },
    {
      "id": "c0ba59ab-53b3-441a-a830-775dde0f4b41",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1344,
        416
      ]
    },
    {
      "id": "5e527ed0-ddc1-450a-b655-127954c89fbb",
      "name": "info",
      "type": "n8n-nodes-base.set",
      "position": [
        -1440,
        96
      ]
    },
    {
      "id": "d441d79f-4dcf-4142-8397-b433a5f8bf38",
      "name": "Search files and folders",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1376,
        -256
      ]
    },
    {
      "id": "6a4a9d0e-6e90-409e-9d75-2666edaad284",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1664,
        -256
      ]
    },
    {
      "id": "8242c54c-0100-40ab-9ef3-10eee0587e40",
      "name": "Append or update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1024,
        -256
      ]
    },
    {
      "id": "0e173c5f-d33a-4b6e-ba29-89b815c1e26c",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -1040,
        96
      ]
    },
    {
      "id": "48727079-929a-49ec-9370-a327609c3d94",
      "name": "Step 1: Initialize session",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1648,
        416
      ]
    },
    {
      "id": "5a0bf363-f623-4010-be5c-430fb107d814",
      "name": "Set to the total size in bytes",
      "type": "n8n-nodes-base.code",
      "position": [
        -1040,
        416
      ]
    },
    {
      "id": "49bcfba4-e00b-4297-8ce8-92418531eb34",
      "name": "Step 2: Upload the stored file",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1680,
        656
      ]
    },
    {
      "id": "d2e56376-e073-4a69-92be-002690c363c7",
      "name": "Step 3. Post video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1456,
        656
      ]
    },
    {
      "id": "4e5360d8-184b-42c7-b21c-6179ede6f2ff",
      "name": "Get upload status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1264,
        656
      ]
    },
    {
      "id": "3d0876ac-b2e2-4813-862d-c1f544482787",
      "name": "Update upload status in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1056,
        656
      ]
    },
    {
      "id": "139aa6d4-a7fb-49e8-afa4-2b83a1c2937d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2352,
        -304
      ],
      "parameters": {
        "width": 1536,
        "height": 272,
        "content": "## Automated Google Drive Video List Update to Google Sheet\n\nThis workflow is designed to **periodically search for new MP4 video files** \nin a specific Google Drive folder and **update the file detai"
      }
    },
    {
      "id": "6dd1a5f7-d7d1-45c0-8cc0-b93950d4df97",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2352,
        48
      ],
      "parameters": {
        "width": 1536,
        "height": 816,
        "content": "\n## Automated Video Posting\n to Facebook (3-Step Upload)\n\nThis advanced workflow is designed to\n **automatically upload a video to Facebook \nPage Stories** by following the platform's \nmulti-step uplo"
      }
    },
    {
      "id": "644cfefc-9786-4c56-96ac-4c9bcb7907bc",
      "name": "Get Row Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1248,
        96
      ]
    },
    {
      "id": "520a4585-f1a0-48ee-9dbe-eec32a2a990a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2912,
        -304
      ],
      "parameters": {
        "width": 544,
        "height": 1168,
        "content": "# 🚀 **About the Creator**: \n## This workflow is crafted by [**Đỗ Thành Nguyên**](https://hub.dothanhnguyen.com), \n### an automation architect and creator behind [**hub.dothanhnguyen.com**](https://hub"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Step 1: Initialize session",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Row Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "info": {
      "main": [
        [
          {
            "node": "Get Row Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "Set to the total size in bytes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Row Sheet": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get upload status": {
      "main": [
        [
          {
            "node": "Update upload status in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Search files and folders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 3. Post video": {
      "main": [
        [
          {
            "node": "Get upload status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search files and folders": {
      "main": [
        [
          {
            "node": "Append or update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 1: Initialize session": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set to the total size in bytes": {
      "main": [
        [
          {
            "node": "Step 2: Upload the stored file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 2: Upload the stored file": {
      "main": [
        [
          {
            "node": "Step 3. Post video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}