Files
reportar-error-isaac/reportar-error-isaac.json
T

295 lines
7.6 KiB
JSON

{
"updatedAt": "2026-06-25T11:33:48.701Z",
"createdAt": "2026-05-12T13:50:03.792Z",
"id": "puF4LUczoSz3hcek",
"name": "Reportar Error - Isaac",
"description": null,
"active": true,
"isArchived": false,
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.errorTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "d438f293-3eef-432e-bb11-748e1f22a82f",
"name": "Error Trigger"
},
{
"parameters": {
"sendTo": "iaracena@gomezleemarketing.com",
"subject": "=Error en el flujo {{ $json.workflow.name }}",
"emailType": "text",
"message": "={{ $json.execution.error.message }}",
"options": {}
},
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.2,
"position": [
160,
0
],
"id": "7930bd6e-8e7f-418d-876d-68f0ce3ebce4",
"name": "Send a message",
"webhookId": "a6b931bf-9ea3-41c5-b619-272fb2030413",
"credentials": {
"gmailOAuth2": {
"id": "cehQBe6X1BQLmcD9",
"name": "Gmail account - Isaac"
}
}
},
{
"parameters": {
"method": "POST",
"url": "={{'https://wsp.gomezleemarketing.com'}}/message/sendText/{{'botsoporte'}}",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{'C267126ABB45-4C12-B626-6BAB1833F5D7'}}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "number",
"value": "={{'18298946645@s.whatsapp.net'}}"
},
{
"name": "text",
"value": "=Error en el flujo: {{ $('Error Trigger').item.json.workflow.name }}\n\nCausa: {{ $('Error Trigger').item.json.execution.error.message }}"
},
{
"name": "delay",
"value": "={{2000}}"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
336,
0
],
"id": "65b716cc-e50e-48d7-9005-af8f543e1903",
"name": "HTTP Request"
},
{
"parameters": {
"content": "## FLUJO PARA REPORTAR ERRORES\n\nSe activa cada vez que hay un error en cualquiera de los flujos.",
"height": 272,
"width": 736
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-80,
-96
],
"id": "ce359321-c2cf-4ec2-8dc4-4df2e953ae4b",
"name": "Sticky Note"
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
}
]
]
},
"Send a message": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"staticData": null,
"meta": {
"templateCredsSetupCompleted": true
},
"versionId": "375f8639-bfb9-406e-ac20-0cd647b01232",
"activeVersionId": "375f8639-bfb9-406e-ac20-0cd647b01232",
"versionCounter": 36,
"triggerCount": 0,
"shared": [
{
"updatedAt": "2026-05-12T13:50:03.794Z",
"createdAt": "2026-05-12T13:50:03.794Z",
"role": "workflow:owner",
"workflowId": "puF4LUczoSz3hcek",
"projectId": "PJpTANzTXIFibWsW",
"project": {
"updatedAt": "2026-04-22T14:25:09.686Z",
"createdAt": "2026-04-22T14:22:54.790Z",
"id": "PJpTANzTXIFibWsW",
"name": "Isaac Aracena <iaracena@gomezleemarketing.com>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "0a88c0b1-928e-4412-896e-c5d1c99b2029"
}
}
],
"tags": [],
"activeVersion": {
"updatedAt": "2026-06-25T11:34:40.000Z",
"createdAt": "2026-06-25T11:33:48.702Z",
"versionId": "375f8639-bfb9-406e-ac20-0cd647b01232",
"workflowId": "puF4LUczoSz3hcek",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.errorTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "d438f293-3eef-432e-bb11-748e1f22a82f",
"name": "Error Trigger"
},
{
"parameters": {
"sendTo": "iaracena@gomezleemarketing.com",
"subject": "=Error en el flujo {{ $json.workflow.name }}",
"emailType": "text",
"message": "={{ $json.execution.error.message }}",
"options": {}
},
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.2,
"position": [
160,
0
],
"id": "7930bd6e-8e7f-418d-876d-68f0ce3ebce4",
"name": "Send a message",
"webhookId": "a6b931bf-9ea3-41c5-b619-272fb2030413",
"credentials": {
"gmailOAuth2": {
"id": "cehQBe6X1BQLmcD9",
"name": "Gmail account - Isaac"
}
}
},
{
"parameters": {
"method": "POST",
"url": "={{'https://wsp.gomezleemarketing.com'}}/message/sendText/{{'botsoporte'}}",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{'C267126ABB45-4C12-B626-6BAB1833F5D7'}}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "number",
"value": "={{'18298946645@s.whatsapp.net'}}"
},
{
"name": "text",
"value": "=Error en el flujo: {{ $('Error Trigger').item.json.workflow.name }}\n\nCausa: {{ $('Error Trigger').item.json.execution.error.message }}"
},
{
"name": "delay",
"value": "={{2000}}"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
336,
0
],
"id": "65b716cc-e50e-48d7-9005-af8f543e1903",
"name": "HTTP Request"
},
{
"parameters": {
"content": "## FLUJO PARA REPORTAR ERRORES\n\nSe activa cada vez que hay un error en cualquiera de los flujos.",
"height": 272,
"width": 736
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-80,
-96
],
"id": "ce359321-c2cf-4ec2-8dc4-4df2e953ae4b",
"name": "Sticky Note"
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
}
]
]
},
"Send a message": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
},
"authors": "Isaac Aracena",
"name": "Version 375f8639",
"description": "",
"autosaved": true,
"workflowPublishHistory": [
{
"createdAt": "2026-06-25T11:34:40.139Z",
"id": 1869,
"workflowId": "puF4LUczoSz3hcek",
"versionId": "375f8639-bfb9-406e-ac20-0cd647b01232",
"event": "activated",
"userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029"
}
]
}
}