n8n $item(index) Demo: Reference Single Data in Multi-Item Flows - n8n Workflow | Neura Market
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
Maxim Luong
n8n
tutorial
$item(index)
http-request
api-key
batch-processing
data-reference
crm-sales
development-tools
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.