itemMatching() example
Triggered manually or by an app event. Connects Code, N8N Training Customer Datastore, Stop And Error. Generate example data Reduce the data Remove all data except the names Restore Restore the email address data About this workflow This workflow provides a simple example of how to use itemMatching(itemIndex: Number) in the Code node to retrieve linked items from earlier in the workflow. This exam
Front matter
name: itemMatching() example
description: Triggered manually or by an app event. Connects Code, N8N Training Customer Datastore, Stop And Error. ## Generate example data ## Reduce the data Remove all data except the names ## Restore Restore the email address data ## About this workflow This workflow provides a simple example of how to use `itemMatching(itemIndex: Number)` in the Code node to retrieve linked items from earlier in the workflow. This example uses JavaScript. Refer to [Retrieve linked items from earlier in the workflow]({{ $env.WEBHOOK_URL }} for the Python code.
category: Automation
kind: Workflow
software: Code|N8N Training Customer Datastore|Stop And ErroritemMatching() example
Triggered manually or by an app event. Connects Code, N8N Training Customer Datastore, Stop And Error. ## Generate example data ## Reduce the data
Remove all data except the names ## Restore
Restore the email address data ## About this workflow
This workflow provides a simple example of how to use itemMatching(itemIndex: Number) in the Code node to retrieve linked items from earlier in the workflow.
This example uses JavaScript. Refer to [Retrieve linked items from earlier in the workflow]({{ $env.WEBHOOK_URL }} for the Python code.
Steps
- When clicking "Execute Workflow" (manualTrigger)
- Customer Datastore (n8n training) (n8nTrainingCustomerDatastore)
- Code (code)
- Edit Fields (set)
- Sticky Note (stickyNote)
- Sticky Note1 (stickyNote)
- Sticky Note2 (stickyNote)
- Sticky Note3 (stickyNote)
- Error Handler (stopAndError)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Manualtrigger Workflow: SQL, n8n and Code (n8n workflow collection) (761)
- Manualtrigger Workflow: n8n, Document Generator and Email
- Manualtrigger Workflow: n8n and N8N Training Customer Datastore
- Production Workflow: n8n, HTTP request and N8N Training Customer Datastore
- Very quick quickstart
- Itemlists Workflow: Function and Function Item
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.