forked from hyperskill/intro-to-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
My_workflow_7b.json
115 lines (115 loc) · 2.56 KB
/
My_workflow_7b.json
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "My workflow 7b",
"nodes": [
{
"parameters": {},
"id": "f46e54d4-5ad5-4373-8257-7defd6728b65",
"name": "When clicking \"Test workflow\"",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
480,
180
]
},
{
"parameters": {
"mergeByFields": {
"values": [
{
"field1": "={{ $('CodeA').item.json[\"fn\"] }}",
"field2": "={{ $('CodeB').item.json[\"fn\"] }}"
}
]
},
"options": {}
},
"id": "ef24a845-ca5a-4ce0-a67a-190b978d9a38",
"name": "Compare Datasets",
"type": "n8n-nodes-base.compareDatasets",
"typeVersion": 2.3,
"position": [
940,
180
]
},
{
"parameters": {
"jsCode": "let myArr = [\n {json:{fn:\"Bob\",age:7},pairedItem:{item:0,input:0}},\n {json:{fn:\"Jane\",age:8},pairedItem:{item:1,input:1}}\n]\nreturn myArr;"
},
"id": "3f789bfb-6926-4954-8ff4-3511bd38a1cc",
"name": "CodeA",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
720,
100
]
},
{
"parameters": {
"jsCode": "let myArr = [\n {json:{fn:\"Bob\",age:17},pairedItem:{item:0,input:0}},\n {json:{fn:\"Jane\",age:18},pairedItem:{item:1,input:1}}\n]\nreturn myArr;"
},
"id": "34f47c9f-7c67-4cfa-8d07-ae6120d392c5",
"name": "CodeB",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
700,
320
]
}
],
"pinData": {},
"connections": {
"When clicking \"Test workflow\"": {
"main": [
[
{
"node": "CodeA",
"type": "main",
"index": 0
},
{
"node": "CodeB",
"type": "main",
"index": 0
}
]
]
},
"CodeA": {
"main": [
[
{
"node": "Compare Datasets",
"type": "main",
"index": 0
}
]
]
},
"CodeB": {
"main": [
[
{
"node": "Compare Datasets",
"type": "main",
"index": 1
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "af4a9c7a-a666-4472-9632-ad709a936c0f",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "c1222073a262d8b35ab5e1015f1ffed6bae342ac93397bcf1372c026d877519e"
},
"id": "ofRfpdMzu8wnc4AZ",
"tags": []
}