n8n $item(index) Demo: Reference Single Data in Multi-Item Flows

Demonstrates using $item(index) to access data from a single-item node (e.g., API key) across multiple items (e.g., customer data) in batch HTTP requests.

This workflow illustrates a key n8n technique: the $item(index) method. It starts with a Manual Trigger, followed by a Set node that defines a single API key. The Customer Datastore node retrieves 5 customer records, creating multiple execution items. The HTTP Request node then sends POST requests for each customer, referencing the API key from the Set node using {{ $item(0).$node["Set"].json["apiKey"] }}. This avoids redundant data duplication and ensures the single API key is applied consisten
Platform
n8n
Category
CRM - Sales
Price
$6.99
Creator
Omar Karlsson

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related CRM - Sales workflows

More from Omar Karlsson

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.