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.
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.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Customer Support Automation Suite
8 hand-picked workflows for $39.00.
That is $4.88 each, vs $24.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Customer Support workflows
- Automate Multilingual Customer Support with AI Voice Agent and Calendar Integration$9.99
- Automate Multichannel Customer Support with AI in Chatwoot$9.99
- Automate Customer Support on WhatsApp Using Google Docs and AI$9.99
- Automate Daily Jira Ticket Summaries with AI and Email Delivery$14.99
- Automate Facebook Comment Responses with AI and Notion Integration$14.99
- AI Customer Support Assistant: WhatsApp Ready, Works for Any Business$9.99
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.