Files
n8n-backup-v2/workflows/VhdYU2pQ2MIZVokG.json
2026-01-02 22:48:32 +00:00

205 lines
4.2 KiB
JSON

{
"id": "VhdYU2pQ2MIZVokG",
"name": "Cron Fan-Out Diagnostic",
"nodes": [
{
"id": "schedule-test",
"name": "Test Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
-400,
0
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 60
}
]
}
}
},
{
"id": "set-branch-a",
"name": "Emit Branch A",
"type": "n8n-nodes-base.set",
"typeVersion": 2,
"position": [
-160,
-160
],
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "branch",
"value": "A"
},
{
"name": "source",
"value": "schedule"
}
],
"number": [
{
"name": "branchIndex",
"value": 1
}
]
}
}
},
{
"id": "set-branch-b",
"name": "Emit Branch B",
"type": "n8n-nodes-base.set",
"typeVersion": 2,
"position": [
-160,
0
],
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "branch",
"value": "B"
},
{
"name": "source",
"value": "schedule"
}
],
"number": [
{
"name": "branchIndex",
"value": 2
}
]
}
}
},
{
"id": "set-branch-c",
"name": "Emit Branch C",
"type": "n8n-nodes-base.set",
"typeVersion": 2,
"position": [
-160,
160
],
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "branch",
"value": "C"
},
{
"name": "source",
"value": "schedule"
}
],
"number": [
{
"name": "branchIndex",
"value": 3
}
]
}
}
},
{
"id": "code-collector",
"name": "Collect Branch Events",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
80,
0
],
"parameters": {
"jsCode": "const items = $input.all();\nreturn items.map((item, index) => ({\n json: {\n branch: item.json.branch,\n branchIndex: item.json.branchIndex,\n receivedOrder: index,\n receivedAt: new Date().toISOString()\n }\n}));"
}
}
],
"connections": {
"Test Schedule Trigger": {
"main": [
[
{
"node": "Emit Branch A",
"type": "main",
"index": 0
},
{
"node": "Emit Branch B",
"type": "main",
"index": 0
},
{
"node": "Emit Branch C",
"type": "main",
"index": 0
}
]
]
},
"Emit Branch A": {
"main": [
[
{
"node": "Collect Branch Events",
"type": "main",
"index": 0
}
]
]
},
"Emit Branch B": {
"main": [
[
{
"node": "Collect Branch Events",
"type": "main",
"index": 0
}
]
]
},
"Emit Branch C": {
"main": [
[
{
"node": "Collect Branch Events",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"saveDataErrorExecution": "all",
"saveDataSuccessExecution": "all",
"saveManualExecutions": true,
"saveExecutionProgress": true
},
"triggerCount": 0,
"versionId": "f7b5c755-f6c0-4d1d-afb1-ba779a271c36",
"owner": {
"type": "personal",
"projectId": "FeLO36wNUAcn61Wj",
"projectName": "Ben W <admin@ben.io>",
"personalEmail": "admin@ben.io"
},
"parentFolderId": null,
"isArchived": true
}