{
  "name": "Split in batches node currentRunIndex example",
  "nodes": [
    {
      "id": null,
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        430,
        310
      ]
    },
    {
      "id": null,
      "name": "Function",
      "type": "n8n-nodes-base.function",
      "position": [
        630,
        310
      ]
    },
    {
      "id": null,
      "name": "SplitInBatches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        830,
        310
      ]
    },
    {
      "id": null,
      "name": "IF",
      "type": "n8n-nodes-base.if",
      "position": [
        1030,
        460
      ]
    },
    {
      "id": null,
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "position": [
        1230,
        360
      ]
    }
  ],
  "connections": {
    "IF": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "SplitInBatches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function": {
      "main": [
        [
          {
            "node": "SplitInBatches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SplitInBatches": {
      "main": [
        [
          {
            "node": "IF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Function",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}