Skip to main content

University FAQ & calendar assistant with Telegram, MongoDB and Gemini AI

Workflow preview

Workflow preview
100%
University FAQ & calendar assistant with Telegram, MongoDB and Gemini AI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Interactive Academic Chatbot (Telegram + MongoDB) Overview This project is a template for building a complete academic virtual assistant using n8n. It connects to Telegram, answers frequently...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.switch, n8n-nodes-base.telegram, n8n-nodes-base.mongodb, n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.lmchatgooglegemini

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Club de Inteligencia Artificial Politécnico CIAP.

Original n8n.io source

1.1 Workflow description

Title
University FAQ & calendar assistant with Telegram, MongoDB and Gemini AI
Workflow name
University FAQ & calendar assistant with Telegram, MongoDB and Gemini AI

🤖 Interactive Academic Chatbot (Telegram + MongoDB)

Overview 📋

This project is a template for building a complete academic virtual assistant using n8n. It connects to Telegram, answers frequently asked questions by querying MongoDB, keeps the community informed about key dates (via web scraping), and collects user feedback for continuous improvement.

How It Works

Architecture and Workflow ⚙️

n8n: Orchestration of 3 workflows (chatbot, scraping worker, announcer).

Telegram: Frontend for user interaction and sending announcements.

MongoDB: Centralized database for FAQs, academic calendar, and feedback logs.

Web Scraping: HTTP Request and HTML Extract nodes to read the university's web calendar.

Cron: For automatic periodic executions (daily and weekly).

Core Processes 🧠

Real-time reception of user queries via Telegram.

Querying MongoDB collections for FAQ answers and calendar dates.

Daily scraping of the university website to keep the calendar updated.

Instant logging of user feedback (👍/👎) in MongoDB.

Proactive sending of weekly announcements to the Telegram channel.

Key Benefits ✅

Complete automation of student communication 24/7.

An always-accurate academic calendar database without manual intervention.

A built-in continuous improvement system through user feedback.

Proactive communication of important events to the entire community.

Use Cases 💼

Automation of student support in universities, colleges, and institutions.

A virtual assistant for any organization needing to manage FAQs and a dynamic calendar.

An automated announcements channel to keep a community informed.

Requirements 👨‍💻

n8n instance (self-hosted or cloud).

Credentials for a Telegram Bot (obtained from @BotFather).

Credentials for a MongoDB database (Connection URI).

URL of the academic calendar to be scraped.

Authors 👥

  • Doménica Amores
  • Nicole Guevara
  • Adrián Villamar
  • Mentor: Jaren Pazmiño

Applicants to the CIAP Polytechnic Artificial Intelligence Club

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Construir_Prompt_Gemini1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Buscar_FAQs_Relevantes

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Respuesta Usuario1

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 4 - Sí - Agradecimiento1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 5 - No - Mensaje Feedback1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Comandos1

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 7 - Inicio - Feedback

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 8 - FAQs

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Leer FAQs de MongoDB

Type / Role
n8n-nodes-base.mongoDb - mongoDb
Config choices
Version 1.2

Block 10 - Telegram Trigger - Inicio

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 11 - Respuesta Contact

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 12 - Respuesta Events

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - Limpiar texto Gemini

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Get a chat

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 15 - Switch_Que_BD_Leer

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 16 - Detector_Calendario_Pre

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Mensaje de Gemini

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 18 - Enviar Respuesta sobre faqs

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 19 - Guardado en cvs Feedback

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 20 - Construir_Prompt_Calendario1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - Message a model1

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 22 - Limpiar_Texto_Gemini1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 23 - Enviar Respuesta sobre calendario1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 24 - Calendario Académico

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Showing the first 24 of 91 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow University FAQ & calendar assistant with Telegram, MongoDB and Gemini AI
Complexity advanced
Nodes 91
Categories Support Chatbot, AI Chatbot
Author Club de Inteligencia Artificial Politécnico CIAP
Published 09 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10665/10665.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does University FAQ & calendar assistant with Telegram, MongoDB and Gemini AI do?

Interactive Academic Chatbot (Telegram + MongoDB) Overview This project is a template for building a complete academic virtual assistant using n8n. It connects to Telegram, answers frequently...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.