Update glmway-workflow.json
This commit is contained in:
+379
-70
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$json": {
|
"$json": {
|
||||||
"updatedAt": "2026-06-25T14:04:01.071Z",
|
"updatedAt": "2026-06-25T17:20:10.093Z",
|
||||||
"createdAt": "2026-06-08T13:50:12.174Z",
|
"createdAt": "2026-06-08T13:50:12.174Z",
|
||||||
"id": "F1iPg8hktNAebZua",
|
"id": "F1iPg8hktNAebZua",
|
||||||
"name": "GLMWay",
|
"name": "GLMWay",
|
||||||
@@ -2921,12 +2921,12 @@
|
|||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"operation": "get",
|
"operation": "get",
|
||||||
"tableId": "inscritos_glmway",
|
"tableId": "coordinadores_rrhh_glmway",
|
||||||
"filters": {
|
"filters": {
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"keyName": "estado",
|
"keyName": "estado",
|
||||||
"keyValue": "notificado"
|
"keyValue": "=no_notificado"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -3225,7 +3225,7 @@
|
|||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
4064,
|
4064,
|
||||||
480
|
432
|
||||||
],
|
],
|
||||||
"id": "41289b04-a9f4-4abc-8816-5afccd0e7996",
|
"id": "41289b04-a9f4-4abc-8816-5afccd0e7996",
|
||||||
"name": "Code in JavaScript1"
|
"name": "Code in JavaScript1"
|
||||||
@@ -3245,19 +3245,19 @@
|
|||||||
"typeVersion": 1.3,
|
"typeVersion": 1.3,
|
||||||
"position": [
|
"position": [
|
||||||
2368,
|
2368,
|
||||||
-352
|
-336
|
||||||
],
|
],
|
||||||
"id": "ca136518-b776-45ba-b1a2-ad5327dd4cca",
|
"id": "ca136518-b776-45ba-b1a2-ad5327dd4cca",
|
||||||
"name": "Schedule Trigger4"
|
"name": "Schedule Trigger4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"operation": "append",
|
"operation": "appendOrUpdate",
|
||||||
"documentId": {
|
"documentId": {
|
||||||
"__rl": true,
|
"__rl": true,
|
||||||
"value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg",
|
"value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg",
|
||||||
"mode": "list",
|
"mode": "list",
|
||||||
"cachedResultName": "Calendario GLMWay Prueba",
|
"cachedResultName": "Calendario #TheGLMWay",
|
||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk"
|
||||||
},
|
},
|
||||||
"sheetName": {
|
"sheetName": {
|
||||||
@@ -3296,7 +3296,7 @@
|
|||||||
"typeVersion": 4.7,
|
"typeVersion": 4.7,
|
||||||
"position": [
|
"position": [
|
||||||
3264,
|
3264,
|
||||||
-352
|
-400
|
||||||
],
|
],
|
||||||
"id": "7c321f7d-bce9-447c-b94c-35f6967a48e3",
|
"id": "7c321f7d-bce9-447c-b94c-35f6967a48e3",
|
||||||
"name": "Insertar fechas",
|
"name": "Insertar fechas",
|
||||||
@@ -3314,7 +3314,7 @@
|
|||||||
"typeVersion": 1.1,
|
"typeVersion": 1.1,
|
||||||
"position": [
|
"position": [
|
||||||
3088,
|
3088,
|
||||||
-352
|
-400
|
||||||
],
|
],
|
||||||
"id": "27531838-5dc7-4169-a08a-f4da93899580",
|
"id": "27531838-5dc7-4169-a08a-f4da93899580",
|
||||||
"name": "Wait4",
|
"name": "Wait4",
|
||||||
@@ -3327,7 +3327,7 @@
|
|||||||
"__rl": true,
|
"__rl": true,
|
||||||
"value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg",
|
"value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg",
|
||||||
"mode": "list",
|
"mode": "list",
|
||||||
"cachedResultName": "Calendario GLMWay Prueba",
|
"cachedResultName": "Calendario #TheGLMWay",
|
||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk"
|
||||||
},
|
},
|
||||||
"sheetName": {
|
"sheetName": {
|
||||||
@@ -3338,13 +3338,13 @@
|
|||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=0"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=0"
|
||||||
},
|
},
|
||||||
"clear": "specificRange",
|
"clear": "specificRange",
|
||||||
"range": "A2:A80"
|
"range": "A2:D80"
|
||||||
},
|
},
|
||||||
"type": "n8n-nodes-base.googleSheets",
|
"type": "n8n-nodes-base.googleSheets",
|
||||||
"typeVersion": 4.7,
|
"typeVersion": 4.7,
|
||||||
"position": [
|
"position": [
|
||||||
2912,
|
2912,
|
||||||
-352
|
-400
|
||||||
],
|
],
|
||||||
"id": "bd8cb535-6aa3-46df-9ca0-6efc0555f2e4",
|
"id": "bd8cb535-6aa3-46df-9ca0-6efc0555f2e4",
|
||||||
"name": "Borrar fechas",
|
"name": "Borrar fechas",
|
||||||
@@ -3359,7 +3359,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"content": "## Borrar y guardar las nuevas fechas de las sesiones del nuevo año\n\nEste trigger se activa todos los años el 1 de enero",
|
"content": "## Borrar y guardar las nuevas fechas de las sesiones del nuevo año\n\nEste trigger se activa todos los años el 1 de enero",
|
||||||
"height": 272,
|
"height": 352,
|
||||||
"width": 1072
|
"width": 1072
|
||||||
},
|
},
|
||||||
"type": "n8n-nodes-base.stickyNote",
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
@@ -3706,7 +3706,7 @@
|
|||||||
"typeVersion": 1.3,
|
"typeVersion": 1.3,
|
||||||
"position": [
|
"position": [
|
||||||
2560,
|
2560,
|
||||||
-352
|
-336
|
||||||
],
|
],
|
||||||
"id": "b2b03ce6-6010-4e4f-be7a-d9040286e295",
|
"id": "b2b03ce6-6010-4e4f-be7a-d9040286e295",
|
||||||
"name": "Obtener entrenamientos ingles y espanol",
|
"name": "Obtener entrenamientos ingles y espanol",
|
||||||
@@ -3725,7 +3725,7 @@
|
|||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
2736,
|
2736,
|
||||||
-352
|
-400
|
||||||
],
|
],
|
||||||
"id": "73c39af9-bc01-4d97-81ee-846aff70b3a6",
|
"id": "73c39af9-bc01-4d97-81ee-846aff70b3a6",
|
||||||
"name": "Formatear fecha"
|
"name": "Formatear fecha"
|
||||||
@@ -3735,8 +3735,7 @@
|
|||||||
"rule": {
|
"rule": {
|
||||||
"interval": [
|
"interval": [
|
||||||
{
|
{
|
||||||
"field": "cronExpression",
|
"triggerAtHour": 11
|
||||||
"expression": "0 0 0 1 1 *"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -3745,21 +3744,21 @@
|
|||||||
"typeVersion": 1.3,
|
"typeVersion": 1.3,
|
||||||
"position": [
|
"position": [
|
||||||
2384,
|
2384,
|
||||||
-32
|
-48
|
||||||
],
|
],
|
||||||
"id": "55a755d8-8b74-440f-93c6-8a1ecba4c666",
|
"id": "55a755d8-8b74-440f-93c6-8a1ecba4c666",
|
||||||
"name": "Schedule Trigger5"
|
"name": "Schedule Trigger5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"content": "## Añadir/actualizar coordinadores RRHH\n\nEste trigger se activa todos los años el 1 de enero",
|
"content": "## Añadir/actualizar coordinadores RRHH\n",
|
||||||
"height": 272,
|
"height": 240,
|
||||||
"width": 1072
|
"width": 1072
|
||||||
},
|
},
|
||||||
"type": "n8n-nodes-base.stickyNote",
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
"position": [
|
"position": [
|
||||||
2336,
|
2336,
|
||||||
-160
|
-112
|
||||||
],
|
],
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"id": "3fd1379f-78d1-40a8-b24f-f8f086fda80a",
|
"id": "3fd1379f-78d1-40a8-b24f-f8f086fda80a",
|
||||||
@@ -3832,7 +3831,7 @@
|
|||||||
"typeVersion": 4.7,
|
"typeVersion": 4.7,
|
||||||
"position": [
|
"position": [
|
||||||
2560,
|
2560,
|
||||||
-32
|
-48
|
||||||
],
|
],
|
||||||
"id": "73089147-ba1f-4fb4-ac17-d5670b263fd8",
|
"id": "73089147-ba1f-4fb4-ac17-d5670b263fd8",
|
||||||
"name": "Obtener coordinadores",
|
"name": "Obtener coordinadores",
|
||||||
@@ -3870,7 +3869,7 @@
|
|||||||
"typeVersion": 4.4,
|
"typeVersion": 4.4,
|
||||||
"position": [
|
"position": [
|
||||||
2896,
|
2896,
|
||||||
-32
|
-48
|
||||||
],
|
],
|
||||||
"id": "231f396b-855a-4c50-8d6d-096018e6d2ac",
|
"id": "231f396b-855a-4c50-8d6d-096018e6d2ac",
|
||||||
"name": "Insertar/actualizar coordinadores a la bd"
|
"name": "Insertar/actualizar coordinadores a la bd"
|
||||||
@@ -3885,10 +3884,98 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
2720,
|
2720,
|
||||||
-32
|
-48
|
||||||
],
|
],
|
||||||
"id": "e51bd2d5-22b5-46cf-b346-c1ba16bb5c34",
|
"id": "e51bd2d5-22b5-46cf-b346-c1ba16bb5c34",
|
||||||
"name": "Aggregate"
|
"name": "Aggregate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"method": "POST",
|
||||||
|
"url": "https://dbit.digitalcompass.agency/rest/v1/rpc/sync_sesiones_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\": [\n {\n \"meet_id\": $json.input.id, \n \"titulo\": $json.input.summary,\n \"descripcion\": $json.input.id,\n \"fecha-sesion\": $json.input.id,\n \"hora-inicio\": $json.input.id,\n \"hora-fin\": $json.input.id,\n \"instructor\": $json.input.id,\n \"correo_instructor\": $json.input.id,\n \"enlace_reunion\": $json.input.id,\n \"idioma\": $json.input.id,\n }\n ] \n}) }}",
|
||||||
|
"options": {}
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.httpRequest",
|
||||||
|
"typeVersion": 4.4,
|
||||||
|
"position": [
|
||||||
|
3344,
|
||||||
|
-224
|
||||||
|
],
|
||||||
|
"id": "3f4a0807-5f29-49cb-a851-41100e04f5bf",
|
||||||
|
"name": "Insertar fechas1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"aggregate": "aggregateAllItemData",
|
||||||
|
"destinationFieldName": "input",
|
||||||
|
"options": {}
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.aggregate",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
3232,
|
||||||
|
-192
|
||||||
|
],
|
||||||
|
"id": "3ecbb0c7-f5f5-4644-9f42-8be9502e814d",
|
||||||
|
"name": "Aggregate1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"mode": "raw",
|
||||||
|
"jsonOutput": "={\n \"meet_id\": {{ $json.id }},\n \"titulo\": {{ $json.summary }},\n \"hora_inicio\": {{ $json.start }},\n \"hora_fin\": {{ $json.end }},\n \"instructor\": {{ $json.summary }},\n \"correo_instructor\": {{ $json.summary }},\n \"enlace_reunion\": {{ $json.summary }},\n \"idioma\": {{ $json.summary }},\n}",
|
||||||
|
"options": {}
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.set",
|
||||||
|
"typeVersion": 3.4,
|
||||||
|
"position": [
|
||||||
|
2912,
|
||||||
|
-240
|
||||||
|
],
|
||||||
|
"id": "a099259d-36e3-48b6-aa77-d8132f33f85e",
|
||||||
|
"name": "Edit Fields"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nfor (const item of $input.all()) {\n item.json.myNewField = 1;\n}\n\nreturn $input.all();"
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.code",
|
||||||
|
"typeVersion": 2,
|
||||||
|
"position": [
|
||||||
|
3280,
|
||||||
|
224
|
||||||
|
],
|
||||||
|
"id": "3c8fe81e-6c1f-41be-a521-9013bba262e0",
|
||||||
|
"name": "Code in JavaScript"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"mode": "combine",
|
||||||
|
"options": {}
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.merge",
|
||||||
|
"typeVersion": 3.2,
|
||||||
|
"position": [
|
||||||
|
3328,
|
||||||
|
-16
|
||||||
|
],
|
||||||
|
"id": "456bcbe4-cc98-48fc-bcd2-40f8961934ae",
|
||||||
|
"name": "Unir datos"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
@@ -4937,6 +5024,17 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"Aggregate1": {
|
||||||
|
"main": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"node": "Insertar fechas1",
|
||||||
|
"type": "main",
|
||||||
|
"index": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
@@ -4960,19 +5058,19 @@
|
|||||||
"recurrenceRules": []
|
"recurrenceRules": []
|
||||||
},
|
},
|
||||||
"node:Comenzo evento ingles": {
|
"node:Comenzo evento ingles": {
|
||||||
"lastTimeChecked": "2026-06-25T13:59:54Z"
|
"lastTimeChecked": "2026-06-25T17:00:11Z"
|
||||||
},
|
},
|
||||||
"node:Comenzo evento español": {
|
"node:Comenzo evento español": {
|
||||||
"lastTimeChecked": "2026-06-25T14:00:41Z"
|
"lastTimeChecked": "2026-06-25T17:00:22Z"
|
||||||
},
|
},
|
||||||
"node:Termino evento español": {
|
"node:Termino evento español": {
|
||||||
"lastTimeChecked": "2026-06-25T14:00:06Z"
|
"lastTimeChecked": "2026-06-25T16:59:54Z"
|
||||||
},
|
},
|
||||||
"node:Termino evento ingles": {
|
"node:Termino evento ingles": {
|
||||||
"lastTimeChecked": "2026-06-25T14:00:30Z"
|
"lastTimeChecked": "2026-06-25T17:00:39Z"
|
||||||
},
|
},
|
||||||
"node:Prueba": {
|
"node:Prueba": {
|
||||||
"lastTimeChecked": "2026-06-25T14:00:48Z"
|
"lastTimeChecked": "2026-06-25T16:59:58Z"
|
||||||
},
|
},
|
||||||
"node:Schedule Trigger2": {
|
"node:Schedule Trigger2": {
|
||||||
"recurrenceRules": []
|
"recurrenceRules": []
|
||||||
@@ -4982,6 +5080,9 @@
|
|||||||
},
|
},
|
||||||
"node:Schedule Trigger4": {
|
"node:Schedule Trigger4": {
|
||||||
"recurrenceRules": []
|
"recurrenceRules": []
|
||||||
|
},
|
||||||
|
"node:Schedule Trigger5": {
|
||||||
|
"recurrenceRules": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"meta": {
|
"meta": {
|
||||||
@@ -5255,10 +5356,10 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"versionId": "9ad1c571-054b-4af2-b236-1c01d5e65aa0",
|
"versionId": "706041c6-b601-48d0-98b3-6c46be97ce21",
|
||||||
"activeVersionId": "6ca51636-d05f-4cba-be43-c1d7f39a2ecb",
|
"activeVersionId": "5e6c62fa-59d5-48af-9e01-8af436f62ce3",
|
||||||
"versionCounter": 2358,
|
"versionCounter": 2516,
|
||||||
"triggerCount": 11,
|
"triggerCount": 12,
|
||||||
"shared": [
|
"shared": [
|
||||||
{
|
{
|
||||||
"updatedAt": "2026-06-08T13:50:12.177Z",
|
"updatedAt": "2026-06-08T13:50:12.177Z",
|
||||||
@@ -5280,9 +5381,9 @@
|
|||||||
],
|
],
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"activeVersion": {
|
"activeVersion": {
|
||||||
"updatedAt": "2026-06-24T14:46:24.000Z",
|
"updatedAt": "2026-06-25T14:40:53.000Z",
|
||||||
"createdAt": "2026-06-24T14:46:21.865Z",
|
"createdAt": "2026-06-25T14:40:42.857Z",
|
||||||
"versionId": "6ca51636-d05f-4cba-be43-c1d7f39a2ecb",
|
"versionId": "5e6c62fa-59d5-48af-9e01-8af436f62ce3",
|
||||||
"workflowId": "F1iPg8hktNAebZua",
|
"workflowId": "F1iPg8hktNAebZua",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
@@ -7148,17 +7249,17 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"documentId": {
|
"documentId": {
|
||||||
"__rl": true,
|
"__rl": true,
|
||||||
"value": "1DzUjeikfp8eSdFqEW0LEZZBkn13jI8Uhy15DjGZ2tK4",
|
"value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg",
|
||||||
"mode": "list",
|
"mode": "list",
|
||||||
"cachedResultName": "Empleados GLM Prueba",
|
"cachedResultName": "Calendario #TheGLMWay",
|
||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1DzUjeikfp8eSdFqEW0LEZZBkn13jI8Uhy15DjGZ2tK4/edit?usp=drivesdk"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk"
|
||||||
},
|
},
|
||||||
"sheetName": {
|
"sheetName": {
|
||||||
"__rl": true,
|
"__rl": true,
|
||||||
"value": "gid=0",
|
"value": 169172567,
|
||||||
"mode": "list",
|
"mode": "list",
|
||||||
"cachedResultName": "Hoja 1",
|
"cachedResultName": "Coordinadores RRHH",
|
||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1DzUjeikfp8eSdFqEW0LEZZBkn13jI8Uhy15DjGZ2tK4/edit#gid=0"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=169172567"
|
||||||
},
|
},
|
||||||
"filtersUI": {
|
"filtersUI": {
|
||||||
"values": [
|
"values": [
|
||||||
@@ -7194,17 +7295,17 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"documentId": {
|
"documentId": {
|
||||||
"__rl": true,
|
"__rl": true,
|
||||||
"value": "1d0zzySeQcp9HWyJNe6v5YvubUgXGGcWI0ttntLfCTOE",
|
"value": "1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg",
|
||||||
"mode": "list",
|
"mode": "list",
|
||||||
"cachedResultName": "Copia de GLM_GLMWay_Calendario de Entrenamientos",
|
"cachedResultName": "Calendario #TheGLMWay",
|
||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d0zzySeQcp9HWyJNe6v5YvubUgXGGcWI0ttntLfCTOE/edit?usp=drivesdk"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit?usp=drivesdk"
|
||||||
},
|
},
|
||||||
"sheetName": {
|
"sheetName": {
|
||||||
"__rl": true,
|
"__rl": true,
|
||||||
"value": 724334980,
|
"value": 169172567,
|
||||||
"mode": "list",
|
"mode": "list",
|
||||||
"cachedResultName": "Coordinador RRHH",
|
"cachedResultName": "Coordinadores RRHH",
|
||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d0zzySeQcp9HWyJNe6v5YvubUgXGGcWI0ttntLfCTOE/edit#gid=724334980"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=169172567"
|
||||||
},
|
},
|
||||||
"filtersUI": {
|
"filtersUI": {
|
||||||
"values": [
|
"values": [
|
||||||
@@ -7311,8 +7412,8 @@
|
|||||||
"type": "n8n-nodes-base.googleCalendar",
|
"type": "n8n-nodes-base.googleCalendar",
|
||||||
"typeVersion": 1.3,
|
"typeVersion": 1.3,
|
||||||
"position": [
|
"position": [
|
||||||
1664,
|
1632,
|
||||||
1248
|
1568
|
||||||
],
|
],
|
||||||
"id": "7dd9a706-4d80-45c6-942a-c703eb074a20",
|
"id": "7dd9a706-4d80-45c6-942a-c703eb074a20",
|
||||||
"name": "Entrenamiento español2",
|
"name": "Entrenamiento español2",
|
||||||
@@ -7341,8 +7442,8 @@
|
|||||||
"type": "n8n-nodes-base.googleCalendar",
|
"type": "n8n-nodes-base.googleCalendar",
|
||||||
"typeVersion": 1.3,
|
"typeVersion": 1.3,
|
||||||
"position": [
|
"position": [
|
||||||
1664,
|
1632,
|
||||||
1072
|
1392
|
||||||
],
|
],
|
||||||
"id": "d8253a7a-4e37-4c14-b4da-e0029571cd21",
|
"id": "d8253a7a-4e37-4c14-b4da-e0029571cd21",
|
||||||
"name": "Entrenamiento ingles5",
|
"name": "Entrenamiento ingles5",
|
||||||
@@ -8451,8 +8552,8 @@
|
|||||||
"type": "n8n-nodes-base.googleSheets",
|
"type": "n8n-nodes-base.googleSheets",
|
||||||
"typeVersion": 4.7,
|
"typeVersion": 4.7,
|
||||||
"position": [
|
"position": [
|
||||||
3568,
|
3856,
|
||||||
-16
|
432
|
||||||
],
|
],
|
||||||
"id": "ddfe7158-8cc6-440c-9e59-de97b7124eb8",
|
"id": "ddfe7158-8cc6-440c-9e59-de97b7124eb8",
|
||||||
"name": "Obtener coordinador2",
|
"name": "Obtener coordinador2",
|
||||||
@@ -8501,8 +8602,8 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
3776,
|
4064,
|
||||||
32
|
480
|
||||||
],
|
],
|
||||||
"id": "41289b04-a9f4-4abc-8816-5afccd0e7996",
|
"id": "41289b04-a9f4-4abc-8816-5afccd0e7996",
|
||||||
"name": "Code in JavaScript1"
|
"name": "Code in JavaScript1"
|
||||||
@@ -8521,7 +8622,7 @@
|
|||||||
"type": "n8n-nodes-base.scheduleTrigger",
|
"type": "n8n-nodes-base.scheduleTrigger",
|
||||||
"typeVersion": 1.3,
|
"typeVersion": 1.3,
|
||||||
"position": [
|
"position": [
|
||||||
2448,
|
2368,
|
||||||
-352
|
-352
|
||||||
],
|
],
|
||||||
"id": "ca136518-b776-45ba-b1a2-ad5327dd4cca",
|
"id": "ca136518-b776-45ba-b1a2-ad5327dd4cca",
|
||||||
@@ -8541,7 +8642,7 @@
|
|||||||
"__rl": true,
|
"__rl": true,
|
||||||
"value": "gid=0",
|
"value": "gid=0",
|
||||||
"mode": "list",
|
"mode": "list",
|
||||||
"cachedResultName": "Hoja 1",
|
"cachedResultName": "Calendario",
|
||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=0"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=0"
|
||||||
},
|
},
|
||||||
"columns": {
|
"columns": {
|
||||||
@@ -8572,7 +8673,7 @@
|
|||||||
"type": "n8n-nodes-base.googleSheets",
|
"type": "n8n-nodes-base.googleSheets",
|
||||||
"typeVersion": 4.7,
|
"typeVersion": 4.7,
|
||||||
"position": [
|
"position": [
|
||||||
3344,
|
3264,
|
||||||
-352
|
-352
|
||||||
],
|
],
|
||||||
"id": "7c321f7d-bce9-447c-b94c-35f6967a48e3",
|
"id": "7c321f7d-bce9-447c-b94c-35f6967a48e3",
|
||||||
@@ -8590,7 +8691,7 @@
|
|||||||
"type": "n8n-nodes-base.wait",
|
"type": "n8n-nodes-base.wait",
|
||||||
"typeVersion": 1.1,
|
"typeVersion": 1.1,
|
||||||
"position": [
|
"position": [
|
||||||
3168,
|
3088,
|
||||||
-352
|
-352
|
||||||
],
|
],
|
||||||
"id": "27531838-5dc7-4169-a08a-f4da93899580",
|
"id": "27531838-5dc7-4169-a08a-f4da93899580",
|
||||||
@@ -8611,7 +8712,7 @@
|
|||||||
"__rl": true,
|
"__rl": true,
|
||||||
"value": "gid=0",
|
"value": "gid=0",
|
||||||
"mode": "list",
|
"mode": "list",
|
||||||
"cachedResultName": "Hoja 1",
|
"cachedResultName": "Calendario",
|
||||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=0"
|
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Xs-MkeXiZvWeJuwm-IblcI-ilr7lyhMtED0R7wczmRg/edit#gid=0"
|
||||||
},
|
},
|
||||||
"clear": "specificRange",
|
"clear": "specificRange",
|
||||||
@@ -8620,7 +8721,7 @@
|
|||||||
"type": "n8n-nodes-base.googleSheets",
|
"type": "n8n-nodes-base.googleSheets",
|
||||||
"typeVersion": 4.7,
|
"typeVersion": 4.7,
|
||||||
"position": [
|
"position": [
|
||||||
2992,
|
2912,
|
||||||
-352
|
-352
|
||||||
],
|
],
|
||||||
"id": "bd8cb535-6aa3-46df-9ca0-6efc0555f2e4",
|
"id": "bd8cb535-6aa3-46df-9ca0-6efc0555f2e4",
|
||||||
@@ -8641,7 +8742,7 @@
|
|||||||
},
|
},
|
||||||
"type": "n8n-nodes-base.stickyNote",
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
"position": [
|
"position": [
|
||||||
2416,
|
2336,
|
||||||
-480
|
-480
|
||||||
],
|
],
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
@@ -8982,7 +9083,7 @@
|
|||||||
"type": "n8n-nodes-base.googleCalendar",
|
"type": "n8n-nodes-base.googleCalendar",
|
||||||
"typeVersion": 1.3,
|
"typeVersion": 1.3,
|
||||||
"position": [
|
"position": [
|
||||||
2640,
|
2560,
|
||||||
-352
|
-352
|
||||||
],
|
],
|
||||||
"id": "b2b03ce6-6010-4e4f-be7a-d9040286e295",
|
"id": "b2b03ce6-6010-4e4f-be7a-d9040286e295",
|
||||||
@@ -9001,11 +9102,170 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
2816,
|
2736,
|
||||||
-352
|
-352
|
||||||
],
|
],
|
||||||
"id": "73c39af9-bc01-4d97-81ee-846aff70b3a6",
|
"id": "73c39af9-bc01-4d97-81ee-846aff70b3a6",
|
||||||
"name": "Formatear fecha"
|
"name": "Formatear fecha"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"rule": {
|
||||||
|
"interval": [
|
||||||
|
{
|
||||||
|
"triggerAtHour": 11
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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": {
|
"connections": {
|
||||||
@@ -10005,18 +10265,67 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"authors": "Eidan Then",
|
"authors": "Eidan Then",
|
||||||
"name": "Version 6ca51636",
|
"name": "Version 5e6c62fa",
|
||||||
"description": "",
|
"description": "",
|
||||||
"autosaved": false,
|
"autosaved": true,
|
||||||
"workflowPublishHistory": [
|
"workflowPublishHistory": [
|
||||||
{
|
{
|
||||||
"createdAt": "2026-06-24T14:46:24.445Z",
|
"createdAt": "2026-06-25T14:40:53.321Z",
|
||||||
"id": 1838,
|
"id": 1883,
|
||||||
"workflowId": "F1iPg8hktNAebZua",
|
"workflowId": "F1iPg8hktNAebZua",
|
||||||
"versionId": "6ca51636-d05f-4cba-be43-c1d7f39a2ecb",
|
"versionId": "5e6c62fa-59d5-48af-9e01-8af436f62ce3",
|
||||||
"event": "activated",
|
"event": "activated",
|
||||||
"userId": "de14e7e5-491b-4983-abb2-f88af42e92fd"
|
"userId": "de14e7e5-491b-4983-abb2-f88af42e92fd"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user