Update backup: Seguimiento de Impuestos GLM - Google Calendar
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"updatedAt": "2026-08-01T13:39:03.486Z",
|
"updatedAt": "2026-08-06T18:22:59.885Z",
|
||||||
"createdAt": "2026-07-29T18:42:21.837Z",
|
"createdAt": "2026-07-29T18:42:21.837Z",
|
||||||
"id": "4ysmdoCtcyBHB0pW",
|
"id": "4ysmdoCtcyBHB0pW",
|
||||||
"name": "Seguimiento de Impuestos GLM - Google Calendar",
|
"name": "Seguimiento de Impuestos GLM - Google Calendar",
|
||||||
@@ -126,8 +126,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
-400,
|
64,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "2d6990ec-a638-463b-8364-7d6a77b9bb9b",
|
"id": "2d6990ec-a638-463b-8364-7d6a77b9bb9b",
|
||||||
"name": "Preparar crear"
|
"name": "Preparar crear"
|
||||||
@@ -139,8 +139,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
-400,
|
80,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "868962b2-1894-41e4-9028-598b96a9ccc1",
|
"id": "868962b2-1894-41e4-9028-598b96a9ccc1",
|
||||||
"name": "Preparar actualizar"
|
"name": "Preparar actualizar"
|
||||||
@@ -152,8 +152,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
-400,
|
192,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "57b9d7e3-084a-4d95-8ba2-309b83a71551",
|
"id": "57b9d7e3-084a-4d95-8ba2-309b83a71551",
|
||||||
"name": "Preparar eliminar"
|
"name": "Preparar eliminar"
|
||||||
@@ -165,8 +165,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
-400,
|
272,
|
||||||
688
|
1344
|
||||||
],
|
],
|
||||||
"id": "8ffaf543-58e2-45c6-bcd3-0e56d9c18bc7",
|
"id": "8ffaf543-58e2-45c6-bcd3-0e56d9c18bc7",
|
||||||
"name": "Preparar sin acción"
|
"name": "Preparar sin acción"
|
||||||
@@ -194,8 +194,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
-144,
|
320,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "6a998d06-8660-4b98-9f5b-58af9d92bda1",
|
"id": "6a998d06-8660-4b98-9f5b-58af9d92bda1",
|
||||||
"name": "Google Calendar - Crear evento",
|
"name": "Google Calendar - Crear evento",
|
||||||
@@ -229,8 +229,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
-144,
|
336,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "7831e93c-af0a-4505-80c0-c9707d5abff0",
|
"id": "7831e93c-af0a-4505-80c0-c9707d5abff0",
|
||||||
"name": "Google Calendar - Actualizar evento",
|
"name": "Google Calendar - Actualizar evento",
|
||||||
@@ -252,8 +252,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
-144,
|
448,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "d43bb286-0ce0-4e44-a9d9-5be15e325877",
|
"id": "d43bb286-0ce0-4e44-a9d9-5be15e325877",
|
||||||
"name": "Google Calendar - Eliminar evento",
|
"name": "Google Calendar - Eliminar evento",
|
||||||
@@ -271,8 +271,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
112,
|
576,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "3bc4fa25-5ab2-4f01-a36f-bb3ab678cff7",
|
"id": "3bc4fa25-5ab2-4f01-a36f-bb3ab678cff7",
|
||||||
"name": "Preparar registro creado"
|
"name": "Preparar registro creado"
|
||||||
@@ -284,8 +284,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
112,
|
592,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "19961094-0e2b-4b63-8afe-5996a8fe2d46",
|
"id": "19961094-0e2b-4b63-8afe-5996a8fe2d46",
|
||||||
"name": "Preparar registro actualizado"
|
"name": "Preparar registro actualizado"
|
||||||
@@ -297,8 +297,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
112,
|
704,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "2108e3aa-935b-4fa3-ad66-1ddce0676212",
|
"id": "2108e3aa-935b-4fa3-ad66-1ddce0676212",
|
||||||
"name": "Preparar registro eliminado"
|
"name": "Preparar registro eliminado"
|
||||||
@@ -332,8 +332,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
368,
|
832,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "bf61e834-6dd9-4838-b74a-927839a91ddc",
|
"id": "bf61e834-6dd9-4838-b74a-927839a91ddc",
|
||||||
"name": "Supabase - Registrar creación Calendar"
|
"name": "Supabase - Registrar creación Calendar"
|
||||||
@@ -367,8 +367,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
368,
|
848,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "78bda986-5713-427a-8852-d791dbc8a1cc",
|
"id": "78bda986-5713-427a-8852-d791dbc8a1cc",
|
||||||
"name": "Supabase - Registrar actualización Calendar"
|
"name": "Supabase - Registrar actualización Calendar"
|
||||||
@@ -402,8 +402,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
368,
|
960,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "b05991ba-18fa-498a-a52e-f3b4bf296793",
|
"id": "b05991ba-18fa-498a-a52e-f3b4bf296793",
|
||||||
"name": "Supabase - Registrar eliminación Calendar"
|
"name": "Supabase - Registrar eliminación Calendar"
|
||||||
@@ -431,8 +431,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.4,
|
"typeVersion": 1.4,
|
||||||
"position": [
|
"position": [
|
||||||
624,
|
1088,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "8237b91a-ec81-4e45-9641-9138e354febe",
|
"id": "8237b91a-ec81-4e45-9641-9138e354febe",
|
||||||
"name": "Responder creación"
|
"name": "Responder creación"
|
||||||
@@ -460,8 +460,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.4,
|
"typeVersion": 1.4,
|
||||||
"position": [
|
"position": [
|
||||||
624,
|
1104,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "954c7fd8-82d7-4460-9e0e-53c5e1bb30be",
|
"id": "954c7fd8-82d7-4460-9e0e-53c5e1bb30be",
|
||||||
"name": "Responder actualización"
|
"name": "Responder actualización"
|
||||||
@@ -489,8 +489,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.4,
|
"typeVersion": 1.4,
|
||||||
"position": [
|
"position": [
|
||||||
624,
|
1216,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "c4542b04-2b4e-49da-b189-ed6d4fda092d",
|
"id": "c4542b04-2b4e-49da-b189-ed6d4fda092d",
|
||||||
"name": "Responder eliminación"
|
"name": "Responder eliminación"
|
||||||
@@ -514,8 +514,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.4,
|
"typeVersion": 1.4,
|
||||||
"position": [
|
"position": [
|
||||||
-144,
|
528,
|
||||||
688
|
1344
|
||||||
],
|
],
|
||||||
"id": "8a17b617-3311-47a9-9ac6-153894215600",
|
"id": "8a17b617-3311-47a9-9ac6-153894215600",
|
||||||
"name": "Responder sin acción"
|
"name": "Responder sin acción"
|
||||||
@@ -544,6 +544,53 @@
|
|||||||
],
|
],
|
||||||
"id": "328640f6-5d22-46a0-89dc-46580ec2f6a8",
|
"id": "328640f6-5d22-46a0-89dc-46580ec2f6a8",
|
||||||
"name": "Responder solicitud inválida"
|
"name": "Responder solicitud inválida"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## 1. VALIDACIÓN Y PREPARACIÓN\n\nRecibe desde la aplicación una solicitud relacionada con un evento fiscal y prepara toda la información necesaria para procesarla.\n\n- Normaliza los datos recibidos y determina la acción solicitada.\n- Valida que la obligación, las fechas y los parámetros obligatorios sean correctos.\n- Devuelve una respuesta controlada cuando la solicitud es inválida.\n- Consulta en Supabase la obligación y las personas que deben asistir al evento.\n- Construye el payload final que se utilizará para crear, actualizar, eliminar o ignorar el evento en Google Calendar.",
|
||||||
|
"height": 640,
|
||||||
|
"width": 1248,
|
||||||
|
"color": 3
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
-1744,
|
||||||
|
144
|
||||||
|
],
|
||||||
|
"id": "11ca21e4-8360-45fe-a2d3-6ce1cccde67a",
|
||||||
|
"name": "Sticky Note"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## 2. CREACIÓN Y ACTUALIZACIÓN\n\nGestiona la creación de nuevos eventos y la actualización de eventos existentes en Google Calendar.\n\n- Prepara los datos específicos según la operación solicitada.\n- Crea o actualiza el evento con sus fechas, descripción y asistentes.\n- Normaliza la respuesta devuelta por Google Calendar.\n- Registra en Supabase el identificador del evento y el resultado de la sincronización.\n- Devuelve a la aplicación una confirmación de la operación realizada.",
|
||||||
|
"height": 864,
|
||||||
|
"width": 1360,
|
||||||
|
"color": 5
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
-64,
|
||||||
|
-288
|
||||||
|
],
|
||||||
|
"id": "60ca5c9c-62fa-40ac-93a2-653efbe41002",
|
||||||
|
"name": "Sticky Note1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## 3. ELIMINACIÓN Y CONTROL SIN ACCIÓN\n\nGestiona la eliminación de eventos y los casos en los que no es necesario modificar Google Calendar.\n\n- Prepara y ejecuta la eliminación del evento correspondiente.\n- Registra en Supabase que el evento fue eliminado y limpia su referencia.\n- Devuelve una confirmación cuando la eliminación finaliza correctamente.\n- Detecta solicitudes que no requieren crear, actualizar ni eliminar.\n- Responde de forma controlada sin realizar cambios innecesarios en el calendario.",
|
||||||
|
"height": 624,
|
||||||
|
"width": 1328
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
96,
|
||||||
|
880
|
||||||
|
],
|
||||||
|
"id": "d38de08e-0f21-43a6-a75f-8ebc5be4dd34",
|
||||||
|
"name": "Sticky Note2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
@@ -774,9 +821,9 @@
|
|||||||
},
|
},
|
||||||
"staticData": null,
|
"staticData": null,
|
||||||
"meta": null,
|
"meta": null,
|
||||||
"versionId": "2d288ae2-36eb-44a6-8ded-442efef8f8fe",
|
"versionId": "5b0b0ad1-26c8-4965-b5d1-3bda834ae3a4",
|
||||||
"activeVersionId": "2d288ae2-36eb-44a6-8ded-442efef8f8fe",
|
"activeVersionId": "5b0b0ad1-26c8-4965-b5d1-3bda834ae3a4",
|
||||||
"versionCounter": 20,
|
"versionCounter": 53,
|
||||||
"triggerCount": 1,
|
"triggerCount": 1,
|
||||||
"shared": [
|
"shared": [
|
||||||
{
|
{
|
||||||
@@ -799,9 +846,9 @@
|
|||||||
],
|
],
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"activeVersion": {
|
"activeVersion": {
|
||||||
"updatedAt": "2026-08-01T13:39:06.000Z",
|
"updatedAt": "2026-08-06T18:23:01.000Z",
|
||||||
"createdAt": "2026-08-01T13:39:03.488Z",
|
"createdAt": "2026-08-06T18:22:59.888Z",
|
||||||
"versionId": "2d288ae2-36eb-44a6-8ded-442efef8f8fe",
|
"versionId": "5b0b0ad1-26c8-4965-b5d1-3bda834ae3a4",
|
||||||
"workflowId": "4ysmdoCtcyBHB0pW",
|
"workflowId": "4ysmdoCtcyBHB0pW",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
@@ -923,8 +970,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
-400,
|
64,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "2d6990ec-a638-463b-8364-7d6a77b9bb9b",
|
"id": "2d6990ec-a638-463b-8364-7d6a77b9bb9b",
|
||||||
"name": "Preparar crear"
|
"name": "Preparar crear"
|
||||||
@@ -936,8 +983,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
-400,
|
80,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "868962b2-1894-41e4-9028-598b96a9ccc1",
|
"id": "868962b2-1894-41e4-9028-598b96a9ccc1",
|
||||||
"name": "Preparar actualizar"
|
"name": "Preparar actualizar"
|
||||||
@@ -949,8 +996,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
-400,
|
192,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "57b9d7e3-084a-4d95-8ba2-309b83a71551",
|
"id": "57b9d7e3-084a-4d95-8ba2-309b83a71551",
|
||||||
"name": "Preparar eliminar"
|
"name": "Preparar eliminar"
|
||||||
@@ -962,8 +1009,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
-400,
|
272,
|
||||||
688
|
1344
|
||||||
],
|
],
|
||||||
"id": "8ffaf543-58e2-45c6-bcd3-0e56d9c18bc7",
|
"id": "8ffaf543-58e2-45c6-bcd3-0e56d9c18bc7",
|
||||||
"name": "Preparar sin acción"
|
"name": "Preparar sin acción"
|
||||||
@@ -991,8 +1038,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
-144,
|
320,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "6a998d06-8660-4b98-9f5b-58af9d92bda1",
|
"id": "6a998d06-8660-4b98-9f5b-58af9d92bda1",
|
||||||
"name": "Google Calendar - Crear evento",
|
"name": "Google Calendar - Crear evento",
|
||||||
@@ -1026,8 +1073,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
-144,
|
336,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "7831e93c-af0a-4505-80c0-c9707d5abff0",
|
"id": "7831e93c-af0a-4505-80c0-c9707d5abff0",
|
||||||
"name": "Google Calendar - Actualizar evento",
|
"name": "Google Calendar - Actualizar evento",
|
||||||
@@ -1049,8 +1096,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
-144,
|
448,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "d43bb286-0ce0-4e44-a9d9-5be15e325877",
|
"id": "d43bb286-0ce0-4e44-a9d9-5be15e325877",
|
||||||
"name": "Google Calendar - Eliminar evento",
|
"name": "Google Calendar - Eliminar evento",
|
||||||
@@ -1068,8 +1115,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
112,
|
576,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "3bc4fa25-5ab2-4f01-a36f-bb3ab678cff7",
|
"id": "3bc4fa25-5ab2-4f01-a36f-bb3ab678cff7",
|
||||||
"name": "Preparar registro creado"
|
"name": "Preparar registro creado"
|
||||||
@@ -1081,8 +1128,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
112,
|
592,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "19961094-0e2b-4b63-8afe-5996a8fe2d46",
|
"id": "19961094-0e2b-4b63-8afe-5996a8fe2d46",
|
||||||
"name": "Preparar registro actualizado"
|
"name": "Preparar registro actualizado"
|
||||||
@@ -1094,8 +1141,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
112,
|
704,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "2108e3aa-935b-4fa3-ad66-1ddce0676212",
|
"id": "2108e3aa-935b-4fa3-ad66-1ddce0676212",
|
||||||
"name": "Preparar registro eliminado"
|
"name": "Preparar registro eliminado"
|
||||||
@@ -1129,8 +1176,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
368,
|
832,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "bf61e834-6dd9-4838-b74a-927839a91ddc",
|
"id": "bf61e834-6dd9-4838-b74a-927839a91ddc",
|
||||||
"name": "Supabase - Registrar creación Calendar"
|
"name": "Supabase - Registrar creación Calendar"
|
||||||
@@ -1164,8 +1211,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
368,
|
848,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "78bda986-5713-427a-8852-d791dbc8a1cc",
|
"id": "78bda986-5713-427a-8852-d791dbc8a1cc",
|
||||||
"name": "Supabase - Registrar actualización Calendar"
|
"name": "Supabase - Registrar actualización Calendar"
|
||||||
@@ -1199,8 +1246,8 @@
|
|||||||
"type": "n8n-nodes-base.httpRequest",
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
368,
|
960,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "b05991ba-18fa-498a-a52e-f3b4bf296793",
|
"id": "b05991ba-18fa-498a-a52e-f3b4bf296793",
|
||||||
"name": "Supabase - Registrar eliminación Calendar"
|
"name": "Supabase - Registrar eliminación Calendar"
|
||||||
@@ -1228,8 +1275,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.4,
|
"typeVersion": 1.4,
|
||||||
"position": [
|
"position": [
|
||||||
624,
|
1088,
|
||||||
208
|
-64
|
||||||
],
|
],
|
||||||
"id": "8237b91a-ec81-4e45-9641-9138e354febe",
|
"id": "8237b91a-ec81-4e45-9641-9138e354febe",
|
||||||
"name": "Responder creación"
|
"name": "Responder creación"
|
||||||
@@ -1257,8 +1304,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.4,
|
"typeVersion": 1.4,
|
||||||
"position": [
|
"position": [
|
||||||
624,
|
1104,
|
||||||
368
|
352
|
||||||
],
|
],
|
||||||
"id": "954c7fd8-82d7-4460-9e0e-53c5e1bb30be",
|
"id": "954c7fd8-82d7-4460-9e0e-53c5e1bb30be",
|
||||||
"name": "Responder actualización"
|
"name": "Responder actualización"
|
||||||
@@ -1286,8 +1333,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.4,
|
"typeVersion": 1.4,
|
||||||
"position": [
|
"position": [
|
||||||
624,
|
1216,
|
||||||
528
|
1088
|
||||||
],
|
],
|
||||||
"id": "c4542b04-2b4e-49da-b189-ed6d4fda092d",
|
"id": "c4542b04-2b4e-49da-b189-ed6d4fda092d",
|
||||||
"name": "Responder eliminación"
|
"name": "Responder eliminación"
|
||||||
@@ -1311,8 +1358,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.4,
|
"typeVersion": 1.4,
|
||||||
"position": [
|
"position": [
|
||||||
-144,
|
528,
|
||||||
688
|
1344
|
||||||
],
|
],
|
||||||
"id": "8a17b617-3311-47a9-9ac6-153894215600",
|
"id": "8a17b617-3311-47a9-9ac6-153894215600",
|
||||||
"name": "Responder sin acción"
|
"name": "Responder sin acción"
|
||||||
@@ -1341,6 +1388,53 @@
|
|||||||
],
|
],
|
||||||
"id": "328640f6-5d22-46a0-89dc-46580ec2f6a8",
|
"id": "328640f6-5d22-46a0-89dc-46580ec2f6a8",
|
||||||
"name": "Responder solicitud inválida"
|
"name": "Responder solicitud inválida"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## 1. VALIDACIÓN Y PREPARACIÓN\n\nRecibe desde la aplicación una solicitud relacionada con un evento fiscal y prepara toda la información necesaria para procesarla.\n\n- Normaliza los datos recibidos y determina la acción solicitada.\n- Valida que la obligación, las fechas y los parámetros obligatorios sean correctos.\n- Devuelve una respuesta controlada cuando la solicitud es inválida.\n- Consulta en Supabase la obligación y las personas que deben asistir al evento.\n- Construye el payload final que se utilizará para crear, actualizar, eliminar o ignorar el evento en Google Calendar.",
|
||||||
|
"height": 640,
|
||||||
|
"width": 1248,
|
||||||
|
"color": 3
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
-1744,
|
||||||
|
144
|
||||||
|
],
|
||||||
|
"id": "11ca21e4-8360-45fe-a2d3-6ce1cccde67a",
|
||||||
|
"name": "Sticky Note"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## 2. CREACIÓN Y ACTUALIZACIÓN\n\nGestiona la creación de nuevos eventos y la actualización de eventos existentes en Google Calendar.\n\n- Prepara los datos específicos según la operación solicitada.\n- Crea o actualiza el evento con sus fechas, descripción y asistentes.\n- Normaliza la respuesta devuelta por Google Calendar.\n- Registra en Supabase el identificador del evento y el resultado de la sincronización.\n- Devuelve a la aplicación una confirmación de la operación realizada.",
|
||||||
|
"height": 864,
|
||||||
|
"width": 1360,
|
||||||
|
"color": 5
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
-64,
|
||||||
|
-288
|
||||||
|
],
|
||||||
|
"id": "60ca5c9c-62fa-40ac-93a2-653efbe41002",
|
||||||
|
"name": "Sticky Note1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## 3. ELIMINACIÓN Y CONTROL SIN ACCIÓN\n\nGestiona la eliminación de eventos y los casos en los que no es necesario modificar Google Calendar.\n\n- Prepara y ejecuta la eliminación del evento correspondiente.\n- Registra en Supabase que el evento fue eliminado y limpia su referencia.\n- Devuelve una confirmación cuando la eliminación finaliza correctamente.\n- Detecta solicitudes que no requieren crear, actualizar ni eliminar.\n- Responde de forma controlada sin realizar cambios innecesarios en el calendario.",
|
||||||
|
"height": 624,
|
||||||
|
"width": 1328
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
96,
|
||||||
|
880
|
||||||
|
],
|
||||||
|
"id": "d38de08e-0f21-43a6-a75f-8ebc5be4dd34",
|
||||||
|
"name": "Sticky Note2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
@@ -1566,15 +1660,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"authors": "Isaac Aracena",
|
"authors": "Isaac Aracena",
|
||||||
"name": "Version 2d288ae2",
|
"name": "Version 5b0b0ad1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"autosaved": true,
|
"autosaved": true,
|
||||||
"workflowPublishHistory": [
|
"workflowPublishHistory": [
|
||||||
{
|
{
|
||||||
"createdAt": "2026-08-01T13:39:06.820Z",
|
"createdAt": "2026-08-06T18:23:01.474Z",
|
||||||
"id": 3817,
|
"id": 4257,
|
||||||
"workflowId": "4ysmdoCtcyBHB0pW",
|
"workflowId": "4ysmdoCtcyBHB0pW",
|
||||||
"versionId": "2d288ae2-36eb-44a6-8ded-442efef8f8fe",
|
"versionId": "5b0b0ad1-26c8-4965-b5d1-3bda834ae3a4",
|
||||||
"event": "activated",
|
"event": "activated",
|
||||||
"userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029"
|
"userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user