Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Build a PDF Document RAG System with Mistral OCR, Qdrant and Gemini AI

n8n template #4400
This workflow is designed to process PDF documents using Mistral's OCR capabilities, store the extracted text in a Qdrant vector database, and enable Retrieval-Augmented Generation (RAG) for answering questions. Here’s how it functions: Once configured, the workflow automates document ingestion, vectorization, and intelligent querying, enabling powerful RAG applications. Benefits End-to-End Automation No manual interaction is needed: documents are read, processed, and made queryable with minimal setup. Scalable and Modular The workflow uses subflows and batching, making it easy to scale and customize. Multi-Model Support Combines Mistral for OCR, OpenAI for embeddings, and Gemini for intelli

How to set it up

  1. Open template #4400 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 4 credentials under Credentials → Add credential: Google Drive, Embeddings OpenAI, Qdrant Vector Store, Google Gemini Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the Google Gemini Chat Model node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Build a PDF Document RAG System with Mistral OCR, Qdrant and Gemini AI" (https://n8n.io/workflows/4400). It uses: HTTP Request, Google Drive, Code, Summarization Chain, Question and Answer Chain, Embeddings OpenAI, Vector Store Retriever, Token Splitter, Default Data Loader, Qdrant Vector Store, Google Gemini Chat Model. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Davide Boizza published it free on n8n.io as a verified creator, and it has 20K views. It runs on n8n Cloud or a self-hosted n8n instance.

Google Drive, Embeddings OpenAI, Qdrant Vector Store, Google Gemini Chat Model. The other 7 nodes are built into n8n.

Similar workflows

NameViews
  1. Effortless Email Management with AI-Powered Summarization & Review27K
  2. AI-Powered Email Automation for Business: Summarize & Respond with RAG12K
  3. Explore n8n Nodes in a Visual Reference Library5,197
  4. 🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant65K
  5. AI Voice Chatbot with ElevenLabs & OpenAI for Customer Service and Restaurants62K
  6. Complete business WhatsApp AI-Powered RAG Chatbot using OpenAI35K
  7. Advanced AI Demo (Presented at AI Developers #14 meetup)24K
  8. API Schema Extractor24K