Update backup: Tablero CDC - Sync Proyecto a Sheet WEBHOOK

This commit is contained in:
2026-06-05 16:38:17 +00:00
parent b9d3264ece
commit 26f998c3a3
+19 -19
View File
@@ -1,5 +1,5 @@
{
"updatedAt": "2026-06-05T16:37:14.100Z",
"updatedAt": "2026-06-05T16:38:15.313Z",
"createdAt": "2026-05-27T18:36:03.445Z",
"id": "d39DtIUTQzduqX0v",
"name": "Tablero CDC - Sync Proyecto a Sheet WEBHOOK",
@@ -36,8 +36,8 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4,
"position": [
816,
112
912,
144
],
"id": "5fdded5f-5a19-4f40-bc75-21ae92ac3df2",
"name": "Supabase - Leer proyecto"
@@ -71,8 +71,8 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4,
"position": [
1024,
112
1088,
272
],
"id": "d2839f2d-af1f-49ab-bfd6-4c3b76f656ad",
"name": "Supabase - Leer links del proyecto",
@@ -85,8 +85,8 @@
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
1232,
112
1344,
272
],
"id": "1a9e76bd-20f8-481b-82c1-95d631e261ae",
"name": "Code - Preparar fila Sheet"
@@ -286,8 +286,8 @@
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.7,
"position": [
1440,
112
1552,
272
],
"id": "d66bf9b4-9694-4f43-8dd6-4e9efe4eece8",
"name": "Sheets - Upsert proyecto",
@@ -309,7 +309,7 @@
"typeVersion": 2.1,
"position": [
208,
112
272
],
"id": "b5d0c07b-8b2d-437c-9475-530f64e84247",
"name": "Webhook",
@@ -323,7 +323,7 @@
"typeVersion": 2,
"position": [
416,
112
272
],
"id": "017aafcb-5f7a-407d-8224-caf365186b78",
"name": "Code - Preparar project_id"
@@ -339,8 +339,8 @@
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.5,
"position": [
1648,
112
1760,
272
],
"id": "425a3374-03dc-4424-b089-3d86efbd565e",
"name": "Respond to Webhook"
@@ -348,8 +348,8 @@
{
"parameters": {
"content": "Sync Proyecto a Sheet WEBHOOK\n\nFlujo de producción que recibe project_id desde la app Tablero CDC y sincroniza el proyecto con Google Sheet PROYECTOS 2026.\n\nFlujo:\nWebhook -> preparar project_id -> leer projects -> leer project_links -> preparar fila -> upsert en Sheet -> responder webhook.\n\nNotas:\n- La app llama este flujo usando VITE_WEBHOOK_URL.\n- El upsert usa Project ID.\n- Encabezados del Sheet: fila 3.\n- Datos desde fila 4.\n- Filas viejas sin Project ID quedan como histórico.\n- Leer links del proyecto debe tener Always Output Data activo para que proyectos sin links también se peguen.\n\nSi cambia Supabase empresarial/self-hosted, actualizar URL y keys en los HTTP Request.",
"height": 608,
"width": 1604
"height": 672,
"width": 1812
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
@@ -388,8 +388,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 2.3,
"position": [
624,
112
688,
272
],
"id": "e891ba4b-23d2-4432-bb33-deffbee8097a",
"name": "IF - Acción eliminar?"
@@ -493,9 +493,9 @@
"meta": {
"templateCredsSetupCompleted": true
},
"versionId": "607c63eb-a9f9-4e0a-a2cb-315c9d214bd6",
"versionId": "ffaff37a-069c-4a4e-b120-9314991a6343",
"activeVersionId": "17638407-8c4f-4070-b040-a23f2750265e",
"versionCounter": 67,
"versionCounter": 79,
"triggerCount": 1,
"shared": [
{