Split In Batches node currentRunIndex example — n8n Workflow

Niedrig Komplexität Auslöser5 Knoten🏷️ Miscellaneous👁 2,768 Aufrufevon Harshil Agrawal

Übersicht

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-Vorschau

Loading workflow preview...

So funktioniert es

  1. 1

    Auslöser

    Der Workflow startet mit einem auslöser-Auslöser.

  2. 2

    Verarbeitung

    Die Daten fließen durch 5 Knoten, connecting function, if, manualtrigger.

  3. 3

    Ausgabe

    Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.

So importieren Sie diesen Workflow

  1. 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
  2. 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
  3. 3Wählen Sie die heruntergeladene Datei split-in-batches-node-currentrunindex-example und klicken Sie auf Importieren.
  4. 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
  5. 5Klicken Sie auf Workflow testen, um zu überprüfen, ob alles funktioniert, und aktivieren Sie es dann.

Oder direkt in n8n → Aus JSON importieren einfügen:

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

Integrationen

functionifmanualtriggersetsplitinbatches

Diesen Workflow holen

Herunterladen und mit einem Klick importieren

Auf n8n.io ansehen
Knoten5
Komplexitätlow
Auslösertrigger
Aufrufe2,768
KategorieMiscellaneous

Erstellt von

Harshil Agrawal

Harshil Agrawal

@harshil1712

Tags

functionifmanualtriggersetsplitinbatches

Neu bei n8n?

n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.

n8n kostenlos holen →

Related Miscellaneous Workflows