Split In Batches node currentRunIndex example — n8n Workflow

Laag complexiteit Trigger5 knooppunten🏷️ Miscellaneous👁 2,768 weergavendoor Harshil Agrawal

Overzicht

This workflow demonstrates how to use currentRunIndex to get the running index.

Function node: This node generates mock data for the workflow. Replace it with the node whose data you want to split into batches.

SplitInBatches node: This node splits the data with the batch size equal to 1. Based on your use-case, set the value of the Batch Size.

IF node: This node checks the running index. If the running index equals 5 the node returns true and breaks the loop. The node uses the expression {

Workflow-voorvertoning

Loading workflow preview...

Hoe het werkt

  1. 1

    Trigger

    De workflow start met een trigger-trigger.

  2. 2

    Verwerking

    Gegevens stromen door 5 knooppunten, connecting function, if, manualtrigger.

  3. 3

    Uitvoer

    De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.

Hoe deze workflow te importeren

  1. 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
  2. 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
  3. 3Selecteer het gedownloade bestand split-in-batches-node-currentrunindex-example en klik op Importeren.
  4. 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
  5. 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.

Of plak rechtstreeks in n8n → Importeren uit JSON:

{ "name": "Split In Batches node currentRunIndex example", "nodes": [...], ...}

Integraties

functionifmanualtriggersetsplitinbatches

Haal deze workflow op

Download en importeer met één klik

Bekijken op n8n.io
Knooppunten5
Complexiteitlow
Triggertrigger
Weergaven2,768
CategorieMiscellaneous

Gemaakt door

Harshil Agrawal

Harshil Agrawal

@harshil1712

Tags

functionifmanualtriggersetsplitinbatches

Nieuw bij n8n?

n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.

n8n gratis ophalen →

Related Miscellaneous Workflows