diff --git a/reportar-error-isaac.json b/reportar-error-isaac.json new file mode 100644 index 0000000..8d8a69c --- /dev/null +++ b/reportar-error-isaac.json @@ -0,0 +1,295 @@ +{ + "updatedAt": "2026-05-18T14:04:42.487Z", + "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" + } + } + }, + { + "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": "4578fc6a-035b-4357-a81e-910082a073fe", + "activeVersionId": "4578fc6a-035b-4357-a81e-910082a073fe", + "versionCounter": 33, + "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 ", + "type": "personal", + "icon": null, + "description": null, + "creatorId": "0a88c0b1-928e-4412-896e-c5d1c99b2029" + } + } + ], + "tags": [], + "activeVersion": { + "updatedAt": "2026-05-18T14:05:01.000Z", + "createdAt": "2026-05-18T14:04:42.489Z", + "versionId": "4578fc6a-035b-4357-a81e-910082a073fe", + "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" + } + } + }, + { + "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": "Reportar Error - Isaac", + "description": "", + "autosaved": true, + "workflowPublishHistory": [ + { + "createdAt": "2026-05-18T14:05:01.559Z", + "id": 344, + "workflowId": "puF4LUczoSz3hcek", + "versionId": "4578fc6a-035b-4357-a81e-910082a073fe", + "event": "activated", + "userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029" + } + ] + } +} \ No newline at end of file