Templates / Document Q&A chatbot with Google Drive, GPT-4-mini & Telegram (RAG system)

Document Q&A chatbot with Google Drive, GPT-4-mini & Telegram (RAG system)

Ready for 3.0

by DuyTran ✓ · 904 views · created 2025-09-02 · Internal Wiki, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs on Google Drive events (plus 1 other trigger). Along the way it connects Google Drive, Embeddings OpenAI, OpenAI Chat Model and Telegram.

How it runs

Trigger: On Google Drive events (plus 1 other trigger).

  1. Download file (Google Drive): uses Google Drive
  2. AI Agent: runs an AI agent, with model: Model; 1 tool (Retrieve documents); memory: Simple Memory
  3. Insert documents (Simple Vector Store): uses the Simple vector store, with embeddings: Embedding model; document loader: Default Data Loader
  4. Telegram: uses Telegram

Services it uses

Google DriveEmbeddings OpenAIOpenAI Chat ModelTelegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Description 📌 Overview This workflow creates a chat-based Retrieval-Augmented Generation (RAG) agent that lets you upload documents to Google Drive and then query them directly through Telegram. It uses embeddings, vector storage, and an AI agent to…

Excerpt from DuyTran's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.