before/broken.json
{
"id": "SYNTHETIC_BROKEN_WORKFLOW_ID",
"name": "SYNTHETIC - Broken lead delivery - DO NOT ACTIVATE",
"active": false,
"nodes": [
{
"id": "synthetic-webhook",
"name": "Synthetic Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
0,
0
],
"parameters": {
"httpMethod": "POST",
"path": "synthetic-portfolio-leads",
"responseMode": "onReceived",
"options": {}
},
"webhookId": "synthetic-portfolio-webhook"
},
{
"id": "pass-events",
"name": "Pass Events",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
240,
0
],
"parameters": {
"mode": "runOnceForAllItems",
"jsCode": "// SYNTHETIC BROKEN: no limits or deduplication\nreturn $input.first().json.body.events.map(event => ({json:event}));"
}
},
{
"id": "send-every-time",
"name": "Send Every Time",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
480,
0
],
"parameters": {
"method": "POST",
"url": "https://crm-receiver.example.invalid/events",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer SYNTHETIC_NOT_A_SECRET"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ $json }}",
"options": {}
}
}
],
"connections": {
"Synthetic Webhook": {
"main": [
[
{
"node": "Pass Events",
"type": "main",
"index": 0
}
]
]
},
"Pass Events": {
"main": [
[
{
"node": "Send Every Time",
"type": "main",
"index": 0
}
]
]
},
"Send Every Time": {
"main": [
[
{
"node": "Pass Events",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"executionTimeout": 300,
"saveDataSuccessExecution": "none",
"saveDataErrorExecution": "all"
},
"pinData": {},
"tags": []
}