RAG Chatbot: Google Drive Q&A via Telegram & GPT-4-mini

Builds a chat-based RAG agent for querying Google Drive documents via Telegram, using OpenAI embeddings, vector storage, and GPT-4-mini for contextual answers with memory.

n8n
RAG Chatbot: Google Drive Q&A via Telegram & GPT-4-mini

This workflow implements a Retrieval-Augmented Generation (RAG) system that enables users to upload documents to a monitored Google Drive folder. Upon upload, it automatically downloads the files, processes them into vector embeddings using OpenAI, and stores them in an in-memory vector store for efficient retrieval. This setup transforms static documents into a dynamic knowledge base accessible via natural language queries.

When users send questions through the integrated Telegram bot, an AI agent powered by GPT-4-mini and LangChain performs similarity searches on the vector store, retrieves relevant document chunks, and generates accurate, context-aware responses with citations. Short-term conversation memory ensures coherent multi-turn interactions, enhancing user experience.

Key benefits include seamless automation of document ingestion and querying, reducing manual research time, and providing instant insights from proprietary data. Ideal use cases: internal knowledge bases for teams, student study assistants with uploaded materials, business report summarization, and customer support for FAQ handling via chat.

$24.99
Last updated October 17, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Customer Support workflows

More from Maxim Luong

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.