{
  "name": "University FAQ & calendar assistant with Telegram, MongoDB and Gemini AI",
  "nodes": [
    {
      "id": "6d06b9e5-4027-4626-8315-2b02a3087727",
      "name": "Construir_Prompt_Gemini1",
      "type": "n8n-nodes-base.code",
      "position": [
        -1008,
        2448
      ]
    },
    {
      "id": "95fcc718-5c12-423d-b062-b9935d3f8506",
      "name": "Buscar_FAQs_Relevantes",
      "type": "n8n-nodes-base.code",
      "position": [
        -1264,
        2448
      ]
    },
    {
      "id": "d5e736d4-9d75-44d5-b1c8-dfe94b289e68",
      "name": "Respuesta Usuario1",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1616,
        1184
      ]
    },
    {
      "id": "d9139b9c-e970-4c60-88b8-47bd105ab0aa",
      "name": "Sí - Agradecimiento1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1264,
        1008
      ]
    },
    {
      "id": "9c41f1ef-12bf-4620-9719-821461334db6",
      "name": "No - Mensaje Feedback1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1264,
        1152
      ]
    },
    {
      "id": "cc0258e3-303c-44e5-8c96-80287ba1ab88",
      "name": "Comandos1",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1248,
        1664
      ]
    },
    {
      "id": "79a97506-c1e2-4049-a62a-e5820b681a0d",
      "name": "Inicio - Feedback",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -880,
        1312
      ]
    },
    {
      "id": "accfeb10-fcb6-4b1e-a1bb-a40ed82ebcdd",
      "name": "FAQs",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -880,
        784
      ]
    },
    {
      "id": "ccd1f1ed-5aa2-402c-a40e-5650ee6066d7",
      "name": "Leer FAQs de MongoDB",
      "type": "n8n-nodes-base.mongoDb",
      "position": [
        -1520,
        2448
      ]
    },
    {
      "id": "6529ea5d-0af3-4acc-b81b-087730a484b6",
      "name": "Telegram Trigger - Inicio",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1872,
        1744
      ]
    },
    {
      "id": "5bfddfd3-92ac-432f-aa64-3f19ab58f30a",
      "name": "Respuesta Contact",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -880,
        960
      ]
    },
    {
      "id": "8aa3525d-815a-486a-92cb-9d9e5da991e5",
      "name": "Respuesta Events",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -880,
        1136
      ]
    },
    {
      "id": "767c3c89-dfb0-4505-8c87-a0208fe31aba",
      "name": "Limpiar texto Gemini",
      "type": "n8n-nodes-base.code",
      "position": [
        -480,
        2448
      ]
    },
    {
      "id": "7cabbbc4-e002-4c04-a4d9-b5c3633e98af",
      "name": "Get a chat",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1488,
        1056
      ]
    },
    {
      "id": "b5cdf1bf-6f19-4e62-a812-022e5fe6073c",
      "name": "Switch_Que_BD_Leer",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1856,
        2304
      ]
    },
    {
      "id": "09ddecdf-9223-4371-bd53-9d836315b7a3",
      "name": "Detector_Calendario_Pre",
      "type": "n8n-nodes-base.code",
      "position": [
        -2064,
        2304
      ]
    },
    {
      "id": "81ea9f6c-121c-4bc5-99e4-e947dae8bf7a",
      "name": "Mensaje de Gemini",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        -800,
        2448
      ]
    },
    {
      "id": "8116c6c4-e4ca-4450-89ab-17df67b4b886",
      "name": "Enviar Respuesta sobre faqs",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -224,
        2448
      ]
    },
    {
      "id": "5f4eed47-a777-4d27-a80a-bcc145808f42",
      "name": "Guardado en cvs Feedback",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1264,
        1296
      ]
    },
    {
      "id": "cdf6ad08-7f31-467e-9feb-9d3a8e1c9ba6",
      "name": "Construir_Prompt_Calendario1",
      "type": "n8n-nodes-base.code",
      "position": [
        -1008,
        2160
      ]
    },
    {
      "id": "728f012c-ceed-400d-a643-8f1353d9f8f1",
      "name": "Message a model1",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        -800,
        2160
      ]
    },
    {
      "id": "4af01328-9345-4714-a79d-ea81b2a16a38",
      "name": "Limpiar_Texto_Gemini1",
      "type": "n8n-nodes-base.code",
      "position": [
        -480,
        2160
      ]
    },
    {
      "id": "84c7ffb2-d72d-432a-ac54-9892d31ac5b9",
      "name": "Enviar Respuesta sobre calendario1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -240,
        2160
      ]
    },
    {
      "id": "144e290f-5f0a-400b-b82b-269d90d5f32a",
      "name": "Calendario Académico",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1520,
        2160
      ]
    },
    {
      "id": "21267be1-e42b-4362-aefc-42bf96705258",
      "name": "Buscar_Eventos_Calendario1",
      "type": "n8n-nodes-base.code",
      "position": [
        -1264,
        2160
      ]
    },
    {
      "id": "2f04c332-95f8-4251-a7d8-c3183c3bf341",
      "name": "Mensaje Help",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -880,
        608
      ]
    },
    {
      "id": "58882226-f879-4ae5-b653-025ae55e833f",
      "name": "BIENVENIDA",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -880,
        1504
      ]
    },
    {
      "id": "5f1bf72a-e7f4-405f-a1fc-549008b73747",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -672,
        1680
      ]
    },
    {
      "id": "bef601ae-58f3-4785-a49e-4a7225c34ed9",
      "name": "BD_ESPOL",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        -528,
        1712
      ]
    },
    {
      "id": "c925a437-914c-4e86-8619-2a670ee53c40",
      "name": "PREGUNTAS AL AZAR DE GUIA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -672,
        1504
      ]
    },
    {
      "id": "b74244ac-ed9a-4979-95ac-d15a620c7df4",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -368,
        1504
      ]
    },
    {
      "id": "3104667b-6c32-4a83-9627-23609865000e",
      "name": "GUIA DE COMO PREGUNTAR",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -208,
        1504
      ]
    },
    {
      "id": "dff25489-2b4d-49da-9398-9efa73bbe8f5",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -3168,
        1840
      ]
    },
    {
      "id": "7e30adff-e90b-495b-af22-d82ab8a464a3",
      "name": "BD_CALENDARIO1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -3872,
        1664
      ]
    },
    {
      "id": "6ee54764-d999-48bc-a498-d4ded389b2f9",
      "name": "GENERADOR DE ANUNCIOS1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -3168,
        1664
      ]
    },
    {
      "id": "91ec2456-dae0-4a1c-9e19-883df9771bd8",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4208,
        1376
      ],
      "parameters": {
        "width": 2224,
        "height": 656,
        "content": "# 📢 **SISTEMA GENERADOR DE ANUNCIOS** 🧠\n"
      }
    },
    {
      "id": "e145604d-3454-4370-847b-c88a46e7973f",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4176,
        1488
      ],
      "parameters": {
        "width": 256,
        "height": 368,
        "content": "## RECORDATORIO SEMANAL\nCADA DOMINGO A LAS 07:00PM SE NOTIFICARÁ AL USUARIO SOBRE LOS ANUNCIOS IMPORTANTES DE LA  SEMANA ENTRANTE"
      }
    },
    {
      "id": "bb5ecbad-5350-4010-a658-bd868d7bdcad",
      "name": "Sticky Note22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3920,
        1488
      ],
      "parameters": {
        "width": 208,
        "height": 368,
        "content": "## CALENDARIO\nEL SISTEMA TENDRÁ A SU DISPOSICIÓN A TIEMPO REAL CALENDARIO ACADÉMICO DE ESPOL"
      }
    },
    {
      "id": "1b0a4908-baec-4ce6-b482-ce5ac6707fbe",
      "name": "Sticky Note23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3712,
        1488
      ],
      "parameters": {
        "width": 496,
        "height": 368,
        "content": "## AUTOMATIZACIÓN\nEL SISTEMA COMPARARÁ LA FECHA ACTUAL Y ENTREGARÁ LAS ACTIVIDADES DE LA SEMANA ENTRANTE"
      }
    },
    {
      "id": "ffcd4a54-58f6-4718-be90-678e020d12b8",
      "name": "Sticky Note24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3216,
        1488
      ],
      "parameters": {
        "width": 368,
        "height": 496,
        "content": "## ANUNCIO AUTOMÁTICO\nUN AGENTE DE IA, TOMARÁ LA INFORMACIÓN DE LAS ACTIVIDADES DE LA SEMANA Y GENERARÁ UN MENSAJE PERSONALIZADO AL USUARIO PARA MANTENERLO SIEMPE AL DÍA"
      }
    },
    {
      "id": "65cf8025-fbd1-4c53-892c-3c39af419f6a",
      "name": "Sticky Note25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2848,
        1456
      ],
      "parameters": {
        "width": 336,
        "height": 320,
        "content": "## GENERADOR DE AUDIO\nPARA MEJORAR LA EXPERIENCIA DEL USUARIO, EL TEXTO SE TRANSFORMA A VOZ "
      }
    },
    {
      "id": "2010027d-9238-4bab-8025-0abcc28dd958",
      "name": "Sticky Note26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2512,
        1408
      ],
      "parameters": {
        "width": 352,
        "height": 304,
        "content": "## ENVIO DE VOZ\nEL MENSAJE DE VOZ PERSONALIZADO SE ENVÍA AUTOMATICAMENTE CADA DOMINGO A LAS 07:00PM AL USUARIO VÍA TELEGRAM"
      }
    },
    {
      "id": "8c041a63-8828-4f90-b670-85e018f73157",
      "name": "ENVIO DE MENSAJE DE VOZ1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -2400,
        1536
      ]
    },
    {
      "id": "9681b6de-a5db-443e-89a5-e6a927b92b89",
      "name": "ENVIO DE MENSAJE DE TEXTO1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -2384,
        1824
      ]
    },
    {
      "id": "245f9062-c877-46f0-9df3-d722308dca44",
      "name": "Sticky Note27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2512,
        1728
      ],
      "parameters": {
        "width": 352,
        "height": 272,
        "content": "## ENVIO DE TEXTO\nSE ENVÍA AUTOMATICAMENTE EL MENSAJE"
      }
    },
    {
      "id": "67e74e9f-13b3-4f5f-80f4-e35e75558704",
      "name": "OPTIMIZADOR",
      "type": "n8n-nodes-base.code",
      "position": [
        -2800,
        1808
      ]
    },
    {
      "id": "23d73abe-5b2b-42c5-b50f-fea043f4cd1a",
      "name": "OPTIMIZADOR1",
      "type": "n8n-nodes-base.code",
      "position": [
        -2640,
        1584
      ]
    },
    {
      "id": "5dfc42b7-8684-4e92-95ca-7e1154345402",
      "name": "GENERADOR DE MENSAJE DE VOZ",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2800,
        1584
      ]
    },
    {
      "id": "7008a1aa-c9fb-4777-aac2-63f51cb88d49",
      "name": "OBTENER_ID1",
      "type": "n8n-nodes-base.set",
      "position": [
        -880,
        1712
      ]
    },
    {
      "id": "0310e05e-bc18-48de-952d-2c7e5163ab1f",
      "name": "AGREGA ID_UNICAS1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -624,
        1856
      ]
    },
    {
      "id": "c797bd9d-e22d-40af-b685-0ecff2c2e838",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        320
      ],
      "parameters": {
        "width": 1040,
        "height": 1712,
        "content": "# 🏷️ **SISTEMA DE TAGS - REFERENCIA RÁPIDA** ✨\n\n## ESTE **SISTEMA DE TAGS** PERMITE ORGANIZAR Y CLASIFICAR LA INFORMACIÓN. CADA TAG FACILITA FILTRAR, IDENTIFICAR Y ACCEDER RÁPIDAMENTE A LOS NODOS, MEJ"
      }
    },
    {
      "id": "52455d30-745d-4373-a56e-770a643192b7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        1680
      ],
      "parameters": {
        "width": 432,
        "height": 304,
        "content": "## 👋 **BIENVENIDA AL USUARIO** 🎉\nAL INGRESAR UN NUEVO USUARIO SE ENVIA UN MENSAJE DE BIENVENIDA Y GUÍA DE USO DEL BOT.\n\n\n## 🆔 **OBTENCIÓN DE LAS IDs** 🔍\nGUARDA EN UNA BASE DE DATOS LA ID DE CADA USUAR"
      }
    },
    {
      "id": "97535bd5-a38d-4d93-8eb8-11ea593ec658",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3328,
        416
      ],
      "parameters": {
        "width": 608,
        "height": 288,
        "content": "## MANIPULACIÓN Y  ORGANIZACIÓN DE DATOS\nUSO DE LOS NODOS HTML, SPLIT-OUT Y CODE PARA OBTENER LOS DATOS  REQUERIDOS Y MANTENER UN ORDEN DE SALIDA"
      }
    },
    {
      "id": "6f2891fd-2874-4273-aeeb-5092191df6ec",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -3056,
        560
      ]
    },
    {
      "id": "525e2001-f72e-4f12-b0b8-1773498e9298",
      "name": "HTML",
      "type": "n8n-nodes-base.html",
      "position": [
        -3248,
        560
      ]
    },
    {
      "id": "bc233dd1-fa9b-4d75-ab77-4542eb14b535",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2720,
        416
      ],
      "parameters": {
        "width": 256,
        "height": 288,
        "content": "## BASE DE DATOS\nAGREGA Y ACTUALIZA LA BASE DE  DATOS CON LAS FECHAS Y ACTIVIDADES DEL CALENDARIO"
      }
    },
    {
      "id": "f3e79e09-fe05-4b71-a2cd-5810a88e8252",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3552,
        416
      ],
      "parameters": {
        "width": 224,
        "height": 288,
        "content": "## SCRAPPING\nPARA LA OBTENCIÓN DE FECHAS  Y ACTIVIDADES DE TODOS LOS PERIODOS LECTIVOS"
      }
    },
    {
      "id": "6a1fe95d-ab71-42a9-8906-dca393412815",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3824,
        416
      ],
      "parameters": {
        "width": 272,
        "height": 288,
        "content": "## TEMPORIZADOR DE 7 DÍAS\nCADA SEMANA SE ACTUALIZARÁN LAS BASES DE DATOS DEL CALENDARIO ACADÉMICO"
      }
    },
    {
      "id": "4fc9dc13-c0a9-424e-8fab-873ae62f7c09",
      "name": "BD-CALENDARIO",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -2656,
        560
      ]
    },
    {
      "id": "3c9d1e36-949b-41c0-82d3-14fe677e407e",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4208,
        320
      ],
      "parameters": {
        "width": 2224,
        "height": 1056,
        "content": "# 📅 **CALENDARIO (OBTENCIÓN - VÍA SCRAPING WEB)** 🔍\n\n\n"
      }
    },
    {
      "id": "db4dfee5-023e-4736-8b12-4f62879a3907",
      "name": "SCRRAPPING",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -3488,
        560
      ]
    },
    {
      "id": "d23cb762-8460-41b9-b291-179baa9985d2",
      "name": "CORRECTOR DE FECHAS",
      "type": "n8n-nodes-base.code",
      "position": [
        -2880,
        560
      ]
    },
    {
      "id": "d3138f0c-9007-4d94-ab5f-308ff5fca401",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4144,
        720
      ],
      "parameters": {
        "width": 1680,
        "height": 624,
        "content": "# 💾 **BASES DE DATOS** 🗂️ \n\n## - **FIMCP** (FACULTAD DE INGENIERÍA EN MECÁNICA Y CIENCIAS DE LA PRODUCCIÓN) ⚙️\n\n## - **FIEC** (FACULTAD DE INGENIERÍA EN ELECTRICIDAD Y COMPUTACIÓN) 💻\n\n## - **FICT** (F"
      }
    },
    {
      "id": "aae3673d-ab7d-421c-8955-2321e55717b1",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1968,
        320
      ],
      "parameters": {
        "width": 976,
        "height": 1136,
        "content": "# 💬 FLUJO: RESPUESTAS DEL USUARIO & FEEDBACK\n\n## 🎯 PROPÓSITO\n\n## GESTIONAR LA **RESPUESTA DEL USUARIO** TRAS UNA INTERACCIÓN CON EL BOT Y REGISTRAR SU **RETROALIMENTACIÓN** EN UNA HOJA DE CÁLCULO.\n\n##"
      }
    },
    {
      "id": "4bccb5c4-73cf-413b-a8e9-494e8af81b71",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        592
      ],
      "parameters": {
        "width": 688,
        "height": 128,
        "content": "## 🆘 **AYUDA (/HELP)** 💡\nMUESTRA UNA LISTA DE COMANDOS DISPONIBLES Y EXPLICA BREVEMENTE PARA QUÉ SIRVE CADA UNO, AYUDANDO AL USUARIO A ENTENDER CÓMO USAR EL BOT.\n\n\n"
      }
    },
    {
      "id": "33fba8d9-8d5a-4328-9f3f-9a847cd1eafc",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        768
      ],
      "parameters": {
        "width": 688,
        "height": 128,
        "content": "## ❓ **CONSULTAS (/FAQS)** 💬\nMANDA A LA SECCIÓN DE PREGUNTAS FRECUENTES Y CONSULTAS. AQUÍ PUEDES CONSULTAR TEMAS DE MATRÍCULA, EVENTOS, HORARIOS O SERVICIOS ESTUDIANTILES Y RECIBIR RESPUESTAS INMEDIAT"
      }
    },
    {
      "id": "ffb51e14-36fb-4cbf-98e1-7f507786aa3f",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        944
      ],
      "parameters": {
        "width": 688,
        "height": 128,
        "content": "## 📇 **CONTACTOS (/CONTACT)** 📞\nMUESTRA CONTACTOS Y CANALES OFICIALES DE LA ESPOL.\n(WEBS - CORREOS - ENLACES - NÚMEROS - DIRECCIÓN)\n\n"
      }
    },
    {
      "id": "fced05c4-2d46-4083-98e7-d5e852cea1cd",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        1120
      ],
      "parameters": {
        "width": 688,
        "height": 128,
        "content": "## 📅 **EVENTOS (/EVENTS)** 🎉\nMUESTRA PRÓXIMOS EVENTOS ACADÉMICOS DE ESPOL\n\n"
      }
    },
    {
      "id": "85c34e8b-d150-493b-9e3c-6bdad3cdb2d9",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        1296
      ],
      "parameters": {
        "width": 688,
        "height": 128,
        "content": "## 📝 **FEEDBACK (/FEEDBACK)** ⭐\nPERMITE ENVIAR OPINIONES, SUGERENCIAS O COMENTARIOS SOBRE EL FUNCIONAMIENTO DEL BOT, FACILITANDO LA RETROALIMENTACIÓN DE LOS USUARIOS CON EL FIN DE MEJORAR EL SERVICIO "
      }
    },
    {
      "id": "f58f8a5d-646c-4ebd-9c43-dfe65a0c6514",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1968,
        1456
      ],
      "parameters": {
        "width": 976,
        "height": 576,
        "content": "# 🚀 **INICIO DE AUTOMATIZACIÓN** ⚙️\n\n\n"
      }
    },
    {
      "id": "dea1510f-eae5-4f48-9b9d-cf61ba080faa",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1936,
        1600
      ],
      "parameters": {
        "width": 224,
        "height": 304,
        "content": "## TRIGGER TELEGRAM\nSE ACTIVA EN CUALQUIER INTERACCIÓN DEL USUARIO CON EL BOT\n"
      }
    },
    {
      "id": "506b453a-061b-4644-b318-237fc1b660b9",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1712,
        1536
      ],
      "parameters": {
        "width": 384,
        "height": 400,
        "content": "## CLASIFICADOR DE MENSAJES\n### - 0: FEEDBACK \n### - 1: COMENTARIO\n### - 2: TAGS\n### - Fallback: MENSAJE \n"
      }
    },
    {
      "id": "797b1458-c900-40af-89fb-866cf15e0ee8",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1712,
        1712
      ]
    },
    {
      "id": "d69dcc76-b210-4b80-893a-1649643e602d",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1328,
        1600
      ],
      "parameters": {
        "width": 320,
        "height": 304,
        "content": "\n##  CLASIFICADOR DE TAGS\n\n"
      }
    },
    {
      "id": "76454d3f-9393-486c-a229-696c60ce324e",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3120,
        720
      ],
      "parameters": {
        "width": 528,
        "height": 624,
        "content": "## - **ADMISIÓN** 📝\n\n## - **NIVELACIÓN** 🎯\n\n## - **BECAS** 🎓\n\n## - **MATRÍCULAS** 🧾\n\n## - **CERTIFICADOS Y TITULACIÓN** 📄\n\n## - **VIDA UNIVERSITARIA** 🏫\n\n## - **SERVICIOS DE SALUD Y BIENESTAR** ❤️\n\n##"
      }
    },
    {
      "id": "f75dd036-9cc5-4c9d-92ae-34bb89bbf4cd",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2592,
        720
      ],
      "parameters": {
        "width": 560,
        "height": 624,
        "content": "## - **HISTORIA DE LA ESPOL** 🏛️\n\n## - **SOSTENIBILIDAD** 🌱\n\n## - **CENTROS DE INVESTIGACIÓN** 🔬\n\n## - **VINCULACIÓN CON LA SOCIEDAD** 🤝\n\n## - **REGLAMENTOS** 📘\n\n## - **PROGRAMAS INTERNACIONALES** 🌍\n\n"
      }
    },
    {
      "id": "6a8a52db-c44d-4174-a92f-cd113b5a0d2a",
      "name": "Sticky Note28",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4208,
        -192
      ],
      "parameters": {
        "width": 2224,
        "height": 496,
        "content": "# 🤖 **GRUPO #10 – CHATBOT POLITÉCNICO DE PREGUNTAS FRECUENTES Y CALENDARIO ACADÉMICO EN TELEGRAM** 📅💬\n\n# 🧩 **WORKFLOW CREADO POR:**\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n# 🧑‍🏫 **MENTOR: JAREN** 🌟\n\n\n\n\n\n\n\n\n"
      }
    },
    {
      "id": "4602e289-d4d7-4dd0-9777-e148b1175a20",
      "name": "Sticky Note29",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3952,
        112
      ],
      "parameters": {
        "width": 1760,
        "height": 80,
        "content": "# ✨ **PROYECTO DE AUTOMATIZACIÓN INTELIGENTE CON ENFOQUE EN ASISTENCIA UNIVERSITARIA ✨**"
      }
    },
    {
      "id": "0cde6cc8-dd35-4fb3-afc9-1ec73921b970",
      "name": "Sticky Note30",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2592,
        -16
      ],
      "parameters": {
        "width": 448,
        "height": 96,
        "content": "# 👩‍💻 **NICOLE GUEVARA** 🚀\n"
      }
    },
    {
      "id": "08dc6029-171d-44d5-92b1-eaeb6cc57bc0",
      "name": "Sticky Note31",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3328,
        -16
      ],
      "parameters": {
        "width": 496,
        "height": 96,
        "content": "# 👩‍💻 **DOMÉNICA AMORES** 💡"
      }
    },
    {
      "id": "a35f356d-1afd-4aa9-bfbf-d43ac88909b7",
      "name": "Sticky Note32",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4048,
        -16
      ],
      "parameters": {
        "width": 464,
        "height": 96,
        "content": "# 👨‍💻 **ADRIÁN VILLAMAR** ⚙️"
      }
    },
    {
      "id": "e4d2da34-4840-4228-8d25-54cb5325a6f2",
      "name": "Sticky Note33",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1936,
        1024
      ],
      "parameters": {
        "width": 272,
        "height": 384,
        "content": "## 💡 *ESTE FLUJO PERMITE RECOPILAR COMENTARIOS DE LOS USUARIOS Y ALMACENARLOS DE FORMA AUTOMÁTICA, MEJORANDO EL SEGUIMIENTO DE LA SATISFACCIÓN Y LAS MEJORAS DEL BOT.*"
      }
    },
    {
      "id": "107e8fe1-081d-4541-a73e-d7aac4e11c11",
      "name": "Sticky Note34",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4208,
        2048
      ],
      "parameters": {
        "width": 4272,
        "height": 672,
        "content": ""
      }
    },
    {
      "id": "ae2d015b-3691-459b-b4c8-2ad948c176ba",
      "name": "Sticky Note35",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2192,
        2064
      ],
      "parameters": {
        "width": 2224,
        "height": 608,
        "content": "#      🤖 **SISTEMA DE GENERACIÓN DE MENSAJES AUTOMÁTICOS Y PERSONALIZADOS** 💬\n"
      }
    },
    {
      "id": "090a8f45-775a-45be-afe5-ada7e40f426c",
      "name": "Sticky Note36",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4160,
        2064
      ],
      "parameters": {
        "width": 1904,
        "height": 608,
        "content": "# 🧠 **CEREBRO DE LA GENERACIÓN DE MENSAJES AUTOMÁTICOS Y PERSONALIZADOS**\n\n## 🤖 ESTE FLUJO EN N8N FUNCIONA COMO UN ASISTENTE INTELIGENTE QUE ANALIZA LOS MENSAJES DEL USUARIO Y ENVÍA RESPUESTAS AUTOMÁT"
      }
    },
    {
      "id": "876d72d2-2dbc-44a8-a3f3-98b6fdece7a4",
      "name": "Sticky Note37",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1968,
        -192
      ],
      "parameters": {
        "width": 2032,
        "height": 496,
        "content": "# 🔗 ENLACES DEL BOT Y BASE DE DATOS\n\n# 🤖 BOT DE TELEGRAM: \n\n# https://web.telegram.org/k/#@ESPOLInfoBot\n\n\n\n# 📂 BASE DE DATOS EN SHEETS DE FAQ Y CALENDARIO: \n\n# https://docs.google.com/spreadsheets/d/1"
      }
    },
    {
      "id": "207caeb2-0dad-4a90-8cb7-f943663ecfc6",
      "name": "Code in JavaScript1",
      "type": "n8n-nodes-base.code",
      "position": [
        -3360,
        1664
      ]
    },
    {
      "id": "2760029c-b039-4aab-95bd-005caeead0b6",
      "name": "Split Out2",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -3504,
        1664
      ]
    },
    {
      "id": "9dff1b64-2d74-4de5-8dee-cfcebfcd3977",
      "name": "ACTIVIDADES DE LA SEMANA1",
      "type": "n8n-nodes-base.code",
      "position": [
        -3664,
        1664
      ]
    },
    {
      "id": "03a100d6-1492-4834-a638-653ff0a235ca",
      "name": "ANUNCIO SEMANAL",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -4096,
        1680
      ]
    },
    {
      "id": "af582ce7-df08-42dc-b4e6-e04bbc086c21",
      "name": "ACTUALIZAR CALENDARIO",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -3728,
        560
      ]
    }
  ],
  "connections": {
    "HTML": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "GUIA DE COMO PREGUNTAR",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Respuesta Usuario1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Guardado en cvs Feedback",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Comandos1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Detector_Calendario_Pre",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "BD_ESPOL": {
      "ai_tool": [
        [
          {
            "node": "PREGUNTAS AL AZAR DE GUIA",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Comandos1": {
      "main": [
        [
          {
            "node": "Mensaje Help",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "FAQs",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respuesta Contact",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respuesta Events",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Inicio - Feedback",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "BIENVENIDA",
            "type": "main",
            "index": 0
          },
          {
            "node": "OBTENER_ID1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "CORRECTOR DE FECHAS",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "BIENVENIDA": {
      "main": [
        [
          {
            "node": "PREGUNTAS AL AZAR DE GUIA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a chat": {
      "main": [
        [
          {
            "node": "Sí - Agradecimiento1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SCRRAPPING": {
      "main": [
        [
          {
            "node": "HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out2": {
      "main": [
        [
          {
            "node": "Code in JavaScript1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OBTENER_ID1": {
      "main": [
        [
          {
            "node": "AGREGA ID_UNICAS1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OPTIMIZADOR": {
      "main": [
        [
          {
            "node": "ENVIO DE MENSAJE DE TEXTO1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OPTIMIZADOR1": {
      "main": [
        [
          {
            "node": "ENVIO DE MENSAJE DE VOZ1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "BD_CALENDARIO1": {
      "main": [
        [
          {
            "node": "ACTIVIDADES DE LA SEMANA1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ANUNCIO SEMANAL": {
      "main": [
        [
          {
            "node": "BD_CALENDARIO1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model1": {
      "main": [
        [
          {
            "node": "Limpiar_Texto_Gemini1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Inicio - Feedback": {
      "main": [
        []
      ]
    },
    "Mensaje de Gemini": {
      "main": [
        [
          {
            "node": "Limpiar texto Gemini",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Respuesta Usuario1": {
      "main": [
        [
          {
            "node": "Get a chat",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No - Mensaje Feedback1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch_Que_BD_Leer": {
      "main": [
        [
          {
            "node": "Calendario Académico",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Leer FAQs de MongoDB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CORRECTOR DE FECHAS": {
      "main": [
        [
          {
            "node": "BD-CALENDARIO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript1": {
      "main": [
        [
          {
            "node": "GENERADOR DE ANUNCIOS1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Leer FAQs de MongoDB": {
      "main": [
        [
          {
            "node": "Buscar_FAQs_Relevantes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limpiar texto Gemini": {
      "main": [
        [
          {
            "node": "Enviar Respuesta sobre faqs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ACTUALIZAR CALENDARIO": {
      "main": [
        [
          {
            "node": "SCRRAPPING",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calendario Académico": {
      "main": [
        [
          {
            "node": "Buscar_Eventos_Calendario1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limpiar_Texto_Gemini1": {
      "main": [
        [
          {
            "node": "Enviar Respuesta sobre calendario1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Buscar_FAQs_Relevantes": {
      "main": [
        [
          {
            "node": "Construir_Prompt_Gemini1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GENERADOR DE ANUNCIOS1": {
      "main": [
        [
          {
            "node": "OPTIMIZADOR",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "No - Mensaje Feedback1": {
      "main": [
        []
      ]
    },
    "Detector_Calendario_Pre": {
      "main": [
        [
          {
            "node": "Switch_Que_BD_Leer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Construir_Prompt_Gemini1": {
      "main": [
        [
          {
            "node": "Mensaje de Gemini",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "PREGUNTAS AL AZAR DE GUIA",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Guardado en cvs Feedback": {
      "main": [
        []
      ]
    },
    "ACTIVIDADES DE LA SEMANA1": {
      "main": [
        [
          {
            "node": "Split Out2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "GENERADOR DE ANUNCIOS1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "PREGUNTAS AL AZAR DE GUIA": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger - Inicio": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Buscar_Eventos_Calendario1": {
      "main": [
        [
          {
            "node": "Construir_Prompt_Calendario1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enviar Respuesta sobre faqs": {
      "main": [
        []
      ]
    },
    "GENERADOR DE MENSAJE DE VOZ": {
      "main": [
        [
          {
            "node": "OPTIMIZADOR1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Construir_Prompt_Calendario1": {
      "main": [
        [
          {
            "node": "Message a model1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}