From e4a6df46e32372a878032e422275ae639ab97d1e Mon Sep 17 00:00:00 2001 From: EidanThen Date: Thu, 25 Jun 2026 14:39:44 +0000 Subject: [PATCH] Update glmway-workflow.json --- glmway-workflow.json | 1119 +++++++++++++++++++++++++++++++----------- 1 file changed, 830 insertions(+), 289 deletions(-) diff --git a/glmway-workflow.json b/glmway-workflow.json index fb63a5b..926c6c6 100644 --- a/glmway-workflow.json +++ b/glmway-workflow.json @@ -1,6 +1,6 @@ { "$json": { - "updatedAt": "2026-06-18T18:09:59.818Z", + "updatedAt": "2026-06-25T14:04:01.071Z", "createdAt": "2026-06-08T13:50:12.174Z", "id": "F1iPg8hktNAebZua", "name": "GLMWay", @@ -29,8 +29,8 @@ "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [ - 2368, - 800 + 3120, + 768 ], "id": "a2082638-94e3-4a91-aeac-f7849833a6a1", "name": "When clicking ‘Execute workflow’" @@ -49,8 +49,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 3328, - 912 + 4080, + 880 ], "id": "e428eaaf-f678-45ac-bbcc-926f8bd574b7", "name": "Subir archivo", @@ -76,8 +76,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 2720, - 800 + 3472, + 768 ], "id": "58d2c064-8982-42b0-8f1a-a10d018dff94", "name": "Obtener archivo", @@ -103,8 +103,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 3328, - 704 + 4080, + 672 ], "id": "f804d797-946f-4673-8291-308d47ede436", "name": "Actualizar archivo", @@ -129,8 +129,8 @@ "type": "n8n-nodes-base.n8n", "typeVersion": 1, "position": [ - 2976, - 704 + 3728, + 672 ], "id": "a6420476-f217-4079-b7a0-194969a2dac2", "name": "Get a workflow1", @@ -155,8 +155,8 @@ "type": "n8n-nodes-base.n8n", "typeVersion": 1, "position": [ - 2976, - 912 + 3728, + 880 ], "id": "f96e2477-f9db-4d36-a162-836d05dcd8ab", "name": "Get a workflow2", @@ -196,8 +196,8 @@ "type": "n8n-nodes-base.set", "typeVersion": 3.4, "position": [ - 2544, - 800 + 3296, + 768 ], "id": "fa4f3a95-6fe7-41c4-9a90-f4a3f58e06a8", "name": "Valores" @@ -209,8 +209,8 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 3152, - 704 + 3904, + 672 ], "id": "5d50d650-f0b6-4046-b9c1-974664b655f6", "name": "Code in JavaScript2" @@ -222,8 +222,8 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 3152, - 912 + 3904, + 880 ], "id": "30ffb25f-3ad7-465d-9630-887828df95f6", "name": "Code in JavaScript4" @@ -694,8 +694,8 @@ "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1.3, "position": [ - 2528, - 1584 + 1440, + 928 ], "id": "7f7d71b2-6c53-49a2-92d8-e66b2d0bff54", "name": "Schedule Trigger" @@ -1871,17 +1871,17 @@ "parameters": { "documentId": { "__rl": true, - "value": "1DzUjeikfp8eSdFqEW0LEZZBkn13jI8Uhy15DjGZ2tK4", + "value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg", "mode": "list", - "cachedResultName": "Empleados GLM Prueba", - "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1DzUjeikfp8eSdFqEW0LEZZBkn13jI8Uhy15DjGZ2tK4/edit?usp=drivesdk" + "cachedResultName": "Calendario #TheGLMWay", + "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk" }, "sheetName": { "__rl": true, - "value": "gid=0", + "value": 169172567, "mode": "list", - "cachedResultName": "Hoja 1", - "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1DzUjeikfp8eSdFqEW0LEZZBkn13jI8Uhy15DjGZ2tK4/edit#gid=0" + "cachedResultName": "Coordinadores RRHH", + "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=169172567" }, "filtersUI": { "values": [ @@ -1917,17 +1917,17 @@ "parameters": { "documentId": { "__rl": true, - "value": "1d0zzySeQcp9HWyJNe6v5YvubUgXGGcWI0ttntLfCTOE", + "value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg", "mode": "list", - "cachedResultName": "Copia de GLM_GLMWay_Calendario de Entrenamientos", - "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d0zzySeQcp9HWyJNe6v5YvubUgXGGcWI0ttntLfCTOE/edit?usp=drivesdk" + "cachedResultName": "Calendario #TheGLMWay", + "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk" }, "sheetName": { "__rl": true, - "value": 724334980, + "value": 169172567, "mode": "list", - "cachedResultName": "Coordinador RRHH", - "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d0zzySeQcp9HWyJNe6v5YvubUgXGGcWI0ttntLfCTOE/edit#gid=724334980" + "cachedResultName": "Coordinadores RRHH", + "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=169172567" }, "filtersUI": { "values": [ @@ -2034,8 +2034,8 @@ "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1.3, "position": [ - 1664, - 1248 + 1632, + 1568 ], "id": "7dd9a706-4d80-45c6-942a-c703eb074a20", "name": "Entrenamiento español2", @@ -2064,8 +2064,8 @@ "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1.3, "position": [ - 1664, - 1072 + 1632, + 1392 ], "id": "d8253a7a-4e37-4c14-b4da-e0029571cd21", "name": "Entrenamiento ingles5", @@ -2083,8 +2083,8 @@ }, "type": "n8n-nodes-base.stickyNote", "position": [ - 1424, - 704 + 3232, + 368 ], "typeVersion": 1, "id": "e5378554-9885-4e6d-ab6a-e2cb857c342a", @@ -3030,19 +3030,6 @@ "id": "bbd0558c-3b3a-462b-957c-83b1975e5413", "name": "Calcular falta 24h o es el mismo dia" }, - { - "parameters": { - "jsCode": "const fecha_sesion = $input.first().json.fecha_sesion_inscrito;\n\n// Fecha de hoy\nconst fecha_hoy = new Date().toISOString().split('T')[0];\n\nconst hoy = new Date(fecha_hoy);\nconst sesion = new Date(fecha_sesion);\n\n// Diferencia en días\nconst diferenciaDias = Math.floor(\n (sesion - hoy) / (1000 * 60 * 60 * 24)\n);\n\n// True si es hoy (0 días) o mañana (1 día)\nconst isValid = diferenciaDias >= 0 && diferenciaDias <= 1;\n\nreturn [\n {\n json: {\n fecha_sesion,\n fecha_hoy,\n diferenciaDias,\n isValid\n }\n }\n];" - }, - "type": "n8n-nodes-base.code", - "typeVersion": 2, - "position": [ - 208, - 1488 - ], - "id": "3e2b4cde-d7aa-4879-aa55-f1a169c16bd3", - "name": "Calcular falta 48h" - }, { "parameters": { "operation": "update", @@ -3187,8 +3174,8 @@ "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ - 3936, - -80 + 3856, + 432 ], "id": "ddfe7158-8cc6-440c-9e59-de97b7124eb8", "name": "Obtener coordinador2", @@ -3230,51 +3217,6 @@ } } }, - { - "parameters": { - "operation": "getAll", - "calendar": { - "__rl": true, - "value": "ethen@gomezleemarketing.com", - "mode": "list", - "cachedResultName": "ethen@gomezleemarketing.com" - }, - "returnAll": true, - "timeMin": "={{ $now.startOf('year') }}", - "timeMax": "={{ $now.endOf('year') }}", - "options": { - "orderBy": "startTime", - "query": "#TheGLMWay" - } - }, - "type": "n8n-nodes-base.googleCalendar", - "typeVersion": 1.3, - "position": [ - 2640, - -352 - ], - "id": "b2b03ce6-6010-4e4f-be7a-d9040286e295", - "name": "Entrenamiento español5", - "credentials": { - "googleCalendarOAuth2Api": { - "id": "yEmGG4av5RxOK7wu", - "name": "Eidan - Google Calendar account" - } - } - }, - { - "parameters": { - "jsCode": "const months = [\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"];\n\nfunction formatDate(dateTimeStr) {\n if (!dateTimeStr) return null;\n const datePart = dateTimeStr.split('T')[0]; // \"2026-01-07\"\n const [year, month, day] = datePart.split('-');\n return `${parseInt(day, 10)} ${months[parseInt(month, 10) - 1]}`;\n}\n\nconst output = [];\n\nfor (const item of $input.all()) {\n const event = item.json;\n output.push({\n json: {\n id: event.id,\n summary: event.summary,\n start: formatDate(event.start?.dateTime || event.start?.date),\n end: formatDate(event.end?.dateTime || event.end?.date)\n }\n });\n}\n\nreturn output;" - }, - "type": "n8n-nodes-base.code", - "typeVersion": 2, - "position": [ - 2816, - -352 - ], - "id": "73c39af9-bc01-4d97-81ee-846aff70b3a6", - "name": "Code in JavaScript" - }, { "parameters": { "jsCode": "const monthNames = ['January','February','March','April','May','June','July',\n 'August','September','October','November','December'];\n\nreturn items.map(item => {\n const event = item.json;\n const startStr = event.start.dateTime || event.start.date;\n const datePart = startStr.split('T')[0]; // \"2026-06-21\"\n const [year, month, day] = datePart.split('-').map(Number);\n const formattedDate = `${day} ${monthNames[month - 1]}`;\n\n const summary = event.summary || '';\n const organizerName = event.organizer?.displayName \n || (event.organizer?.email ? event.organizer.email.split('@')[0] : '');\n\n let espanol = '';\n let english = '';\n\n if (summary.toLowerCase().includes('entrenamiento')) {\n espanol = organizerName;\n } else if (summary.toLowerCase().includes('training')) {\n english = organizerName;\n }\n\n return {\n json: {\n Fecha: formattedDate,\n Espanol: espanol,\n English: english\n }\n };\n});" @@ -3282,8 +3224,8 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 4144, - -32 + 4064, + 480 ], "id": "41289b04-a9f4-4abc-8816-5afccd0e7996", "name": "Code in JavaScript1" @@ -3302,7 +3244,7 @@ "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1.3, "position": [ - 2448, + 2368, -352 ], "id": "ca136518-b776-45ba-b1a2-ad5327dd4cca", @@ -3322,7 +3264,7 @@ "__rl": true, "value": "gid=0", "mode": "list", - "cachedResultName": "Hoja 1", + "cachedResultName": "Calendario", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=0" }, "columns": { @@ -3353,7 +3295,7 @@ "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ - 3360, + 3264, -352 ], "id": "7c321f7d-bce9-447c-b94c-35f6967a48e3", @@ -3371,7 +3313,7 @@ "type": "n8n-nodes-base.wait", "typeVersion": 1.1, "position": [ - 3168, + 3088, -352 ], "id": "27531838-5dc7-4169-a08a-f4da93899580", @@ -3392,7 +3334,7 @@ "__rl": true, "value": "gid=0", "mode": "list", - "cachedResultName": "Hoja 1", + "cachedResultName": "Calendario", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=0" }, "clear": "specificRange", @@ -3401,7 +3343,7 @@ "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ - 2992, + 2912, -352 ], "id": "bd8cb535-6aa3-46df-9ca0-6efc0555f2e4", @@ -3422,7 +3364,7 @@ }, "type": "n8n-nodes-base.stickyNote", "position": [ - 2416, + 2336, -480 ], "typeVersion": 1, @@ -3557,22 +3499,29 @@ }, { "parameters": { - "url": "=https://www.googleapis.com/calendar/v3/calendars/primary/events/{{ $json.id }}", + "url": "=https://meet.googleapis.com/v2/conferenceRecords/{{ $json.id }}/participants", "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", "options": {} }, "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 80, - 2656 + 448, + 3088 ], "id": "ef89ad57-bdc8-4d9d-a250-41706ec900c1", - "name": "HTTP Request" + "name": "HTTP Request", + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } }, { "parameters": { - "url": "=https://www.googleapis.com/calendar/v3/calendars/primary/events/{{ $json.id }}", + "url": "=\nhttps://meet.googleapis.com/v2/conferenceRecords/{conferenceRecordId}/participants/{participantId}/participantSessions", "authentication": "predefinedCredentialType", "nodeCredentialType": "googleOAuth2Api", "options": {} @@ -3582,8 +3531,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.1, "position": [ - -128, - 2848 + 272, + 3248 ], "credentials": { "googleOAuth2Api": { @@ -3600,11 +3549,346 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 112, - 3248 + 64, + 3264 ], "id": "602289b9-3c7d-4ced-b507-b27401ed9910", "name": "HTTP Request1" + }, + { + "parameters": { + "url": "=https://www.googleapis.com/calendar/v3/calendars/primary/events/{{ $json.id }}", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "options": {} + }, + "id": "c32466aa-a6d5-4d13-940f-553a6ab87107", + "name": "HTTP Request - Get Meet Artifacts1", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.1, + "position": [ + 96, + 2656 + ], + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "url": "=https://meet.googleapis.com/v2/aao-ixkr-uwu/participants", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "options": {} + }, + "id": "904cdfbe-b252-414b-9859-3f8e85e7e118", + "name": "HTTP Request - Get Meet Artifacts2", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.1, + "position": [ + 256, + 2976 + ], + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "url": "=https://meet.googleapis.com/v2/conferenceRecords", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "sendQuery": true, + "queryParameters": { + "parameters": [ + { + "name": "filter", + "value": "start_time>=\"2026-01-01T00:00:00Z\"" + } + ] + }, + "options": {} + }, + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.4, + "position": [ + -144, + 2848 + ], + "id": "955614d8-60a7-4762-8c02-86ac33e54cb3", + "name": "HTTP Request2", + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "url": "=https://meet.googleapis.com/v2/conferenceRecords/hFRcUdt3dvlZlJ6L1Wo6DxITOAIIigIgABgBCA/participants", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "sendQuery": true, + "queryParameters": { + "parameters": [] + }, + "options": {} + }, + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.4, + "position": [ + 64, + 2848 + ], + "id": "a84173c0-db9f-4251-af6b-6e475541fc52", + "name": "HTTP Request3", + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "jsCode": "const fecha_sesion = $input.first().json.fecha_sesion_inscrito;\n\n// Fecha de hoy\nconst fecha_hoy = new Date().toISOString().split('T')[0];\nconst hoy = new Date(fecha_hoy);\nconst sesion = new Date(fecha_sesion);\n\n// Diferencia en días\nconst diferenciaDias = Math.floor(\n (sesion - hoy) / (1000 * 60 * 60 * 24)\n);\n\n// True si es hoy (0 días), mañana (1 día) o pasado mañana (2 días)\nconst isValid = diferenciaDias >= 0 && diferenciaDias <= 2;\n\nreturn [\n {\n json: {\n fecha_sesion,\n fecha_hoy,\n diferenciaDias,\n isValid\n }\n }\n];" + }, + "type": "n8n-nodes-base.code", + "typeVersion": 2, + "position": [ + 208, + 1488 + ], + "id": "3e2b4cde-d7aa-4879-aa55-f1a169c16bd3", + "name": "Calcular falta 48h o 24h" + }, + { + "parameters": { + "content": "## Aviso a instructor si no hay nadie inscrito a la sesion del dia\n", + "height": 464, + "width": 1552, + "color": 6 + }, + "type": "n8n-nodes-base.stickyNote", + "position": [ + 1392, + 736 + ], + "typeVersion": 1, + "id": "de09868e-4a06-4c64-9e66-aae9e14b9896", + "name": "Sticky Note11" + }, + { + "parameters": { + "operation": "getAll", + "calendar": { + "__rl": true, + "value": "ethen@gomezleemarketing.com", + "mode": "list", + "cachedResultName": "ethen@gomezleemarketing.com" + }, + "returnAll": true, + "timeMin": "={{ $now.startOf('year') }}", + "timeMax": "={{ $now.endOf('year') }}", + "options": { + "orderBy": "startTime", + "query": "#TheGLMWay" + } + }, + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1.3, + "position": [ + 2560, + -352 + ], + "id": "b2b03ce6-6010-4e4f-be7a-d9040286e295", + "name": "Obtener entrenamientos ingles y espanol", + "credentials": { + "googleCalendarOAuth2Api": { + "id": "yEmGG4av5RxOK7wu", + "name": "Eidan - Google Calendar account" + } + } + }, + { + "parameters": { + "jsCode": "const months = [\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"];\n\nfunction formatDate(dateTimeStr) {\n if (!dateTimeStr) return null;\n const datePart = dateTimeStr.split('T')[0]; // \"2026-01-07\"\n const [year, month, day] = datePart.split('-');\n return `${parseInt(day, 10)} ${months[parseInt(month, 10) - 1]}`;\n}\n\nconst output = [];\n\nfor (const item of $input.all()) {\n const event = item.json;\n output.push({\n json: {\n id: event.id,\n summary: event.summary,\n start: formatDate(event.start?.dateTime || event.start?.date),\n end: formatDate(event.end?.dateTime || event.end?.date)\n }\n });\n}\n\nreturn output;" + }, + "type": "n8n-nodes-base.code", + "typeVersion": 2, + "position": [ + 2736, + -352 + ], + "id": "73c39af9-bc01-4d97-81ee-846aff70b3a6", + "name": "Formatear fecha" + }, + { + "parameters": { + "rule": { + "interval": [ + { + "field": "cronExpression", + "expression": "0 0 0 1 1 *" + } + ] + } + }, + "type": "n8n-nodes-base.scheduleTrigger", + "typeVersion": 1.3, + "position": [ + 2384, + -32 + ], + "id": "55a755d8-8b74-440f-93c6-8a1ecba4c666", + "name": "Schedule Trigger5" + }, + { + "parameters": { + "content": "## Añadir/actualizar coordinadores RRHH\n\nEste trigger se activa todos los años el 1 de enero", + "height": 272, + "width": 1072 + }, + "type": "n8n-nodes-base.stickyNote", + "position": [ + 2336, + -160 + ], + "typeVersion": 1, + "id": "3fd1379f-78d1-40a8-b24f-f8f086fda80a", + "name": "Sticky Note12" + }, + { + "parameters": { + "operation": "getAll", + "calendar": { + "__rl": true, + "value": "ethen@gomezleemarketing.com", + "mode": "list", + "cachedResultName": "ethen@gomezleemarketing.com" + }, + "returnAll": true, + "timeMin": "={{ $now.startOf('year') }}", + "timeMax": "={{ $now.endOf('year') }}", + "options": { + "orderBy": "startTime", + "query": "#TheGLMWay" + } + }, + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1.3, + "position": [ + 3584, + -272 + ], + "id": "3c32f96e-cd34-4be4-8c24-b4be7a8f29d9", + "name": "Obtener entrenamientos ingles y espanol1", + "credentials": { + "googleCalendarOAuth2Api": { + "id": "yEmGG4av5RxOK7wu", + "name": "Eidan - Google Calendar account" + } + } + }, + { + "parameters": { + "jsCode": "const months = [\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"];\n\nfunction formatDate(dateTimeStr) {\n if (!dateTimeStr) return null;\n const datePart = dateTimeStr.split('T')[0]; // \"2026-01-07\"\n const [year, month, day] = datePart.split('-');\n return `${parseInt(day, 10)} ${months[parseInt(month, 10) - 1]}`;\n}\n\nconst output = [];\n\nfor (const item of $input.all()) {\n const event = item.json;\n output.push({\n json: {\n id: event.id,\n summary: event.summary,\n start: formatDate(event.start?.dateTime || event.start?.date),\n end: formatDate(event.end?.dateTime || event.end?.date)\n }\n });\n}\n\nreturn output;" + }, + "type": "n8n-nodes-base.code", + "typeVersion": 2, + "position": [ + 3760, + -272 + ], + "id": "8f80d9ca-1e4b-4753-b482-df7b0fd24f61", + "name": "Formatear fecha1" + }, + { + "parameters": { + "documentId": { + "__rl": true, + "value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg", + "mode": "list", + "cachedResultName": "Calendario GLMWay Prueba", + "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk" + }, + "sheetName": { + "__rl": true, + "value": 169172567, + "mode": "list", + "cachedResultName": "Coordinadores RRHH", + "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=169172567" + }, + "options": {} + }, + "type": "n8n-nodes-base.googleSheets", + "typeVersion": 4.7, + "position": [ + 2560, + -32 + ], + "id": "73089147-ba1f-4fb4-ac17-d5670b263fd8", + "name": "Obtener coordinadores", + "alwaysOutputData": false, + "credentials": { + "googleSheetsOAuth2Api": { + "id": "8Pp0ek3NPsEkyXfY", + "name": "Eidan - Google Sheets account" + } + } + }, + { + "parameters": { + "method": "POST", + "url": "https://dbit.digitalcompass.agency/rest/v1/rpc/insertar_coordinadores_rrhh_glmway", + "sendHeaders": true, + "headerParameters": { + "parameters": [ + { + "name": "apikey", + "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZXJ2aWNlX3JvbGUiLAogICAgImlzcyI6ICJzdXBhYmFzZS1kZW1vIiwKICAgICJpYXQiOiAxNjQxNzY5MjAwLAogICAgImV4cCI6IDE3OTk1MzU2MDAKfQ.DaYlNEoUrrEn2Ig7tqibS-PHK5vgusbcbo7X36XVt4Q" + }, + { + "name": "Authorization", + "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZXJ2aWNlX3JvbGUiLAogICAgImlzcyI6ICJzdXBhYmFzZS1kZW1vIiwKICAgICJpYXQiOiAxNjQxNzY5MjAwLAogICAgImV4cCI6IDE3OTk1MzU2MDAKfQ.DaYlNEoUrrEn2Ig7tqibS-PHK5vgusbcbo7X36XVt4Q" + } + ] + }, + "sendBody": true, + "specifyBody": "json", + "jsonBody": "={{ JSON.stringify({ \"input\": $json.input }) }}", + "options": {} + }, + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.4, + "position": [ + 2896, + -32 + ], + "id": "231f396b-855a-4c50-8d6d-096018e6d2ac", + "name": "Insertar/actualizar coordinadores a la bd" + }, + { + "parameters": { + "aggregate": "aggregateAllItemData", + "destinationFieldName": "input", + "options": {} + }, + "type": "n8n-nodes-base.aggregate", + "typeVersion": 1, + "position": [ + 2720, + -32 + ], + "id": "e51bd2d5-22b5-46cf-b346-c1ba16bb5c34", + "name": "Aggregate" } ], "connections": { @@ -4374,7 +4658,7 @@ [], [ { - "node": "Calcular falta 48h", + "node": "Calcular falta 48h o 24h", "type": "main", "index": 0 } @@ -4461,17 +4745,6 @@ ] ] }, - "Calcular falta 48h": { - "main": [ - [ - { - "node": "Falta 48h para el evento?1", - "type": "main", - "index": 0 - } - ] - ] - }, "Actualizar datos del empleado y sesion asignada3": { "main": [ [ @@ -4501,33 +4774,11 @@ ] ] }, - "Entrenamiento español5": { - "main": [ - [ - { - "node": "Code in JavaScript", - "type": "main", - "index": 0 - } - ] - ] - }, - "Code in JavaScript": { - "main": [ - [ - { - "node": "Borrar fechas", - "type": "main", - "index": 0 - } - ] - ] - }, "Schedule Trigger4": { "main": [ [ { - "node": "Entrenamiento español5", + "node": "Obtener entrenamientos ingles y espanol", "type": "main", "index": 0 } @@ -4587,7 +4838,100 @@ "main": [ [ { - "node": "HTTP Request - Get Meet Artifacts", + "node": "HTTP Request2", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTTP Request2": { + "main": [ + [ + { + "node": "HTTP Request3", + "type": "main", + "index": 0 + } + ] + ] + }, + "Calcular falta 48h o 24h": { + "main": [ + [ + { + "node": "Falta 48h para el evento?1", + "type": "main", + "index": 0 + } + ] + ] + }, + "Obtener entrenamientos ingles y espanol": { + "main": [ + [ + { + "node": "Formatear fecha", + "type": "main", + "index": 0 + } + ] + ] + }, + "Formatear fecha": { + "main": [ + [ + { + "node": "Borrar fechas", + "type": "main", + "index": 0 + } + ] + ] + }, + "Schedule Trigger5": { + "main": [ + [ + { + "node": "Obtener coordinadores", + "type": "main", + "index": 0 + } + ] + ] + }, + "Obtener entrenamientos ingles y espanol1": { + "main": [ + [ + { + "node": "Formatear fecha1", + "type": "main", + "index": 0 + } + ] + ] + }, + "Formatear fecha1": { + "main": [ + [] + ] + }, + "Obtener coordinadores": { + "main": [ + [ + { + "node": "Aggregate", + "type": "main", + "index": 0 + } + ] + ] + }, + "Aggregate": { + "main": [ + [ + { + "node": "Insertar/actualizar coordinadores a la bd", "type": "main", "index": 0 } @@ -4616,19 +4960,19 @@ "recurrenceRules": [] }, "node:Comenzo evento ingles": { - "lastTimeChecked": "2026-06-18T19:00:16Z" + "lastTimeChecked": "2026-06-25T13:59:54Z" }, "node:Comenzo evento español": { - "lastTimeChecked": "2026-06-18T19:00:44Z" + "lastTimeChecked": "2026-06-25T14:00:41Z" }, "node:Termino evento español": { - "lastTimeChecked": "2026-06-18T19:00:04Z" + "lastTimeChecked": "2026-06-25T14:00:06Z" }, "node:Termino evento ingles": { - "lastTimeChecked": "2026-06-18T19:00:53Z" + "lastTimeChecked": "2026-06-25T14:00:30Z" }, "node:Prueba": { - "lastTimeChecked": "2026-06-18T19:00:13Z" + "lastTimeChecked": "2026-06-25T14:00:48Z" }, "node:Schedule Trigger2": { "recurrenceRules": [] @@ -4911,9 +5255,9 @@ } ] }, - "versionId": "418389d3-a4fd-4de4-bbc5-0b1c84ff6245", - "activeVersionId": "1cb8b929-7b1f-4f69-9db2-b63d06e856ed", - "versionCounter": 1819, + "versionId": "9ad1c571-054b-4af2-b236-1c01d5e65aa0", + "activeVersionId": "6ca51636-d05f-4cba-be43-c1d7f39a2ecb", + "versionCounter": 2358, "triggerCount": 11, "shared": [ { @@ -4936,9 +5280,9 @@ ], "tags": [], "activeVersion": { - "updatedAt": "2026-06-18T01:11:29.000Z", - "createdAt": "2026-06-17T21:53:06.520Z", - "versionId": "1cb8b929-7b1f-4f69-9db2-b63d06e856ed", + "updatedAt": "2026-06-24T14:46:24.000Z", + "createdAt": "2026-06-24T14:46:21.865Z", + "versionId": "6ca51636-d05f-4cba-be43-c1d7f39a2ecb", "workflowId": "F1iPg8hktNAebZua", "nodes": [ { @@ -4962,8 +5306,8 @@ "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [ - 2368, - 800 + 3120, + 768 ], "id": "a2082638-94e3-4a91-aeac-f7849833a6a1", "name": "When clicking ‘Execute workflow’" @@ -4982,8 +5326,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 3328, - 912 + 4080, + 880 ], "id": "e428eaaf-f678-45ac-bbcc-926f8bd574b7", "name": "Subir archivo", @@ -5009,8 +5353,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 2720, - 800 + 3472, + 768 ], "id": "58d2c064-8982-42b0-8f1a-a10d018dff94", "name": "Obtener archivo", @@ -5036,8 +5380,8 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 3328, - 704 + 4080, + 672 ], "id": "f804d797-946f-4673-8291-308d47ede436", "name": "Actualizar archivo", @@ -5062,8 +5406,8 @@ "type": "n8n-nodes-base.n8n", "typeVersion": 1, "position": [ - 2976, - 704 + 3728, + 672 ], "id": "a6420476-f217-4079-b7a0-194969a2dac2", "name": "Get a workflow1", @@ -5088,8 +5432,8 @@ "type": "n8n-nodes-base.n8n", "typeVersion": 1, "position": [ - 2976, - 912 + 3728, + 880 ], "id": "f96e2477-f9db-4d36-a162-836d05dcd8ab", "name": "Get a workflow2", @@ -5129,8 +5473,8 @@ "type": "n8n-nodes-base.set", "typeVersion": 3.4, "position": [ - 2544, - 800 + 3296, + 768 ], "id": "fa4f3a95-6fe7-41c4-9a90-f4a3f58e06a8", "name": "Valores" @@ -5142,8 +5486,8 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 3152, - 704 + 3904, + 672 ], "id": "5d50d650-f0b6-4046-b9c1-974664b655f6", "name": "Code in JavaScript2" @@ -5155,8 +5499,8 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 3152, - 912 + 3904, + 880 ], "id": "30ffb25f-3ad7-465d-9630-887828df95f6", "name": "Code in JavaScript4" @@ -5627,8 +5971,8 @@ "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1.3, "position": [ - 2528, - 1584 + 1440, + 928 ], "id": "7f7d71b2-6c53-49a2-92d8-e66b2d0bff54", "name": "Schedule Trigger" @@ -7016,8 +7360,8 @@ }, "type": "n8n-nodes-base.stickyNote", "position": [ - 1424, - 704 + 3232, + 368 ], "typeVersion": 1, "id": "e5378554-9885-4e6d-ab6a-e2cb857c342a", @@ -7963,19 +8307,6 @@ "id": "bbd0558c-3b3a-462b-957c-83b1975e5413", "name": "Calcular falta 24h o es el mismo dia" }, - { - "parameters": { - "jsCode": "const fecha_sesion = $input.first().json.fecha_sesion_inscrito;\n\n// Fecha de hoy\nconst fecha_hoy = new Date().toISOString().split('T')[0];\n\nconst hoy = new Date(fecha_hoy);\nconst sesion = new Date(fecha_sesion);\n\n// Diferencia en días\nconst diferenciaDias = Math.floor(\n (sesion - hoy) / (1000 * 60 * 60 * 24)\n);\n\n// True si es hoy (0 días) o mañana (1 día)\nconst isValid = diferenciaDias >= 0 && diferenciaDias <= 1;\n\nreturn [\n {\n json: {\n fecha_sesion,\n fecha_hoy,\n diferenciaDias,\n isValid\n }\n }\n];" - }, - "type": "n8n-nodes-base.code", - "typeVersion": 2, - "position": [ - 208, - 1488 - ], - "id": "3e2b4cde-d7aa-4879-aa55-f1a169c16bd3", - "name": "Calcular falta 48h" - }, { "parameters": { "operation": "update", @@ -8120,8 +8451,8 @@ "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ - 3936, - -80 + 3568, + -16 ], "id": "ddfe7158-8cc6-440c-9e59-de97b7124eb8", "name": "Obtener coordinador2", @@ -8163,51 +8494,6 @@ } } }, - { - "parameters": { - "operation": "getAll", - "calendar": { - "__rl": true, - "value": "ethen@gomezleemarketing.com", - "mode": "list", - "cachedResultName": "ethen@gomezleemarketing.com" - }, - "returnAll": true, - "timeMin": "={{ $now.startOf('year') }}", - "timeMax": "={{ $now.endOf('year') }}", - "options": { - "orderBy": "startTime", - "query": "#TheGLMWay" - } - }, - "type": "n8n-nodes-base.googleCalendar", - "typeVersion": 1.3, - "position": [ - 2640, - -352 - ], - "id": "b2b03ce6-6010-4e4f-be7a-d9040286e295", - "name": "Entrenamiento español5", - "credentials": { - "googleCalendarOAuth2Api": { - "id": "yEmGG4av5RxOK7wu", - "name": "Eidan - Google Calendar account" - } - } - }, - { - "parameters": { - "jsCode": "const months = [\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"];\n\nfunction formatDate(dateTimeStr) {\n if (!dateTimeStr) return null;\n const datePart = dateTimeStr.split('T')[0]; // \"2026-01-07\"\n const [year, month, day] = datePart.split('-');\n return `${parseInt(day, 10)} ${months[parseInt(month, 10) - 1]}`;\n}\n\nconst output = [];\n\nfor (const item of $input.all()) {\n const event = item.json;\n output.push({\n json: {\n id: event.id,\n summary: event.summary,\n start: formatDate(event.start?.dateTime || event.start?.date),\n end: formatDate(event.end?.dateTime || event.end?.date)\n }\n });\n}\n\nreturn output;" - }, - "type": "n8n-nodes-base.code", - "typeVersion": 2, - "position": [ - 2816, - -352 - ], - "id": "73c39af9-bc01-4d97-81ee-846aff70b3a6", - "name": "Code in JavaScript" - }, { "parameters": { "jsCode": "const monthNames = ['January','February','March','April','May','June','July',\n 'August','September','October','November','December'];\n\nreturn items.map(item => {\n const event = item.json;\n const startStr = event.start.dateTime || event.start.date;\n const datePart = startStr.split('T')[0]; // \"2026-06-21\"\n const [year, month, day] = datePart.split('-').map(Number);\n const formattedDate = `${day} ${monthNames[month - 1]}`;\n\n const summary = event.summary || '';\n const organizerName = event.organizer?.displayName \n || (event.organizer?.email ? event.organizer.email.split('@')[0] : '');\n\n let espanol = '';\n let english = '';\n\n if (summary.toLowerCase().includes('entrenamiento')) {\n espanol = organizerName;\n } else if (summary.toLowerCase().includes('training')) {\n english = organizerName;\n }\n\n return {\n json: {\n Fecha: formattedDate,\n Espanol: espanol,\n English: english\n }\n };\n});" @@ -8215,8 +8501,8 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 4144, - -32 + 3776, + 32 ], "id": "41289b04-a9f4-4abc-8816-5afccd0e7996", "name": "Code in JavaScript1" @@ -8286,7 +8572,7 @@ "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ - 3360, + 3344, -352 ], "id": "7c321f7d-bce9-447c-b94c-35f6967a48e3", @@ -8487,6 +8773,239 @@ "name": "Sofia test - Supabase account" } } + }, + { + "parameters": { + "url": "=https://meet.googleapis.com/v2/conferenceRecords/{{ $json.id }}/participants", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "options": {} + }, + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.4, + "position": [ + 448, + 3088 + ], + "id": "ef89ad57-bdc8-4d9d-a250-41706ec900c1", + "name": "HTTP Request", + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "url": "=\nhttps://meet.googleapis.com/v2/conferenceRecords/{conferenceRecordId}/participants/{participantId}/participantSessions", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "options": {} + }, + "id": "e76171d6-6fdd-405b-80d7-57c9cb8ee24e", + "name": "HTTP Request - Get Meet Artifacts", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.1, + "position": [ + 272, + 3248 + ], + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "url": "=https://www.googleapis.com/calendar/v3/calendars/primary/events/{{ $json.id }}", + "options": {} + }, + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.4, + "position": [ + 64, + 3264 + ], + "id": "602289b9-3c7d-4ced-b507-b27401ed9910", + "name": "HTTP Request1" + }, + { + "parameters": { + "url": "=https://www.googleapis.com/calendar/v3/calendars/primary/events/{{ $json.id }}", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "options": {} + }, + "id": "c32466aa-a6d5-4d13-940f-553a6ab87107", + "name": "HTTP Request - Get Meet Artifacts1", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.1, + "position": [ + 96, + 2656 + ], + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "url": "=https://meet.googleapis.com/v2/aao-ixkr-uwu/participants", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "options": {} + }, + "id": "904cdfbe-b252-414b-9859-3f8e85e7e118", + "name": "HTTP Request - Get Meet Artifacts2", + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.1, + "position": [ + 256, + 2976 + ], + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "url": "=https://meet.googleapis.com/v2/conferenceRecords", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "sendQuery": true, + "queryParameters": { + "parameters": [ + { + "name": "filter", + "value": "start_time>=\"2026-01-01T00:00:00Z\"" + } + ] + }, + "options": {} + }, + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.4, + "position": [ + -144, + 2848 + ], + "id": "955614d8-60a7-4762-8c02-86ac33e54cb3", + "name": "HTTP Request2", + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "url": "=https://meet.googleapis.com/v2/conferenceRecords/hFRcUdt3dvlZlJ6L1Wo6DxITOAIIigIgABgBCA/participants", + "authentication": "predefinedCredentialType", + "nodeCredentialType": "googleOAuth2Api", + "sendQuery": true, + "queryParameters": { + "parameters": [] + }, + "options": {} + }, + "type": "n8n-nodes-base.httpRequest", + "typeVersion": 4.4, + "position": [ + 64, + 2848 + ], + "id": "a84173c0-db9f-4251-af6b-6e475541fc52", + "name": "HTTP Request3", + "credentials": { + "googleOAuth2Api": { + "id": "0HsSRUm82KPsWdiJ", + "name": "Eidan - Google account" + } + } + }, + { + "parameters": { + "jsCode": "const fecha_sesion = $input.first().json.fecha_sesion_inscrito;\n\n// Fecha de hoy\nconst fecha_hoy = new Date().toISOString().split('T')[0];\nconst hoy = new Date(fecha_hoy);\nconst sesion = new Date(fecha_sesion);\n\n// Diferencia en días\nconst diferenciaDias = Math.floor(\n (sesion - hoy) / (1000 * 60 * 60 * 24)\n);\n\n// True si es hoy (0 días), mañana (1 día) o pasado mañana (2 días)\nconst isValid = diferenciaDias >= 0 && diferenciaDias <= 2;\n\nreturn [\n {\n json: {\n fecha_sesion,\n fecha_hoy,\n diferenciaDias,\n isValid\n }\n }\n];" + }, + "type": "n8n-nodes-base.code", + "typeVersion": 2, + "position": [ + 208, + 1488 + ], + "id": "3e2b4cde-d7aa-4879-aa55-f1a169c16bd3", + "name": "Calcular falta 48h o 24h" + }, + { + "parameters": { + "content": "## Aviso a instructor si no hay nadie inscrito a la sesion del dia\n", + "height": 464, + "width": 1552, + "color": 6 + }, + "type": "n8n-nodes-base.stickyNote", + "position": [ + 1392, + 736 + ], + "typeVersion": 1, + "id": "de09868e-4a06-4c64-9e66-aae9e14b9896", + "name": "Sticky Note11" + }, + { + "parameters": { + "operation": "getAll", + "calendar": { + "__rl": true, + "value": "ethen@gomezleemarketing.com", + "mode": "list", + "cachedResultName": "ethen@gomezleemarketing.com" + }, + "returnAll": true, + "timeMin": "={{ $now.startOf('year') }}", + "timeMax": "={{ $now.endOf('year') }}", + "options": { + "orderBy": "startTime", + "query": "#TheGLMWay" + } + }, + "type": "n8n-nodes-base.googleCalendar", + "typeVersion": 1.3, + "position": [ + 2640, + -352 + ], + "id": "b2b03ce6-6010-4e4f-be7a-d9040286e295", + "name": "Obtener entrenamientos ingles y espanol", + "credentials": { + "googleCalendarOAuth2Api": { + "id": "yEmGG4av5RxOK7wu", + "name": "Eidan - Google Calendar account" + } + } + }, + { + "parameters": { + "jsCode": "const months = [\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"];\n\nfunction formatDate(dateTimeStr) {\n if (!dateTimeStr) return null;\n const datePart = dateTimeStr.split('T')[0]; // \"2026-01-07\"\n const [year, month, day] = datePart.split('-');\n return `${parseInt(day, 10)} ${months[parseInt(month, 10) - 1]}`;\n}\n\nconst output = [];\n\nfor (const item of $input.all()) {\n const event = item.json;\n output.push({\n json: {\n id: event.id,\n summary: event.summary,\n start: formatDate(event.start?.dateTime || event.start?.date),\n end: formatDate(event.end?.dateTime || event.end?.date)\n }\n });\n}\n\nreturn output;" + }, + "type": "n8n-nodes-base.code", + "typeVersion": 2, + "position": [ + 2816, + -352 + ], + "id": "73c39af9-bc01-4d97-81ee-846aff70b3a6", + "name": "Formatear fecha" } ], "connections": { @@ -9256,7 +9775,7 @@ [], [ { - "node": "Calcular falta 48h", + "node": "Calcular falta 48h o 24h", "type": "main", "index": 0 } @@ -9343,17 +9862,6 @@ ] ] }, - "Calcular falta 48h": { - "main": [ - [ - { - "node": "Falta 48h para el evento?1", - "type": "main", - "index": 0 - } - ] - ] - }, "Actualizar datos del empleado y sesion asignada3": { "main": [ [ @@ -9383,33 +9891,11 @@ ] ] }, - "Entrenamiento español5": { - "main": [ - [ - { - "node": "Code in JavaScript", - "type": "main", - "index": 0 - } - ] - ] - }, - "Code in JavaScript": { - "main": [ - [ - { - "node": "Borrar fechas", - "type": "main", - "index": 0 - } - ] - ] - }, "Schedule Trigger4": { "main": [ [ { - "node": "Entrenamiento español5", + "node": "Obtener entrenamientos ingles y espanol", "type": "main", "index": 0 } @@ -9464,18 +9950,73 @@ } ] ] + }, + "Termino evento español": { + "main": [ + [ + { + "node": "HTTP Request2", + "type": "main", + "index": 0 + } + ] + ] + }, + "HTTP Request2": { + "main": [ + [ + { + "node": "HTTP Request3", + "type": "main", + "index": 0 + } + ] + ] + }, + "Calcular falta 48h o 24h": { + "main": [ + [ + { + "node": "Falta 48h para el evento?1", + "type": "main", + "index": 0 + } + ] + ] + }, + "Obtener entrenamientos ingles y espanol": { + "main": [ + [ + { + "node": "Formatear fecha", + "type": "main", + "index": 0 + } + ] + ] + }, + "Formatear fecha": { + "main": [ + [ + { + "node": "Borrar fechas", + "type": "main", + "index": 0 + } + ] + ] } }, "authors": "Eidan Then", - "name": "Version 1cb8b929", + "name": "Version 6ca51636", "description": "", - "autosaved": true, + "autosaved": false, "workflowPublishHistory": [ { - "createdAt": "2026-06-18T01:11:28.987Z", - "id": 1550, + "createdAt": "2026-06-24T14:46:24.445Z", + "id": 1838, "workflowId": "F1iPg8hktNAebZua", - "versionId": "1cb8b929-7b1f-4f69-9db2-b63d06e856ed", + "versionId": "6ca51636-d05f-4cba-be43-c1d7f39a2ecb", "event": "activated", "userId": "de14e7e5-491b-4983-abb2-f88af42e92fd" }