{
  "name": "Scheduled multi-photo Facebook posts with Cloudinary from Windows directory",
  "nodes": [
    {
      "id": "e7cc6080-d4f3-4f3d-886a-2313aed9c697",
      "name": "Image",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        200,
        -380
      ]
    },
    {
      "id": "ed72dc72-bfbc-4993-bd65-944c9f086fe9",
      "name": "Hastag",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        220,
        40
      ]
    },
    {
      "id": "f76bf628-d924-4155-89cf-4cfa9c91159e",
      "name": "Move image to Posted date folder",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        1380,
        -360
      ]
    },
    {
      "id": "c5193895-9d89-4c28-9635-a505de559e4d",
      "name": "Description1",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        220,
        -160
      ]
    },
    {
      "id": "9e796c5b-5e83-4dc0-8cfc-e4682fcc2c1a",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        420,
        -160
      ]
    },
    {
      "id": "b827ecc0-955c-4757-b5a7-ac794169724a",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        580,
        -160
      ]
    },
    {
      "id": "15757ed4-bc84-4a62-ac2c-1b09587f14f6",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        740,
        20
      ]
    },
    {
      "id": "0a5fecce-b975-46a1-8631-2009cc2ab145",
      "name": "Extract from File1",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        420,
        40
      ]
    },
    {
      "id": "d5f86f4f-7d21-4539-a9df-ed9f4fb16ebd",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        920,
        -360
      ]
    },
    {
      "id": "adceb034-ed53-42bb-b107-768692e7da42",
      "name": "Facebook Graph API - Photo",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1060,
        -360
      ]
    },
    {
      "id": "ed8d5c71-d74f-43fb-afb9-8ec1d01d220d",
      "name": "ImgPath",
      "type": "n8n-nodes-base.set",
      "position": [
        -100,
        -160
      ]
    },
    {
      "id": "f73ebe72-e6b2-4d4e-9d91-d68743fa8be9",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        1220,
        -360
      ]
    },
    {
      "id": "57e4ee5f-d13c-4ff4-8344-8c1a07eb647f",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -380,
        560
      ]
    },
    {
      "id": "c6a49ce4-bdec-4470-9180-675b7f8b7d72",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        -540
      ],
      "parameters": {
        "width": 1760,
        "height": 820,
        "content": "# A Image Facebook post"
      }
    },
    {
      "id": "f4e996ac-04fc-443c-a646-b54a58600b01",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        2740
      ],
      "parameters": {
        "width": 2080,
        "height": 1320,
        "content": "# Multi-Photo FB Post\n- Cloudunary\n- Limit 3 Images/post"
      }
    },
    {
      "id": "add4e120-f093-414e-b7fe-b20f4d4ddeb9",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1040,
        1120
      ]
    },
    {
      "id": "890895a5-8c0d-4adc-bc54-53fd7338afaa",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1500,
        1300
      ]
    },
    {
      "id": "666ec878-cde2-4a5c-b2bc-7c5daa7644d7",
      "name": "GET",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1800,
        900
      ]
    },
    {
      "id": "61e8be98-f9c2-4c2a-870b-49142ed05430",
      "name": "Limit1",
      "type": "n8n-nodes-base.limit",
      "position": [
        400,
        780
      ]
    },
    {
      "id": "e6cf8b49-bffb-454f-9d19-29047d76e536",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1000,
        780
      ]
    },
    {
      "id": "22ebf0c7-9e5e-46c5-960c-c7908253112d",
      "name": "upload to file server1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        780
      ]
    },
    {
      "id": "a57785d3-790e-4b4b-898a-e2b3c0247fef",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        820,
        780
      ]
    },
    {
      "id": "5d872967-7dfa-4313-9807-38b6999b3d6b",
      "name": "Multi-Photo1",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1440,
        900
      ]
    },
    {
      "id": "df0a3b80-a464-4471-a343-9ffd0273e5ca",
      "name": "Image3",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        220,
        780
      ]
    },
    {
      "id": "cb2e5bca-3ca8-40a2-ad4a-5971c66ac625",
      "name": "Hastag2",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        200,
        580
      ]
    },
    {
      "id": "d0566983-4ba0-49ff-ae24-86bfad645a28",
      "name": "Description2",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        200,
        380
      ]
    },
    {
      "id": "3a59aa9d-8402-453f-bd48-26f1da438cdd",
      "name": "Extract from File4",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        380,
        380
      ]
    },
    {
      "id": "fefa57a6-02cc-4671-a949-20b59d28f1f5",
      "name": "Code2",
      "type": "n8n-nodes-base.code",
      "position": [
        560,
        380
      ]
    },
    {
      "id": "c9043785-d899-4244-9cee-a3a8961d0251",
      "name": "Extract from File5",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        380,
        580
      ]
    },
    {
      "id": "6d46541e-0582-4030-9895-0d62b89c6039",
      "name": "ImgPath2",
      "type": "n8n-nodes-base.set",
      "position": [
        -40,
        560
      ]
    },
    {
      "id": "6c51d87e-6bda-4320-b0b8-81a522681cd0",
      "name": "Move image to Posted date folder2",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        1680,
        1380
      ]
    },
    {
      "id": "1441ba89-00ba-4886-8232-a05ba330bd1a",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        1600,
        900
      ]
    },
    {
      "id": "1f1bb923-1098-460d-9744-9edcdd7016b1",
      "name": "Caption",
      "type": "n8n-nodes-base.merge",
      "position": [
        700,
        560
      ]
    },
    {
      "id": "931c035c-2397-4419-ab43-1decc8a743d2",
      "name": "PreparePost",
      "type": "n8n-nodes-base.merge",
      "position": [
        1200,
        900
      ]
    },
    {
      "id": "9618f9ae-447c-425d-922f-11d4c5cf1848",
      "name": "MoveFile",
      "type": "n8n-nodes-base.merge",
      "position": [
        1140,
        1300
      ]
    },
    {
      "id": "1e356986-65cb-4845-816d-f7aafe2513ed",
      "name": "ImagePath",
      "type": "n8n-nodes-base.set",
      "position": [
        1300,
        1300
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "MoveFile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code2": {
      "main": [
        [
          {
            "node": "Caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Move image to Posted date folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "GET",
            "type": "main",
            "index": 0
          },
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Hastag": {
      "main": [
        [
          {
            "node": "Extract from File1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image3": {
      "main": [
        [
          {
            "node": "Limit1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit1": {
      "main": [
        [
          {
            "node": "upload to file server1",
            "type": "main",
            "index": 0
          },
          {
            "node": "MoveFile",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "Facebook Graph API - Photo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Caption": {
      "main": [
        [
          {
            "node": "PreparePost",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Hastag2": {
      "main": [
        [
          {
            "node": "Extract from File5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ImgPath": {
      "main": [
        [
          {
            "node": "Image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Description1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Hastag",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ImgPath2": {
      "main": [
        [
          {
            "node": "Image3",
            "type": "main",
            "index": 0
          },
          {
            "node": "Description2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Hastag2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MoveFile": {
      "main": [
        [
          {
            "node": "ImagePath",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ImagePath": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "PreparePost",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PreparePost": {
      "main": [
        [
          {
            "node": "Multi-Photo1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Description1": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Description2": {
      "main": [
        [
          {
            "node": "Extract from File4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Multi-Photo1": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Move image to Posted date folder2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "ImgPath2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Extract from File4": {
      "main": [
        [
          {
            "node": "Code2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File5": {
      "main": [
        [
          {
            "node": "Caption",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "upload to file server1": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Facebook Graph API - Photo": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Move image to Posted date folder2": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}