Block 1 - Default Data Loader
- Type / Role
- @n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
- Config choices
- Version 1.1
This workflow is provided as-is. Please review and test before using in production.
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. I...
@n8n/n8n-nodes-langchain.documentdefaultdataloader, n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.googledrivetrigger, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by DuyTran.
Original n8n.io sourceDescription π 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 retrieve, analyze, and answer user questions with context-aware responses.
π§© Key Features
π Google Drive Integration
Watches a folder for new file uploads.
Downloads and loads documents automatically into the system.
π Vector Embeddings & Storage
Uses OpenAI embeddings to transform documents into vectors.
Stores them in an in-memory vector store for retrieval.
π€ AI Agent with Memory
Built on LangChain Agent + GPT-4.1-mini.
Performs similarity search in the vector store.
Provides contextual answers with citations from the uploaded documents.
Maintains short-term conversation memory for better continuity.
π¬ Telegram Bot Integration
Users can send questions directly to the bot.
AI agent retrieves relevant information and replies with clear answers.
βοΈ How It Works
Trigger: Upload a file into the Google Drive folder.
Processing: Workflow downloads the file β loads β embeds β stores in vector memory.
Query: User sends a question via Telegram.
Retrieval & Response: AI agent searches stored documents β analyzes results β returns summarized answer in Telegram.
π Requirements
Google Drive OAuth credentials.
OpenAI API key (for embeddings + LLM).
Telegram Bot API token.
π₯ Use Cases
π Knowledge base assistant β Upload internal docs and query them in chat.
π« Learning support β Students upload study materials and ask questions.
π Business intelligence β Teams upload reports and get instant summaries.
More templet: https://auton8n.pw/
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.
| Workflow | Document Q&A chatbot with Google Drive, GPT-4-mini & Telegram (RAG system) |
|---|---|
| Complexity | intermediate |
| Nodes | 13 |
| Categories | Internal Wiki, AI RAG |
| Author | DuyTran |
| Published | 02 Sept 2025 |
Use the JSON export at /data/workflows/8147/8147.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
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. I...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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 Internal Wiki, AI RAG use case.