{
  "name": "Automate Facebook reels publishing with Google Sheets and Drive",
  "nodes": [
    {
      "id": "c98f4dee-831a-4de6-b2df-d44cf320a7f4",
      "name": "info",
      "type": "n8n-nodes-base.set",
      "position": [
        -1472,
        48
      ]
    },
    {
      "id": "5dee332a-6319-419c-9fe2-2ed3f4b7639b",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1696,
        48
      ]
    },
    {
      "id": "f0a8f95d-88f8-41b6-8a38-2ae55a4ce3ec",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1456,
        384
      ]
    },
    {
      "id": "4424daa9-14d9-47d5-b78b-2b2fda283540",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1360,
        656
      ]
    },
    {
      "id": "e8db21a1-9a82-4c4b-a50e-af406a12bb8d",
      "name": "Step 1: Initialize an Upload Session",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1664,
        384
      ]
    },
    {
      "id": "62cef400-c3fb-439e-a0ab-3c8f77e4c158",
      "name": "Step 2: Upload the Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1040,
        384
      ]
    },
    {
      "id": "547c52ee-7883-432d-8485-2a7c1f3b92c9",
      "name": "Step 3: Publish the Reel",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1664,
        752
      ]
    },
    {
      "id": "91e05176-b3a8-44de-a819-32a0575e288a",
      "name": "Get Row Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1248,
        48
      ]
    },
    {
      "id": "ea72e8eb-6685-4e91-93cd-a9bdf276ad95",
      "name": "Get the size file",
      "type": "n8n-nodes-base.code",
      "position": [
        -1248,
        384
      ]
    },
    {
      "id": "bfb4edf0-3c25-4e88-9bf6-16657f977d59",
      "name": "Update status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1360,
        832
      ]
    },
    {
      "id": "ac97c446-241f-4306-bdb8-5d6768fcffa5",
      "name": "Create comment post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1040,
        656
      ]
    },
    {
      "id": "d6e2986d-25da-47aa-b73e-6766b0ac6ba1",
      "name": "Search files and folders",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1424,
        -288
      ]
    },
    {
      "id": "74566e2f-e8b3-408b-8b7b-b4f6aa5907b4",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1712,
        -288
      ]
    },
    {
      "id": "162ef463-3032-4744-bfea-60a02b441dc9",
      "name": "Append or update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1072,
        -288
      ]
    },
    {
      "id": "33b6589f-a47e-45e1-a914-2796db631b35",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        -336
      ],
      "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** \n\nin a specific Google Drive folder and **update the file deta"
      }
    },
    {
      "id": "e715160f-c6be-4daf-a27b-addcfe315b63",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -1040,
        48
      ]
    },
    {
      "id": "9b3751d2-558e-46f7-991a-474279e09b50",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        16
      ],
      "parameters": {
        "width": 1536,
        "height": 992,
        "content": "## Publish a Reel on a Facebook Page\n\nThis advanced workflow is designed to\n\n **automatically publish a Reel on a Facebook Page** by following the platform's \n\nmulti-step uploading process, based on d"
      }
    },
    {
      "id": "d54a3372-22ce-4802-80eb-3616fc0d91c2",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2992,
        -336
      ],
      "parameters": {
        "width": 544,
        "height": 1344,
        "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 an Upload Session",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Row Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Create comment post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "info": {
      "main": [
        [
          {
            "node": "Get Row Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "Get the size file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Row Sheet": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get the size file": {
      "main": [
        [
          {
            "node": "Step 2: Upload the Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Search files and folders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search files and folders": {
      "main": [
        [
          {
            "node": "Append or update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 2: Upload the Video": {
      "main": [
        [
          {
            "node": "Step 3: Publish the Reel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 3: Publish the Reel": {
      "main": [
        [
          {
            "node": "Update status",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 1: Initialize an Upload Session": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}