{
  "name": "Simple file based key value store (WriteKey)",
  "nodes": [
    {
      "id": null,
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        60,
        300
      ]
    },
    {
      "id": null,
      "name": "Write Binary File",
      "type": "n8n-nodes-base.writeBinaryFile",
      "position": [
        420,
        740
      ]
    },
    {
      "id": null,
      "name": "Config",
      "type": "n8n-nodes-base.functionItem",
      "position": [
        600,
        300
      ]
    },
    {
      "id": null,
      "name": "Read Binary Files",
      "type": "n8n-nodes-base.readBinaryFiles",
      "position": [
        240,
        520
      ]
    },
    {
      "id": null,
      "name": "SetKeyValue",
      "type": "n8n-nodes-base.functionItem",
      "position": [
        600,
        520
      ]
    },
    {
      "id": null,
      "name": "BinaryToJSON",
      "type": "n8n-nodes-base.moveBinaryData",
      "position": [
        420,
        520
      ]
    },
    {
      "id": null,
      "name": "JSONToBinary",
      "type": "n8n-nodes-base.moveBinaryData",
      "position": [
        240,
        740
      ]
    },
    {
      "id": null,
      "name": "SplitInBatches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        420,
        300
      ]
    },
    {
      "id": null,
      "name": "Repeat",
      "type": "n8n-nodes-base.if",
      "position": [
        600,
        740
      ]
    },
    {
      "id": null,
      "name": "Done",
      "type": "n8n-nodes-base.functionItem",
      "position": [
        800,
        740
      ]
    }
  ],
  "connections": {
    "Config": {
      "main": [
        [
          {
            "node": "Read Binary Files",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Repeat": {
      "main": [
        [
          {
            "node": "Done",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "SplitInBatches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SetKeyValue": {
      "main": [
        [
          {
            "node": "JSONToBinary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "BinaryToJSON": {
      "main": [
        [
          {
            "node": "SetKeyValue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JSONToBinary": {
      "main": [
        [
          {
            "node": "Write Binary File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SplitInBatches": {
      "main": [
        [
          {
            "node": "Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Binary Files": {
      "main": [
        [
          {
            "node": "BinaryToJSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Binary File": {
      "main": [
        [
          {
            "node": "Repeat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "SplitInBatches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}