Block 1 - Detect New Files
- Type / Role
- n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This template helps you to create an intelligent document assistant that can answer questions from uploaded files. It shows a complete single vector RAG (Retrieval Augmented Generation) system that...
n8n-nodes-base.googledrivetrigger, n8n-nodes-base.httprequest, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.vectorstoreqdrant, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.chattrigger
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yulia.
Original n8n.io sourceThis template helps you to create an intelligent document assistant that can answer questions from uploaded files.
It shows a complete single-vector RAG (Retrieval-Augmented Generation) system that automatically processes documents, lets you chat with it in natural language and provides accurate, source-cited responses.
The workflow consists of two parts: the data loading pipeline and RAG AI Agent that answers your questions based on the uploaded documents.
To test tis workflow, you can use the following example files in a shared Google Drive folder.
💡 Find more information on creating RAG AI agents in n8n on the official page.
The template uses the following example files in the Google Docs format:
✅ Upload files to Google Drive.
IMPORTANT: This template supports files in Google Docs format. New files will be downloaded in HTML format and converted to Markdown. This preserves the overall document structure and improves the quality of responses.
The webhook will catch the added files and you will see the execution in your "Executions" tab.
Note: If the webhook doesn’t see the files you copied, try adding them to your Google Drive folder from the opened shared files via the Move to feature.
✅ Chunk, embed, and store your data with a connected OpenAI embedding model and Qdrant vector store.
A Qdrant collection – vector storage for your data – will be created automatically after the n8n webhook has caught your data from Google Drive. You can name your collection in the "Insert into Vector Store" node.
✅ Select the database with imported data in the “Search Documents” sub-node of an AI Agent.
✅ Start a chat with your agent via the chat interface: it will retrieve data from the vector store and provide a response.
❓You can ask the following questions based on the example files to test this workflow:
The workflow automatically detects new files, processes them into searchable vector chunks, and maintains conversation context. Just drop files in your Google Drive folder and start asking questions.
💻 📞Get in touch with me if you want to customise this workflow or have any questions.
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 | Build a RAG agent with n8n, Qdrant & OpenAI |
|---|---|
| Complexity | advanced |
| Nodes | 15 |
| Categories | Internal Wiki, AI RAG |
| Author | Yulia |
| Published | 03 Dec 2025 |
Use the JSON export at /data/workflows/11468/11468.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.
This template helps you to create an intelligent document assistant that can answer questions from uploaded files. It shows a complete single vector RAG (Retrieval Augmented Generation) system that...
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.