# RAG agent in chat: answers questions from PDFs in Google Drive via Milvus and GPT-4o
This automation enables instant AI-powered access to corporate documentation. New PDFs added to Google Drive are automatically indexed in the Milvus vector database, and users receive accurate, context-aware answers to their questions via chat. Ideal for teams deploying no-code RAG assistants with up-to-date internal knowledge.
## Who it´s for
- Companies deploying internal AI documentation assistants
- Technical specialists building RAG systems without coding
- Support teams with access to updated PDF manuals
- Legal and consulting firms managing large document archives
- Developers testing vector databases within n8n
## What the automation does
- On new PDF upload to a Google Drive folder, text is extracted, chunked, and embedded using Cohere
- Embeddings are stored in Milvus for fast semantic retrieval
- When a user sends a message, a LangChain-powered RAG agent with GPT-4o is triggered
- The agent retrieves relevant context from Milvus, considers conversation history, and generates precise responses
- Example: a support agent asks ´What’s new in version 3.1?´ — the system scans technical docs and returns a concise summary
## What´s included
- Ready-to-use n8n workflow
- Trigger logic for chat messages and Google Drive file creation
- Integrations with Google Drive, Milvus (Zilliz Cloud), Cohere, and OpenAI
- Basic setup and adaptation guide
## Requirements for setup
- n8n instance with external API access
- Google Drive account with designated PDF folder
- Milvus or Zilliz Cloud access
- API keys for Cohere and OpenAI
- Environment configured for LangChain and vector databases
## Benefits and outcomes
- Instant access to information across hundreds of documents
- Automatic knowledge base updates on new file uploads
- High answer accuracy using GPT-4o and semantic search
- Conversation memory for contextual interactions
- Reduced workload for support and legal staff
- Fast prototyping of production-like RAG systems
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet