Demonstrates the use of the $item(index) method — Workflow n8n
Przegląd
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
Użyte węzły
Podgląd workflow
Jak to działa
- 1
Wyzwalacz
Workflow uruchamia się wyzwalaczem wyzwalacz.
- 2
Przetwarzanie
Dane przepływają przez 4 węzłów, connecting httprequest, manualtrigger, n8ntrainingcustomerdatastore.
- 3
Wyjście
Workflow kończy automatyzację i dostarcza wynik do skonfigurowanego miejsca docelowego.
Szczegóły węzłów (4)
HTTP Request
httpRequest
Customer Datastore (n8n training)
n8nTrainingCustomerDatastore
Jak zaimportować ten workflow
- 1Kliknij przycisk Pobierz JSON po prawej stronie, aby zapisać plik workflow.
- 2Otwórz swoją instancję n8n. Przejdź do Workflow → Nowy → Importuj z pliku.
- 3Wybierz pobrany plik
demonstrates-the-use-of-the-itemindex-methodi kliknij Importuj. - 4Skonfiguruj dane uwierzytelniające dla każdego węzła usługi (klucze API, OAuth itp.).
- 5Kliknij Testuj workflow, aby sprawdzić, czy wszystko działa, a następnie aktywuj go.
Lub wklej bezpośrednio w n8n → Importuj z JSON:
Integracje
Autor
Harshil Agrawal
@harshil1712
Tagi
Nowy w n8n?
n8n to darmowe narzędzie open-source do automatyzacji workflow. Hostuj samodzielnie lub użyj wersji chmurowej.
Pobierz n8n za darmo →