{
  "name": "Upload videos to Facebook Pages and Groups with Facebook Graph API",
  "nodes": [
    {
      "id": "6242839d-d7a4-49b2-8f9f-45b23bd5c81d",
      "name": "Trigger: Video Upload Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        1520,
        1728
      ]
    },
    {
      "id": "95b39b55-9111-40f4-aaac-9858a93c3671",
      "name": "Prepare Video Metadata",
      "type": "n8n-nodes-base.set",
      "position": [
        1888,
        1920
      ]
    },
    {
      "id": "bf6c874e-ee41-4e74-8127-7c643946eef2",
      "name": "Initiate Video Upload",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2240,
        1936
      ]
    },
    {
      "id": "9700ca6e-9171-4989-ad26-710ca3a31e99",
      "name": "Merge Upload Paths",
      "type": "n8n-nodes-base.merge",
      "position": [
        2496,
        1856
      ]
    },
    {
      "id": "c0981f48-4751-4dca-ae37-c36bd19f8993",
      "name": "Upload Video Chunk",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2720,
        1856
      ]
    },
    {
      "id": "3f6744da-0f50-4441-b0ab-d7ded2047fcb",
      "name": "Complete Video Upload",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2944,
        1856
      ]
    },
    {
      "id": "eeef3484-44c5-4561-8335-78c79b84d9d1",
      "name": "Triggered by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        1520,
        1920
      ]
    },
    {
      "id": "ee596963-5dfd-4581-bceb-37fe3004dc6a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        1632
      ],
      "parameters": {
        "width": 272,
        "height": 240,
        "content": "Purpose: Accepts input via n8n UI\n\nNotes: Required fields must be filled; you can prefill defaults for testing"
      }
    },
    {
      "id": "db3bab08-faf7-483a-98d8-d00fea9f87a3",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        1904
      ],
      "parameters": {
        "width": 272,
        "height": 240,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\nAllows workflow to be called from another workflow"
      }
    },
    {
      "id": "04fc8312-feab-4e5f-b29f-5127312df9b6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2896,
        1792
      ],
      "parameters": {
        "width": null,
        "height": 208,
        "content": "Completes the upload and posts the video\n"
      }
    },
    {
      "id": "2eb8501c-fc90-4a2c-ba2b-881fb4e8ae89",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2640,
        1792
      ],
      "parameters": {
        "width": null,
        "height": 208,
        "content": "Uploads video in chunks"
      }
    },
    {
      "id": "d86c56a3-c7c0-4391-8e1d-d24dd794755f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2432,
        1776
      ],
      "parameters": {
        "width": 192,
        "height": 224,
        "content": "Combines metadata and upload session info for transfer\n"
      }
    },
    {
      "id": "3b753856-37b3-4b13-ae62-43147865e95b",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2176,
        1840
      ],
      "parameters": {
        "width": null,
        "height": 240,
        "content": "Calls Facebook Graph API to start the upload session"
      }
    },
    {
      "id": "de8363e5-760b-4b6f-bcad-9a44aed501e9",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1824,
        1872
      ],
      "parameters": {
        "width": null,
        "height": 176,
        "content": "Organizes input data for upload\n"
      }
    },
    {
      "id": "b1a16bd1-66d8-45f3-9f96-602c224e5250",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        1536
      ],
      "parameters": {
        "width": 896,
        "height": 608,
        "content": "##   Facebook Video Upload Workflow\n\n**Purpose:**\nUploads videos to Facebook Pages or Groups automatically, either via a Form Trigger or triggered by another workflow.\n\n**Features:**\n- Accepts video f"
      }
    }
  ],
  "connections": {
    "Merge Upload Paths": {
      "main": [
        [
          {
            "node": "Upload Video Chunk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video Chunk": {
      "main": [
        [
          {
            "node": "Complete Video Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Initiate Video Upload": {
      "main": [
        [
          {
            "node": "Merge Upload Paths",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Prepare Video Metadata": {
      "main": [
        [
          {
            "node": "Initiate Video Upload",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge Upload Paths",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger: Video Upload Form": {
      "main": [
        [
          {
            "node": "Prepare Video Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Triggered by Another Workflow": {
      "main": [
        [
          {
            "node": "Prepare Video Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}