workflows.fit
Back to n8n workflows
n8n templateFreeBy DIGITAL BIZ TECH

Document RAG & chat agent: Google Drive to Qdrant with Mistral OCR

Knowledge RAG & AI Chat Agent: Google Drive to Qdrant Description This workflow transforms a Google Drive folder into an intelligent, searchable knowledge base and provides a chat agent to query it. It’s composed of t...

DevelopmentCore NodesData & StorageAILangchainEmbeddings Open AiLm Chat Open AiTool Http Request
Loading interactive preview...

Template notes

Knowledge RAG & AI Chat Agent: Google Drive to Qdrant

Description

This workflow transforms a Google Drive folder into an intelligent, searchable knowledge base and provides a chat agent to query it. It’s composed of two distinct flows: - An ingestion pipeline to process documents. - A live chat agent that uses RAG (Retrieval-Augmented Generation) and optional web search to answer user questions.

This system fully automates the creation of a “Chat with your docs” solution and enhances it with external web-searching capabilities.

---

Quick Implementation Steps

1. Import the workflow JSON into your n8n instance. 2. Set up credentials for Google Drive, Mistral AI, OpenAI, and Qdrant. 3. Open the Web Search node and add your Tavily AI API key to the Authorization header. 4. In the Google Drive (List Files) node, set the Folder ID you want to ingest. 5. Run the workflow manually once to populate your Qdrant database (Flow 1). 6. Activate the workflow to enable the chat trigger (Flow 2). 7. Copy the public webhook URL from the When chat message received node and open it in a new tab to start chatting.

---