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
- 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.
Related CRM - Sales workflows
- Automate Lead Generation from Google Maps with AI-Enhanced Outreach$19.99
- Automate Lead Scraping and Data Cleaning from Apify to Google Sheets$4.99
- AI-Powered Cold Call Machine with LinkedIn, OpenAI & Sales Navigator$24.99
- Automated Website Data Scraper for CRM Insights$24.99
- Automated Lead Generation from Telegram to Database with AI and Apollo$14.99
- Automate LinkedIn Lead Generation and Enrichment$24.99
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.