- Home
- Resources
- Integrations
- Milvus Vector Store
n8n Milvus Vector Store nodeConfigure Milvus Vector Store in n8n.
Milvus holds the vectors, this node decides what happens to them. Two head parameters sit in the panel, and one of them switches the n8n Milvus Vector Store node between four operation modes: ingestion, ranked search, and retrieval for a chain or an agent. For builders wiring a RAG pipeline.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Milvus Vector Store node actually do?
The n8n Milvus Vector Store node connects a workflow to a Milvus database used as a vector store, meaning a database that keeps mathematical representations of your content instead of raw text. It writes documents into a collection, reads ranked documents back for a query, or exposes the collection to AI nodes so a chain or an agent can search it while answering. One node, four modes, selected in the panel.
Start with ingestion. In Insert Documents mode the node takes the items reaching its main input and writes them into the collection you picked. That is the pattern behind a knowledge base rebuilt on a schedule: fetch the source files, split them, embed them, push them into Milvus. The node options carry a Clear Collection switch for that exact job, so a rebuild starts from an empty collection instead of stacking a second copy of every paragraph on top of the first.
Then reading. Get Many mode turns a Prompt into a similarity search and hands back the best matches, capped by Limit. This is the mode to reach for when the workflow does the reasoning itself and Milvus is only the lookup step: a support ticket arrives, the node pulls the closest procedure pages, a model drafts the reply, Slack posts it for review. Rerank Results reorders what comes back before the model ever sees it, which matters when the top hit and the fourth hit are close.
The last two modes hand the collection to something else rather than returning rows. Retrieve Documents (As Tool for AI Agent) plugs the store straight into the tools connector of an AI Agent, which then queries it on its own when a question needs your data. Its Name and Description are what the model reads to decide whether to call the tool at all, so a vague description is the usual reason an agent ignores a perfectly good knowledge base. Same logic if you build the tool side with AI Agent Tool.
When should you pick something else? If the workflow is a straight question and answer flow with no decisions to make, Retrieve Documents (As Vector Store for Chain/Tool) feeding a Vector Store Retriever and a Question and Answer Chain is simpler than an agent, and cheaper to debug. Embeddings stay a separate sub-node in every case, so the model provider you pick there, OpenAI or Anthropic among others, bills its own API calls. Limits worth knowing: the node is at version 1, the collection has to exist on the Milvus side before the node can touch it, and a required field left empty stops the execution. If the modes do not cover what you need, the n8n training pages go deeper on wiring the rest of the pipeline.
What do you connect before the node runs?
- 01
Create the Milvus credential once
Open the Credentials menu in n8n and create the Milvus credential: Base URL (defaults to
http://localhost:19530), Username (defaults toroot) and Password (defaults toMilvus). Change those defaults before production. Credentials live outside the workflow, so the same entry is reused everywhere a rotated secret updates in one place. - 02
Select it on the node
Back in the node panel, pick that credential in the credential field at the top. There is no Authentication selector on this node, so nothing else to choose: one credential, and the four values of Operation Mode all run through it. Insert and Get Many hit the same database with the same access, which is why a write that fails usually fails for the credential, not for the mode.
- 03
Point it at a collection and run one item
Fill Milvus Collection, either by picking it from the list or by typing the name, then run the node on a single item before wiring anything downstream. Get Many with a short Prompt is the quickest smoke test: documents come back, the connection is good. Nothing comes back and you know the problem is the collection or the credential, not the rest of the workflow.
Which parameters do you set in the panel?
The Milvus Vector Store node has 2 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Operation Mode
modeWhat you see in n8n
Notes & use cases
This selector decides everything else in the panel. Pick the mode first, then fill the fields it reveals.
Key parameters
- Operation Mode:
insertwrites documents into the collection,loadreturns ranked documents for a query,retrieveexposes the store to a chain or tool,retrieve-as-toolexposes it to an agent. - Prompt: required in Get Many, the search text ranked against the collection.
- Limit: how many top results come back.
- Name and Description: required in tool mode, what the model reads to decide whether to call the store.
- Include Metadata and Rerank Results: return the document metadata, reorder the hits before returning them.
Milvus Collection
milvusCollectionWhat you see in n8n
Notes & use cases
The collection the node reads from or writes to. It is required in all four modes, so it is the one field you always fill.
Key parameters
- Milvus Collection: a resource locator, so either pick the collection from the list loaded through the credential, or type its name, typically
{{ $json.collection }}when a previous node decides which one to hit.
Need help automating Milvus Vector Store with n8n?
A person reads every message.
Questions builders ask next
01Is the Milvus Vector Store node included in n8n?
02What do you need to authenticate for the n8n Milvus Vector Store node?
03What are the limits of this node?
04What do you connect to it at minimum, and where should you start?
05n8n or Make for a vector store workflow?
Get our weekly integration tips.
No spam. Unsubscribe anytime.