File size: 1,905 Bytes
0a84888 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
{
"name": "Reference incoming data explicitly",
"nodes": [
{
"parameters": {},
"id": "0abbe7f6-f8a0-4f71-8229-f4fd1a3c2683",
"name": "When clicking \"Execute Workflow\"",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
620,
520
]
},
{
"parameters": {
"jsCode": "return [\n {\n \"id\": 0001,\n \"personal_info\": {\n \"first_name\": \"Natalie\",\n \"surname\": \"Berlin\"\n },\n \"work_info\": {\n \"job_title\": \"Automation engineer\"\n }\n },\n {\n \"id\": 0002,\n \"personal_info\": {\n \"first_name\": \"Nathan\",\n \"surname\": \"Berlin\"\n },\n \"work_info\": {\n \"job_title\": \"Automation designer\"\n }\n }\n]"
},
"id": "e19f11cd-c868-4aca-b88e-04b4ee6f0187",
"name": "Mock data",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
840,
520
]
},
{
"parameters": {},
"id": "ef54d477-0596-441a-98e5-1ab005e9a268",
"name": "Code",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
1060,
520
]
}
],
"pinData": {},
"connections": {
"When clicking \"Execute Workflow\"": {
"main": [
[
{
"node": "Mock data",
"type": "main",
"index": 0
}
]
]
},
"Mock data": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "4e3a0a21-c993-4851-848b-01bd5c090b6b",
"id": "EipyYyqKKQm7siq4",
"meta": {
"instanceId": "c5aabef739d71e3d0ceb8b6078a241aaf1b145fa71cbbe36ecfb2c8c3fd64f5f"
},
"tags": []
} |