n8n-backup/workflows/My workflow.json

115 lines
2.5 KiB
JSON

{
"active": false,
"connections": {
"Code": {
"main": [
[
{
"node": "Filter",
"type": "main",
"index": 0
}
]
]
},
"Filter": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Execute Workflow Trigger": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2024-02-06T18:20:02.968Z",
"id": "0k5KJioXR4gvF14N",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "My workflow",
"nodes": [
{
"parameters": {
"jsCode": "return [{\"fruit\": \"apple\", \"color\": \"green\", \"dataPrivacyLevel\": \"public\"},{\"fruit\": \"banana\", \"color\": \"yellow\", \"dataPrivacyLevel\": \"public\"},{\"fruit\": \"tomato\", \"color\": \"red\", \"dataPrivacyLevel\": \"private\"}]"
},
"id": "05824aeb-0063-49dc-bfa0-5fcb5f057f08",
"name": "Code",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
640,
460
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ $json.dataPrivacyLevel }}",
"value2": "={{ $('Execute Workflow Trigger').item.json.visibility }}"
}
]
}
},
"id": "e079c6f5-ae6b-4310-ae78-e2a2d09c0ec9",
"name": "Filter",
"type": "n8n-nodes-base.filter",
"typeVersion": 1,
"position": [
840,
460
]
},
{
"parameters": {
"aggregate": "aggregateAllItemData",
"include": "specifiedFields",
"fieldsToInclude": "fruit, color",
"options": {}
},
"id": "9f4a6057-2321-4b9e-8031-7a61eee484bb",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"typeVersion": 1,
"position": [
1060,
460
]
},
{
"parameters": {},
"id": "75d7b7bb-5081-4813-bc99-998663885500",
"name": "Execute Workflow Trigger",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1,
"position": [
460,
460
]
}
],
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2024-02-06T18:20:02.968Z",
"versionId": "81159509-0241-49db-b31c-144ae377588d"
}