Demonstrates the use of the $item(index) method — n8n Workflow

Low complexity Trigger4 nodes🏷️ Miscellaneous👁 1,733 viewsby Harshil Agrawal

Overview

This workflow demonstrates the use of the $item(index) method. This method is useful when you want to reference an item at a particular index.

This example workflow makes POST HTTP requests to a dummy URL.

Set node: This node is used to set the API key that will be used in the workflow later. This node returns a single item. This node can be replaced with other nodes, based on the use case.

Customer Datastore node: This node returns the data of customers that will be sent in the body of the

Nodes used

HTTP RequestCustomer Datastore (n8n training)

Workflow Preview

O
On clicking 'execute'
S
Set
Customer Datastore
HTTP Request
4 nodes3 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 4 nodes, connecting httprequest, manualtrigger, n8ntrainingcustomerdatastore.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (4)

HT

HTTP Request

httpRequest

#1
CU

Customer Datastore (n8n training)

n8nTrainingCustomerDatastore

#2

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded demonstrates-the-use-of-the-itemindex-method file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Demonstrates the use of the $item(index) method", "nodes": [...], ...}

Integrations

httprequestmanualtriggern8ntrainingcustomerdatastoreset

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes4
Complexitylow
Triggertrigger
Views1,733

Created by

Harshil Agrawal

Harshil Agrawal

@harshil1712

Tags

httprequestmanualtriggern8ntrainingcustomerdatastoreset

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →

Related Miscellaneous Workflows