From 6b54646bc205d192e96917d5538f0f0086ae5eed Mon Sep 17 00:00:00 2001 From: Isaac_Aracena Date: Fri, 5 Jun 2026 16:40:17 +0000 Subject: [PATCH] Update backup: Tablero CDC - Sync Proyecto a Sheet WEBHOOK --- ...ero-cdc-sync-proyecto-a-sheet-webhook.json | 65 +++++++++++++++---- 1 file changed, 53 insertions(+), 12 deletions(-) diff --git a/tablero-cdc-sync-proyecto-a-sheet-webhook.json b/tablero-cdc-sync-proyecto-a-sheet-webhook.json index dfe075d..49b2ddc 100644 --- a/tablero-cdc-sync-proyecto-a-sheet-webhook.json +++ b/tablero-cdc-sync-proyecto-a-sheet-webhook.json @@ -1,5 +1,5 @@ { - "updatedAt": "2026-06-05T16:39:17.316Z", + "updatedAt": "2026-06-05T16:40:16.216Z", "createdAt": "2026-05-27T18:36:03.445Z", "id": "d39DtIUTQzduqX0v", "name": "Tablero CDC - Sync Proyecto a Sheet WEBHOOK", @@ -36,7 +36,7 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 1216, + 1472, 144 ], "id": "5fdded5f-5a19-4f40-bc75-21ae92ac3df2", @@ -71,7 +71,7 @@ "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.4, "position": [ - 1392, + 1648, 272 ], "id": "d2839f2d-af1f-49ab-bfd6-4c3b76f656ad", @@ -85,7 +85,7 @@ "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ - 1648, + 1904, 272 ], "id": "1a9e76bd-20f8-481b-82c1-95d631e261ae", @@ -286,7 +286,7 @@ "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ - 1856, + 2112, 272 ], "id": "d66bf9b4-9694-4f43-8dd6-4e9efe4eece8", @@ -339,7 +339,7 @@ "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.5, "position": [ - 2064, + 2320, 272 ], "id": "425a3374-03dc-4424-b089-3d86efbd565e", @@ -589,17 +589,30 @@ "type": "n8n-nodes-base.googleSheets", "typeVersion": 4.7, "position": [ - 768, - 128 + 960, + 144 ], "id": "df240622-6ec0-44cb-b945-28c09bd50496", - "name": "Sheets - Upsert proyecto1", + "name": "Sheets - Leer proyectos para eliminar", "credentials": { "googleSheetsOAuth2Api": { "id": "K0hDZh3a85MpOHCs", "name": "Google Sheets account 2" } } + }, + { + "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": [ + 1168, + 144 + ], + "id": "ec6056cf-99b9-4b23-9ee4-62b71100aaa2", + "name": "Code - Buscar fila a eliminar" } ], "connections": { @@ -671,7 +684,13 @@ }, "IF - Acción eliminar?": { "main": [ - [], + [ + { + "node": "Sheets - Leer proyectos para eliminar", + "type": "main", + "index": 0 + } + ], [ { "node": "Supabase - Leer links del proyecto", @@ -680,6 +699,28 @@ } ] ] + }, + "Sheets - Leer proyectos para eliminar": { + "main": [ + [ + { + "node": "Code - Buscar fila a eliminar", + "type": "main", + "index": 0 + } + ] + ] + }, + "Code - Buscar fila a eliminar": { + "main": [ + [ + { + "node": "Supabase - Leer proyecto", + "type": "main", + "index": 0 + } + ] + ] } }, "settings": { @@ -694,9 +735,9 @@ "meta": { "templateCredsSetupCompleted": true }, - "versionId": "206948f3-96ed-42c0-9c53-2f011c3b7524", + "versionId": "b1859da8-c763-4642-bfe4-c6f9d0931167", "activeVersionId": "17638407-8c4f-4070-b040-a23f2750265e", - "versionCounter": 84, + "versionCounter": 89, "triggerCount": 1, "shared": [ {