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