Tutorials Qdrant

RAG with n8n + Qdrant: Build an AI Answer Bot, No Code

n8n ships with a Qdrant Vector Store node, so you can embed documents into Qdrant and let an AI agent answer from your own data. A full setup walkthrough.

E
Eric Founder, Roamer Tech · · 3 min read

Want to start now? Deploy your Qdrant in 60 seconds

The memory engine for AI apps — fully managed vector database. From NT$299/mo.

Subscribe to Qdrant

n8n ships with a Qdrant Vector Store node, which means you can lay out the entire RAG pipeline — document to embedding to Qdrant to an AI answering from your data — without writing a line of code. If your n8n also runs on RoamerHost, both services sit in the same data center and internal latency is extremely low.

Before you start

  • An n8n instance (RoamerHost or self-hosted, either works)
  • A Qdrant instance: note the endpoint and API key once it's provisioned
  • An API key for an embedding model (OpenAI or another provider)

1. Create the Qdrant credential in n8n

In n8n, go to Credentials in the left menu and add a "Qdrant API" credential: put your endpoint in Qdrant URL (https://qdr-xxxx.roamerhost.com) and the key shown in the dashboard in API Key. n8n tests the connection automatically when you save.

2. Build the document ingestion workflow

  1. Trigger: use a Form Trigger (upload files manually) or a Google Drive Trigger (process new files in a folder automatically)
  2. Qdrant Vector Store node: set the mode to "Insert Documents" and name the collection whatever you like (for example company-docs)
  3. Attach an Embeddings sub-node (OpenAI Embeddings, for instance) and a Text Splitter sub-node (a chunk size of 500–1000 with 50–100 overlap is a good starting point)

Run the workflow once and your documents are split, embedded and written into Qdrant.

3. Build the AI question-answering workflow

  1. Trigger: a Chat Trigger (n8n's built-in chat interface) or a webhook (to connect your own website, LINE or Telegram)
  2. AI Agent node: pick whichever LLM you normally use
  3. Add Qdrant Vector Store to the agent's Tools (mode set to "Retrieve Documents (As Tool)", pointing at the same collection)

Once it's done, ask it something about your company and the agent will fetch the relevant passages from Qdrant before answering, so the answer is grounded. Ask about something that isn't in the data and it will say it doesn't know rather than making something up.

Common problems

Search results aren't accurate? First check whether ingestion and querying use the same embedding model — different models mean different coordinate spaces, and the search cannot be accurate. Then adjust the chunk size: chunks that are too large add noise, chunks that are too small lose the meaning.

How do I update documents? Just run the ingestion workflow again. To avoid duplicates, clear the old data first using the Qdrant node's delete mode, or record a document version in the payload.

Want someone to build it for you?

If you'd rather not assemble these workflows yourself, or the scale is big enough that you want someone planning it with you, Roamer Tech (RoamerHost's parent company) takes on contract work in business process automation and AI agents:

Ready to get started with Qdrant?

60 seconds after you subscribe, Qdrant is installed for you — an isolated container with hard resource limits you never share, and HTTPS out of the box.

Subscribe to Qdrant

Billed monthly · no contract · cancel anytime

Hi, I'm Roamer! Tap me anytime with a question and I'll help you out.

Roamer

Roamer - AI assistant

Online
Roamer

Ask me anything, anytime — I'll do my best to help!

Powered by RoamerHost AI