adding the workflow collection to git
This commit is contained in:
41
workflows/766_workflow_766.json
Normal file
41
workflows/766_workflow_766.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "Mock Data",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
670,
|
||||
371
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "return [\n {\n json:[\n {\n id: 1,\n name: \"Jim\"\n }, \n {\n id: 2,\n name: \"Stefan\"\n },\n {\n id: 3,\n name: \"Hans\"\n }\n ]\n }\n];"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "Create JSON-items",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
910,
|
||||
371
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "return items[0].json.map(item => { \n return {\n json: item,\n }\n})\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Mock Data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create JSON-items",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user