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

Faible complexité Déclencheur4 nœuds🏷️ Miscellaneous👁 1,733 vuespar Harshil Agrawal

Aperçu

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

Nœuds utilisés

HTTP RequestCustomer Datastore (n8n training)

Aperçu du workflow

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

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur déclencheur.

  2. 2

    Traitement

    Les données transitent par 4 nœuds, connecting httprequest, manualtrigger, n8ntrainingcustomerdatastore.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (4)

HT

HTTP Request

httpRequest

#1
CU

Customer Datastore (n8n training)

n8nTrainingCustomerDatastore

#2

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier demonstrates-the-use-of-the-itemindex-method téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

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

Intégrations

httprequestmanualtriggern8ntrainingcustomerdatastoreset

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds4
Complexitélow
Déclencheurtrigger
Vues1,733
CatégorieMiscellaneous

Créé par

Harshil Agrawal

Harshil Agrawal

@harshil1712

Tags

httprequestmanualtriggern8ntrainingcustomerdatastoreset

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →

Related Miscellaneous Workflows