Update backup: DEV - Tablero CDC - Sync Proyecto a Banco Fulgencio IA
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"updatedAt": "2026-06-16T19:33:25.439Z",
|
"updatedAt": "2026-06-27T11:44:03.420Z",
|
||||||
"createdAt": "2026-06-16T13:34:49.596Z",
|
"createdAt": "2026-06-16T13:34:49.596Z",
|
||||||
"id": "aJH5uWZx3lUnNBbx",
|
"id": "aJH5uWZx3lUnNBbx",
|
||||||
"name": "DEV - Tablero CDC - Sync Proyecto a Banco Fulgencio IA",
|
"name": "DEV - Tablero CDC - Sync Proyecto a Banco Fulgencio IA",
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
800,
|
1088,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"id": "ddfd7064-ad22-4a7c-aa8f-e400b132da83",
|
"id": "ddfd7064-ad22-4a7c-aa8f-e400b132da83",
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
"type": "n8n-nodes-base.if",
|
"type": "n8n-nodes-base.if",
|
||||||
"typeVersion": 2.3,
|
"typeVersion": 2.3,
|
||||||
"position": [
|
"position": [
|
||||||
1008,
|
1296,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"id": "d6a1baa5-c035-4645-885e-d31b89a6ff2f",
|
"id": "d6a1baa5-c035-4645-885e-d31b89a6ff2f",
|
||||||
@@ -164,8 +164,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.5,
|
"typeVersion": 1.5,
|
||||||
"position": [
|
"position": [
|
||||||
2432,
|
2832,
|
||||||
-112
|
-96
|
||||||
],
|
],
|
||||||
"id": "875c95aa-c12e-40a1-b64c-4da83d0a1b06",
|
"id": "875c95aa-c12e-40a1-b64c-4da83d0a1b06",
|
||||||
"name": "Respond to Webhook"
|
"name": "Respond to Webhook"
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.5,
|
"typeVersion": 1.5,
|
||||||
"position": [
|
"position": [
|
||||||
1216,
|
1504,
|
||||||
96
|
96
|
||||||
],
|
],
|
||||||
"id": "3d315115-95b4-4b60-a174-2067bb5545d2",
|
"id": "3d315115-95b4-4b60-a174-2067bb5545d2",
|
||||||
@@ -480,8 +480,8 @@
|
|||||||
"type": "n8n-nodes-base.googleSheets",
|
"type": "n8n-nodes-base.googleSheets",
|
||||||
"typeVersion": 4.7,
|
"typeVersion": 4.7,
|
||||||
"position": [
|
"position": [
|
||||||
2224,
|
2624,
|
||||||
-112
|
-96
|
||||||
],
|
],
|
||||||
"id": "f285672d-8c71-4ebd-87ec-a8b83c4e1ce6",
|
"id": "f285672d-8c71-4ebd-87ec-a8b83c4e1ce6",
|
||||||
"name": "Google Sheets - Upsert Banco Fulgencio",
|
"name": "Google Sheets - Upsert Banco Fulgencio",
|
||||||
@@ -499,7 +499,7 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
1264,
|
1552,
|
||||||
-112
|
-112
|
||||||
],
|
],
|
||||||
"id": "bc209351-3c89-49fe-b891-3fd8d1fc5c4d",
|
"id": "bc209351-3c89-49fe-b891-3fd8d1fc5c4d",
|
||||||
@@ -543,8 +543,8 @@
|
|||||||
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
|
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
|
||||||
"typeVersion": 1.2,
|
"typeVersion": 1.2,
|
||||||
"position": [
|
"position": [
|
||||||
1664,
|
2064,
|
||||||
-112
|
-96
|
||||||
],
|
],
|
||||||
"id": "28887e16-b735-4e11-8fe2-4e3270876c85",
|
"id": "28887e16-b735-4e11-8fe2-4e3270876c85",
|
||||||
"name": "Gemini - Extraer metadata Tablero"
|
"name": "Gemini - Extraer metadata Tablero"
|
||||||
@@ -557,8 +557,8 @@
|
|||||||
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
|
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
1680,
|
2080,
|
||||||
128
|
144
|
||||||
],
|
],
|
||||||
"id": "4b4e6b14-50fc-4700-ad33-dcfc8a489770",
|
"id": "4b4e6b14-50fc-4700-ad33-dcfc8a489770",
|
||||||
"name": "Gemini - Extraer metadata1",
|
"name": "Gemini - Extraer metadata1",
|
||||||
@@ -576,11 +576,58 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
2016,
|
2416,
|
||||||
-112
|
-96
|
||||||
],
|
],
|
||||||
"id": "a183d0af-b313-49ce-9f00-e619a4d576d2",
|
"id": "a183d0af-b313-49ce-9f00-e619a4d576d2",
|
||||||
"name": "Code - Normalizar respuesta IA Tablero"
|
"name": "Code - Normalizar respuesta IA Tablero"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## ENTRADA DESDE TABLERO CDC\n\nEste flujo recibe un project_id desde la app Tablero CDC.\n\n1. Recibe el webhook.\n2. Extrae y valida el project_id.\n3. Busca el proyecto en Supabase.\n4. Busca los links asociados al proyecto.\n\nSi falta project_id o el proyecto no existe, el flujo debe detenerse con error.\n",
|
||||||
|
"height": 416,
|
||||||
|
"width": 816
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
-64,
|
||||||
|
-240
|
||||||
|
],
|
||||||
|
"id": "2e6ca1d3-9ec6-4e10-b595-f7d89e741d92",
|
||||||
|
"name": "Sticky Note"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## PREPARACIÓN PARA BANCO FULGENCIO\n\nEste bloque convierte el proyecto del Tablero en una o varias filas para el Banco de Propuestas de Fulgencio.\n\nRegla principal:\n\n* Solo se escriben links tipo propuesta.\n* Si el proyecto no tiene links de propuesta, no se escribe nada y se responde como skipped.\n* Cada propuesta genera una tablero_sync_key única para evitar duplicados.\n",
|
||||||
|
"height": 592,
|
||||||
|
"width": 752,
|
||||||
|
"color": 5
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
992,
|
||||||
|
-336
|
||||||
|
],
|
||||||
|
"id": "27212676-c05e-4315-90e8-2372b0122e4f",
|
||||||
|
"name": "Sticky Note1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## IA + ESCRITURA EN BANCO FULGENCIO\n\nGemini analiza la información del proyecto y extrae metadata útil para búsqueda:\ntipo de acción, canal, etiquetas, descripción y táctica promocional.\n\nLuego el flujo normaliza los valores para respetar listas permitidas y hace append/update en Google Sheets usando tablero_sync_key.\n\nResultado final:\n\n* Proyecto sincronizado con Banco Fulgencio.\n* Si algo queda dudoso, se marca requiere_revision.\n",
|
||||||
|
"height": 656,
|
||||||
|
"width": 1104,
|
||||||
|
"color": 4
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
1936,
|
||||||
|
-336
|
||||||
|
],
|
||||||
|
"id": "9e829a95-7b23-42f0-89a9-eb1450fff26c",
|
||||||
|
"name": "Sticky Note2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
@@ -722,9 +769,9 @@
|
|||||||
"meta": {
|
"meta": {
|
||||||
"templateCredsSetupCompleted": true
|
"templateCredsSetupCompleted": true
|
||||||
},
|
},
|
||||||
"versionId": "cdbd1088-4537-4fdb-8666-2166d8001680",
|
"versionId": "0f3ce632-981f-419e-bb18-8c485dc51202",
|
||||||
"activeVersionId": "cdbd1088-4537-4fdb-8666-2166d8001680",
|
"activeVersionId": "0f3ce632-981f-419e-bb18-8c485dc51202",
|
||||||
"versionCounter": 46,
|
"versionCounter": 79,
|
||||||
"triggerCount": 1,
|
"triggerCount": 1,
|
||||||
"shared": [
|
"shared": [
|
||||||
{
|
{
|
||||||
@@ -747,9 +794,9 @@
|
|||||||
],
|
],
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"activeVersion": {
|
"activeVersion": {
|
||||||
"updatedAt": "2026-06-16T19:33:28.000Z",
|
"updatedAt": "2026-06-27T11:44:13.000Z",
|
||||||
"createdAt": "2026-06-16T19:33:25.441Z",
|
"createdAt": "2026-06-27T11:44:03.422Z",
|
||||||
"versionId": "cdbd1088-4537-4fdb-8666-2166d8001680",
|
"versionId": "0f3ce632-981f-419e-bb18-8c485dc51202",
|
||||||
"workflowId": "aJH5uWZx3lUnNBbx",
|
"workflowId": "aJH5uWZx3lUnNBbx",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
@@ -860,7 +907,7 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
800,
|
1088,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"id": "ddfd7064-ad22-4a7c-aa8f-e400b132da83",
|
"id": "ddfd7064-ad22-4a7c-aa8f-e400b132da83",
|
||||||
@@ -894,7 +941,7 @@
|
|||||||
"type": "n8n-nodes-base.if",
|
"type": "n8n-nodes-base.if",
|
||||||
"typeVersion": 2.3,
|
"typeVersion": 2.3,
|
||||||
"position": [
|
"position": [
|
||||||
1008,
|
1296,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"id": "d6a1baa5-c035-4645-885e-d31b89a6ff2f",
|
"id": "d6a1baa5-c035-4645-885e-d31b89a6ff2f",
|
||||||
@@ -909,8 +956,8 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.5,
|
"typeVersion": 1.5,
|
||||||
"position": [
|
"position": [
|
||||||
2432,
|
2832,
|
||||||
-112
|
-96
|
||||||
],
|
],
|
||||||
"id": "875c95aa-c12e-40a1-b64c-4da83d0a1b06",
|
"id": "875c95aa-c12e-40a1-b64c-4da83d0a1b06",
|
||||||
"name": "Respond to Webhook"
|
"name": "Respond to Webhook"
|
||||||
@@ -924,7 +971,7 @@
|
|||||||
"type": "n8n-nodes-base.respondToWebhook",
|
"type": "n8n-nodes-base.respondToWebhook",
|
||||||
"typeVersion": 1.5,
|
"typeVersion": 1.5,
|
||||||
"position": [
|
"position": [
|
||||||
1216,
|
1504,
|
||||||
96
|
96
|
||||||
],
|
],
|
||||||
"id": "3d315115-95b4-4b60-a174-2067bb5545d2",
|
"id": "3d315115-95b4-4b60-a174-2067bb5545d2",
|
||||||
@@ -1225,8 +1272,8 @@
|
|||||||
"type": "n8n-nodes-base.googleSheets",
|
"type": "n8n-nodes-base.googleSheets",
|
||||||
"typeVersion": 4.7,
|
"typeVersion": 4.7,
|
||||||
"position": [
|
"position": [
|
||||||
2224,
|
2624,
|
||||||
-112
|
-96
|
||||||
],
|
],
|
||||||
"id": "f285672d-8c71-4ebd-87ec-a8b83c4e1ce6",
|
"id": "f285672d-8c71-4ebd-87ec-a8b83c4e1ce6",
|
||||||
"name": "Google Sheets - Upsert Banco Fulgencio",
|
"name": "Google Sheets - Upsert Banco Fulgencio",
|
||||||
@@ -1244,7 +1291,7 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
1264,
|
1552,
|
||||||
-112
|
-112
|
||||||
],
|
],
|
||||||
"id": "bc209351-3c89-49fe-b891-3fd8d1fc5c4d",
|
"id": "bc209351-3c89-49fe-b891-3fd8d1fc5c4d",
|
||||||
@@ -1288,8 +1335,8 @@
|
|||||||
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
|
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
|
||||||
"typeVersion": 1.2,
|
"typeVersion": 1.2,
|
||||||
"position": [
|
"position": [
|
||||||
1664,
|
2064,
|
||||||
-112
|
-96
|
||||||
],
|
],
|
||||||
"id": "28887e16-b735-4e11-8fe2-4e3270876c85",
|
"id": "28887e16-b735-4e11-8fe2-4e3270876c85",
|
||||||
"name": "Gemini - Extraer metadata Tablero"
|
"name": "Gemini - Extraer metadata Tablero"
|
||||||
@@ -1302,8 +1349,8 @@
|
|||||||
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
|
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
1680,
|
2080,
|
||||||
128
|
144
|
||||||
],
|
],
|
||||||
"id": "4b4e6b14-50fc-4700-ad33-dcfc8a489770",
|
"id": "4b4e6b14-50fc-4700-ad33-dcfc8a489770",
|
||||||
"name": "Gemini - Extraer metadata1",
|
"name": "Gemini - Extraer metadata1",
|
||||||
@@ -1321,11 +1368,58 @@
|
|||||||
"type": "n8n-nodes-base.code",
|
"type": "n8n-nodes-base.code",
|
||||||
"typeVersion": 2,
|
"typeVersion": 2,
|
||||||
"position": [
|
"position": [
|
||||||
2016,
|
2416,
|
||||||
-112
|
-96
|
||||||
],
|
],
|
||||||
"id": "a183d0af-b313-49ce-9f00-e619a4d576d2",
|
"id": "a183d0af-b313-49ce-9f00-e619a4d576d2",
|
||||||
"name": "Code - Normalizar respuesta IA Tablero"
|
"name": "Code - Normalizar respuesta IA Tablero"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## ENTRADA DESDE TABLERO CDC\n\nEste flujo recibe un project_id desde la app Tablero CDC.\n\n1. Recibe el webhook.\n2. Extrae y valida el project_id.\n3. Busca el proyecto en Supabase.\n4. Busca los links asociados al proyecto.\n\nSi falta project_id o el proyecto no existe, el flujo debe detenerse con error.\n",
|
||||||
|
"height": 416,
|
||||||
|
"width": 816
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
-64,
|
||||||
|
-240
|
||||||
|
],
|
||||||
|
"id": "2e6ca1d3-9ec6-4e10-b595-f7d89e741d92",
|
||||||
|
"name": "Sticky Note"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## PREPARACIÓN PARA BANCO FULGENCIO\n\nEste bloque convierte el proyecto del Tablero en una o varias filas para el Banco de Propuestas de Fulgencio.\n\nRegla principal:\n\n* Solo se escriben links tipo propuesta.\n* Si el proyecto no tiene links de propuesta, no se escribe nada y se responde como skipped.\n* Cada propuesta genera una tablero_sync_key única para evitar duplicados.\n",
|
||||||
|
"height": 592,
|
||||||
|
"width": 752,
|
||||||
|
"color": 5
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
992,
|
||||||
|
-336
|
||||||
|
],
|
||||||
|
"id": "27212676-c05e-4315-90e8-2372b0122e4f",
|
||||||
|
"name": "Sticky Note1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"parameters": {
|
||||||
|
"content": "## IA + ESCRITURA EN BANCO FULGENCIO\n\nGemini analiza la información del proyecto y extrae metadata útil para búsqueda:\ntipo de acción, canal, etiquetas, descripción y táctica promocional.\n\nLuego el flujo normaliza los valores para respetar listas permitidas y hace append/update en Google Sheets usando tablero_sync_key.\n\nResultado final:\n\n* Proyecto sincronizado con Banco Fulgencio.\n* Si algo queda dudoso, se marca requiere_revision.\n",
|
||||||
|
"height": 656,
|
||||||
|
"width": 1104,
|
||||||
|
"color": 4
|
||||||
|
},
|
||||||
|
"type": "n8n-nodes-base.stickyNote",
|
||||||
|
"typeVersion": 1,
|
||||||
|
"position": [
|
||||||
|
1936,
|
||||||
|
-336
|
||||||
|
],
|
||||||
|
"id": "9e829a95-7b23-42f0-89a9-eb1450fff26c",
|
||||||
|
"name": "Sticky Note2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
@@ -1459,15 +1553,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"authors": "Isaac Aracena",
|
"authors": "Isaac Aracena",
|
||||||
"name": "Version cdbd1088",
|
"name": "Version 0f3ce632",
|
||||||
"description": "",
|
"description": "",
|
||||||
"autosaved": true,
|
"autosaved": true,
|
||||||
"workflowPublishHistory": [
|
"workflowPublishHistory": [
|
||||||
{
|
{
|
||||||
"createdAt": "2026-06-16T19:33:28.976Z",
|
"createdAt": "2026-06-27T11:44:13.347Z",
|
||||||
"id": 1455,
|
"id": 1917,
|
||||||
"workflowId": "aJH5uWZx3lUnNBbx",
|
"workflowId": "aJH5uWZx3lUnNBbx",
|
||||||
"versionId": "cdbd1088-4537-4fdb-8666-2166d8001680",
|
"versionId": "0f3ce632-981f-419e-bb18-8c485dc51202",
|
||||||
"event": "activated",
|
"event": "activated",
|
||||||
"userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029"
|
"userId": "0a88c0b1-928e-4412-896e-c5d1c99b2029"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user