From 051fe2885394b3d2b3229482102fb095b99e9baa Mon Sep 17 00:00:00 2001 From: EidanThen Date: Tue, 30 Jun 2026 21:30:22 +0000 Subject: [PATCH] Update glmway-workflow.json --- glmway-workflow.json | 172 +++++++++++++++++++++++++++++++++---------- 1 file changed, 132 insertions(+), 40 deletions(-) diff --git a/glmway-workflow.json b/glmway-workflow.json index 279eaaa..432f3cf 100644 --- a/glmway-workflow.json +++ b/glmway-workflow.json @@ -1,6 +1,6 @@ { "$json": { - "updatedAt": "2026-06-26T18:50:10.552Z", + "updatedAt": "2026-06-30T21:29:51.638Z", "createdAt": "2026-06-08T13:50:12.174Z", "id": "F1iPg8hktNAebZua", "name": "GLMWay", @@ -1121,7 +1121,7 @@ "typeVersion": 2.2, "position": [ 2272, - -224 + -400 ], "id": "e6c3acf5-d54b-4e00-b7a9-74038d27e387", "name": "Send a message espanol", @@ -1148,7 +1148,7 @@ "typeVersion": 2.2, "position": [ 2272, - -400 + -224 ], "id": "f173c8d1-9311-405c-a7ee-164726df32f1", "name": "Send a message ingles", @@ -3568,7 +3568,7 @@ "parameters": { "content": "## Aviso a instructor si no hay nadie inscrito a la sesion del dia\n", "height": 464, - "width": 1552, + "width": 1392, "color": 6 }, "type": "n8n-nodes-base.stickyNote", @@ -4008,7 +4008,7 @@ "sendTo": "eidan.then14@gmail.com", "subject": "Entrenamiento #TheGLMWay", "emailType": "text", - "message": "=¡Hola, GLMer!\n\nEste es un recordatorio de tu entrenamiento, donde te transmitiremos nuestra cultura, nuestro ADN y por qué somos diferentes al resto.\n\n¡Te esperamos puntual y con toda la energía para aprender!\n\nÚnete aquí:\n{{ $json.conferenceData.entryPoints[0].uri }}", + "message": "=Hola,\n\nTe escribo para informarte que, hasta el momento, no hay personas inscritas para la actividad de hoy.\n\nSaludos.\n\nEste es un mensaje automático generado por el sistema de gestión de inscripciones.", "options": { "appendAttribution": false } @@ -4016,7 +4016,7 @@ "type": "n8n-nodes-base.gmail", "typeVersion": 2.2, "position": [ - 2368, + 2640, 1008 ], "id": "0cf2219c-db12-4231-bac6-8e5f2816530f", @@ -4035,7 +4035,7 @@ "sendTo": "eidan.then14@gmail.com", "subject": "#TheGLMWay Training", "emailType": "text", - "message": "=Hello, GLMer!\n\nThis is a reminder about your training session, where we'll share our culture, our DNA, and what makes us different from the rest.\n\nWe're looking forward to seeing you on time and ready to learn!\n\nJoin here:\n{{ $json.conferenceData.entryPoints[0].uri }}", + "message": "=Hello,\n\nThis is to inform you that, as of now, there are no people enrolled for today's activity.\n\nBest regards.\n\nThis is an automated message generated by the enrollment management system.", "options": { "appendAttribution": false } @@ -4043,7 +4043,7 @@ "type": "n8n-nodes-base.gmail", "typeVersion": 2.2, "position": [ - 2368, + 2640, 832 ], "id": "96bac1b9-d921-418d-947d-f07980bb76aa", @@ -4085,7 +4085,7 @@ "type": "n8n-nodes-base.if", "typeVersion": 2.3, "position": [ - 2144, + 2416, 928 ], "id": "748f3ae7-7e6d-41f5-be1d-861a9566ec00", @@ -4097,7 +4097,7 @@ }, "type": "n8n-nodes-base.stickyNote", "position": [ - 2528, + 2784, 896 ], "typeVersion": 1, @@ -4132,7 +4132,7 @@ "type": "n8n-nodes-base.if", "typeVersion": 2.3, "position": [ - 1936, + 1968, 928 ], "id": "03832c44-864b-4277-a9fb-f94d56dc0f1c", @@ -4492,6 +4492,40 @@ "name": "Sofia test - Supabase account" } } + }, + { + "parameters": { + "conditions": { + "options": { + "caseSensitive": true, + "leftValue": "", + "typeValidation": "strict", + "version": 3 + }, + "conditions": [ + { + "id": "df25aa3e-d48f-4e52-ae1f-47678e954d52", + "leftValue": "={{ $json.session.participantes }}", + "rightValue": "EN", + "operator": { + "type": "object", + "operation": "notEmpty", + "singleValue": true + } + } + ], + "combinator": "and" + }, + "options": {} + }, + "type": "n8n-nodes-base.if", + "typeVersion": 2.3, + "position": [ + 2192, + 928 + ], + "id": "d1472787-4c2f-4e1d-8673-5c2368d469ab", + "name": "Hay inscritos?" } ], "connections": { @@ -5623,7 +5657,7 @@ "main": [ [ { - "node": "Es espanol o ingles", + "node": "Hay inscritos?", "type": "main", "index": 0 } @@ -5667,7 +5701,7 @@ "main": [ [ { - "node": "Send a message ingles", + "node": "Send a message espanol", "type": "main", "index": 0 } @@ -5678,7 +5712,7 @@ "main": [ [ { - "node": "Send a message espanol", + "node": "Send a message ingles", "type": "main", "index": 0 } @@ -5775,6 +5809,18 @@ } ] ] + }, + "Hay inscritos?": { + "main": [ + [], + [ + { + "node": "Es espanol o ingles", + "type": "main", + "index": 0 + } + ] + ] } }, "settings": { @@ -5798,19 +5844,19 @@ "recurrenceRules": [] }, "node:Comenzo evento ingles": { - "lastTimeChecked": "2026-06-26T18:50:13Z" + "lastTimeChecked": "2026-06-30T21:23:14Z" }, "node:Comenzo evento español": { - "lastTimeChecked": "2026-06-26T18:50:13Z" + "lastTimeChecked": "2026-06-30T21:23:14Z" }, "node:Termino evento español": { - "lastTimeChecked": "2026-06-26T18:50:13Z" + "lastTimeChecked": "2026-06-30T21:23:14Z" }, "node:Termino evento ingles": { - "lastTimeChecked": "2026-06-26T18:50:14Z" + "lastTimeChecked": "2026-06-30T21:23:15Z" }, "node:Prueba": { - "lastTimeChecked": "2026-06-26T18:50:14Z" + "lastTimeChecked": "2026-06-30T21:23:15Z" }, "node:Schedule Trigger2": { "recurrenceRules": [] @@ -7019,9 +7065,9 @@ } ] }, - "versionId": "1d1a07dd-faf7-4c39-87b5-5a43ed24e5e6", - "activeVersionId": "1d1a07dd-faf7-4c39-87b5-5a43ed24e5e6", - "versionCounter": 3157, + "versionId": "3ea02347-34a4-4e2f-b908-054abd63eac9", + "activeVersionId": "99e21735-df66-460c-9b02-e3c8f5386801", + "versionCounter": 3409, "triggerCount": 13, "shared": [ { @@ -7044,9 +7090,9 @@ ], "tags": [], "activeVersion": { - "updatedAt": "2026-06-26T18:50:14.000Z", - "createdAt": "2026-06-26T18:50:10.559Z", - "versionId": "1d1a07dd-faf7-4c39-87b5-5a43ed24e5e6", + "updatedAt": "2026-06-30T21:23:15.000Z", + "createdAt": "2026-06-30T21:23:05.368Z", + "versionId": "99e21735-df66-460c-9b02-e3c8f5386801", "workflowId": "F1iPg8hktNAebZua", "nodes": [ { @@ -8162,7 +8208,7 @@ "typeVersion": 2.2, "position": [ 2272, - -224 + -400 ], "id": "e6c3acf5-d54b-4e00-b7a9-74038d27e387", "name": "Send a message espanol", @@ -8189,7 +8235,7 @@ "typeVersion": 2.2, "position": [ 2272, - -400 + -224 ], "id": "f173c8d1-9311-405c-a7ee-164726df32f1", "name": "Send a message ingles", @@ -10609,7 +10655,7 @@ "parameters": { "content": "## Aviso a instructor si no hay nadie inscrito a la sesion del dia\n", "height": 464, - "width": 1552, + "width": 1392, "color": 6 }, "type": "n8n-nodes-base.stickyNote", @@ -11057,7 +11103,7 @@ "type": "n8n-nodes-base.gmail", "typeVersion": 2.2, "position": [ - 2368, + 2640, 1008 ], "id": "0cf2219c-db12-4231-bac6-8e5f2816530f", @@ -11084,7 +11130,7 @@ "type": "n8n-nodes-base.gmail", "typeVersion": 2.2, "position": [ - 2368, + 2640, 832 ], "id": "96bac1b9-d921-418d-947d-f07980bb76aa", @@ -11126,7 +11172,7 @@ "type": "n8n-nodes-base.if", "typeVersion": 2.3, "position": [ - 2144, + 2416, 928 ], "id": "748f3ae7-7e6d-41f5-be1d-861a9566ec00", @@ -11138,7 +11184,7 @@ }, "type": "n8n-nodes-base.stickyNote", "position": [ - 2528, + 2784, 896 ], "typeVersion": 1, @@ -11173,7 +11219,7 @@ "type": "n8n-nodes-base.if", "typeVersion": 2.3, "position": [ - 1936, + 1968, 928 ], "id": "03832c44-864b-4277-a9fb-f94d56dc0f1c", @@ -11533,6 +11579,40 @@ "name": "Sofia test - Supabase account" } } + }, + { + "parameters": { + "conditions": { + "options": { + "caseSensitive": true, + "leftValue": "", + "typeValidation": "strict", + "version": 3 + }, + "conditions": [ + { + "id": "df25aa3e-d48f-4e52-ae1f-47678e954d52", + "leftValue": "={{ $json.session.participantes }}", + "rightValue": "EN", + "operator": { + "type": "object", + "operation": "notEmpty", + "singleValue": true + } + } + ], + "combinator": "and" + }, + "options": {} + }, + "type": "n8n-nodes-base.if", + "typeVersion": 2.3, + "position": [ + 2192, + 928 + ], + "id": "d1472787-4c2f-4e1d-8673-5c2368d469ab", + "name": "Hay inscritos?" } ], "connections": { @@ -12664,7 +12744,7 @@ "main": [ [ { - "node": "Es espanol o ingles", + "node": "Hay inscritos?", "type": "main", "index": 0 } @@ -12708,7 +12788,7 @@ "main": [ [ { - "node": "Send a message ingles", + "node": "Send a message espanol", "type": "main", "index": 0 } @@ -12719,7 +12799,7 @@ "main": [ [ { - "node": "Send a message espanol", + "node": "Send a message ingles", "type": "main", "index": 0 } @@ -12816,18 +12896,30 @@ } ] ] + }, + "Hay inscritos?": { + "main": [ + [], + [ + { + "node": "Es espanol o ingles", + "type": "main", + "index": 0 + } + ] + ] } }, "authors": "Eidan Then", - "name": "Version 1d1a07dd", + "name": "Version 99e21735", "description": "", "autosaved": true, "workflowPublishHistory": [ { - "createdAt": "2026-06-26T18:50:14.433Z", - "id": 1915, + "createdAt": "2026-06-30T21:23:15.364Z", + "id": 2126, "workflowId": "F1iPg8hktNAebZua", - "versionId": "1d1a07dd-faf7-4c39-87b5-5a43ed24e5e6", + "versionId": "99e21735-df66-460c-9b02-e3c8f5386801", "event": "activated", "userId": "de14e7e5-491b-4983-abb2-f88af42e92fd" }