n8n Workflow

Itemmatching Usage Example

This n8n workflow automates tasks and integrates with various services. Itemmatching Usage Example - ready to import and run in your n8n instance.

n8n workflow.json

About This Script

This n8n workflow automates tasks and integrates with various services. Itemmatching Usage Example - ready to import and run in your n8n instance.
Features:
  • Automates workflow tasks
  • Ready to import into n8n
  • Configurable parameters
Source Code
{
    "nodes": [
        {
            "id": "ba0e23f6-aec6-4c22-8e7c-ab4fc65c7767",
            "name": "When clicking \"Execute Workflow\"",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                640,
                500
            ],
            "parameters": [],
            "typeVersion": 1
        },
        {
            "id": "8434c3b4-5b80-48e5-803b-b84eb750b2c5",
            "name": "Customer Datastore (n8n training)",
            "type": "n8n-nodes-base.n8nTrainingCustomerDatastore",
            "position": [
                880,
                500
            ],
            "parameters": {
                "operation": "getAllPeople",
                "returnAll": true
            },
            "typeVersion": 1
        },
        {
            "id": "4750754a-92a6-44d2-a353-22fbb51a4d00",
            "name": "Code",
            "type": "n8n-nodes-base.code",
            "position": [
                1440,
                500
            ],
            "parameters": {
                "language": "python",
                "pythonCode": "for i,item in enumerate(_input.all()):\n  _input.all()[i].json.restoreEmail = _('Customer Datastore (n8n training)').itemMatching(i).json.email\n\nreturn _input.all();"
            },
            "typeVersion": 2
        },
        {
            "id": "9ac437bd-0d0d-4d92-845a-a1c9a7976d4d",
            "name": "Edit Fields",
            "type": "n8n-nodes-base.set",
            "position": [
                1180,
                500
            ],
            "parameters": {
                "fields": {
                    "values": [
                        {
                            "name": "name",
                            "stringValue": "={{ $json.name }}"
                        }
                    ]
                },
                "include": "none",
                "options": []
            },
            "typeVersion": 3.2
        },
        {
            "id": "d59c512c-2dca-4960-b287-b4908713b0a3",
            "name": "Sticky Note",
            "type": "n8n-nodes-base.stickyNote",
            "position": [
                820,
                400
            ],
            "parameters": {
                "height": 304,
                "content": "Configuration note: update with your credentials or endpoint.",
                "color": "#FFF59D"
            },
            "typeVersion": 1
        },
        {
            "id": "fad37032-13cc-461e-b48e-a2f470d07823",
            "name": "Sticky Note1",
            "type": "n8n-nodes-base.stickyNote",
            "position": [
                1100,
                398
            ],
            "parameters": {
                "height": 303,
                "content": "Configuration note: update with your credentials or endpoint.",
                "color": "#FFF59D"
            },
            "typeVersion": 1
        },
        {
            "id": "d0751fce-d9f0-40bf-aeb2-9dbc5d0e9bdb",
            "name": "Sticky Note2",
            "type": "n8n-nodes-base.stickyNote",
            "position": [
                1380,
                400
            ],
            "parameters": {
                "height": 304,
                "content": "Configuration note: update with your credentials or endpoint.",
                "color": "#FFF59D"
            },
            "typeVersion": 1
        },
        {
            "id": "2b1a67e9-60d6-411e-8ae7-94b02da6be34",
            "name": "Sticky Note3",
            "type": "n8n-nodes-base.stickyNote",
            "position": [
                430,
                220
            ],
            "parameters": {
                "width": 352,
                "height": 264,
                "content": "Configuration note: update with your credentials or endpoint.",
                "color": "#FFF59D"
            },
            "typeVersion": 1
        }
    ],
    "connections": {
        "Edit Fields": {
            "main": [
                [
                    {
                        "node": "Code",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "When clicking \"Execute Workflow\"": {
            "main": [
                [
                    {
                        "node": "Customer Datastore (n8n training)",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Customer Datastore (n8n training)": {
            "main": [
                [
                    {
                        "node": "Edit Fields",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    },
    "n8n_version": "1.5.0"
}
Requirements
n8n instance, API credentials for connected services
Tags
#n8n #automation #workflow
Quick Actions
More in n8n Workflows