Demonstrates the use of the $item(index) method — n8n ワークフロー
概要
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
使用ノード
ワークフロープレビュー
仕組み
- 1
トリガー
このワークフローは トリガー トリガーで開始します。
- 2
処理
データは 4 個のノードを流れます, connecting httprequest, manualtrigger, n8ntrainingcustomerdatastore。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (4)
HTTP Request
httpRequest
Customer Datastore (n8n training)
n8nTrainingCustomerDatastore
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
demonstrates-the-use-of-the-itemindex-methodファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
インテグレーション
作成者
Harshil Agrawal
@harshil1712