- Home
- Resources
- Integrations
- Vector Store Question Answer Tool
n8n Vector Store Question Answer Tool nodeConfigure Vector Store Question Answer Tool in n8n.
An agent that reads an entire knowledge base before every answer is an agent nobody waits for. The n8n Vector Store Question Answer Tool node searches an indexed store, summarizes what comes back and hands the agent a finished answer. Three parameters, two ports to fill, and it runs.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Vector Store Question Answer Tool node do?
It is a tool, meaning an add-on the AI model can call when it needs something it does not know. Attached to an agent, it takes a fully formed question, searches the vector store wired to it, and returns a summarized answer built from the matching chunks. The agent never sees the raw documents. It asks, and it gets a paragraph back.
A vector store keeps mathematical representations of your text so that a search returns passages by meaning rather than by exact wording. This node sits on top of one. It is a sub-node, a helper block that never runs on its own: it only executes when a root node such as an AI Agent decides to call it.
Take a support chatbot over company documents. Files land from Google Drive, a Recursive Character Text Splitter cuts them into chunks, Embeddings Google Gemini indexes them in a Pinecone Vector Store, and this tool answers staff questions through a Google Gemini Chat Model. That is template 2753 on n8n.io, start to finish.
Second case, a WhatsApp assistant. Template 2465 pairs WhatsApp Business Cloud with an AI Agent, a Simple Memory so the conversation holds together, a Simple Vector Store for the product documentation, and this tool with an OpenAI Chat Model behind it. The customer types a question, the agent routes it here, the answer comes back in the thread.
Third case, a voice and phone agent. Template 3657 indexes documents in a Qdrant Vector Store, adds Google Calendar for bookings, and gives the agent this tool so it can quote the documentation while it talks. Same node, different front door.
When would you skip it? If the model already knows enough to answer and there is no document set behind the question, a Chat Model on its own is enough, which is what a Basic LLM Chain does in that same template. And if your agent needs to act on a system rather than read about it, the tool you want is an application node exposed to the agent, not this one. Check the ports first: the store and the model are both required, so a half-wired node blocks the run rather than degrading quietly. The scope is narrow on purpose, this node answers questions and does nothing else, no writing to the store, no file ingestion. Version 1 is what the catalog carries today. If you want the wider picture on where n8n fits against other platforms, the n8n review covers it, and n8n training goes through agent building step by step.
What do you plug into it?
n8n splits AI work between a root node that receives the workflow items and sub-nodes that hang off its ports, one type of sub-node per port. Here are the three ports on this node.
Ports (what plugs in)
- Vector Store
ai_vectorStorerequired - Chat Model
ai_languageModelrequired
Output (what it plugs into)
- Tool
ai_tool
01Vector Store
The store that holds your indexed chunks. This is where the question actually gets searched, so nothing useful comes out of the tool until something has been indexed here first.
What you drag onto this port is the store sub-node, the same one that indexed the documents in the first place. It decides where the vectors physically live, and the tool only searches what is already sitting there.
Key parameters
- Required: leave this port empty and the node refuses to run.
02Chat Model
The model that turns the retrieved chunks into a written answer. The search finds passages, this model reads them and composes the reply, so it is doing summarizing work rather than raw generation.
Key parameters
- Required: the node needs a model of its own, even when the agent above it already has one.
- OpenAI Chat Model: the one wired into the WhatsApp template.
- Anthropic Chat Model: another provider, same port, same wiring.
- Google Gemini Chat Model: paired with Gemini embeddings in template 2753.
03Tool
The output side. This node does not connect into the main flow, it attaches upward to a root node that is allowed to call tools.
Key parameters
- Required: a sub-node never runs on its own, so without a root node above it nothing ever calls the tool.
- AI Agent: the usual destination, in all three published templates.
- AI Agent Tool: an agent itself exposed as a tool to another agent.
- MCP Server Trigger: publishes the tool to a client outside n8n.
Which parameters matter?
The Vector Store Question Answer Tool node has 3 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Data Name
nameWhat you see in n8n
Notes & use cases
Names the body of data the tool searches. n8n drops that name into the tool description the model reads before deciding whether to call the tool: "Useful for when you need to answer questions about [name]." Spaces are converted to underscores on the way through.
Key parameters
- Data Name: a string, placeholder
e.g. users_info. Stick to letters, digits, spaces, dashes and underscores; a special character makes the agent run fail on an invalid function name.
hr_handbook and one named product_docs, so the model picks the right one from the name alone.Description of Data
descriptionWhat you see in n8n
Notes & use cases
Describes what is inside the store, in plain words. It fills the second half of the generated tool description: "Whenever you need information about [data description], you should ALWAYS use this." Vague wording here is the usual reason an agent ignores a tool that would have answered the question.
Key parameters
- Description of Data: a string, placeholder
[Describe your data here, e.g. a user's name, email, etc.]. Write it for the model, not for a colleague.
Limit
topKWhat you see in n8n
Notes & use cases
Caps how many results come back from the search before the model summarizes them. Fewer results keep the answer tight and the call cheap; more results cover a question whose answer is scattered across several passages.
Key parameters
- Limit: a number, the maximum number of results to return. It can take an expression such as
{{ $json.topK }}when the value comes from the item feeding the workflow.
Need help automating Vector Store Question Answer Tool with n8n?
A person reads every message.
Vector Store Question Answer Tool and n8n, the questions people ask
01Is the Vector Store Question Answer Tool free in n8n?
02What credentials does the Vector Store Question Answer Tool need?
03What are the limits of the n8n Vector Store Question Answer Tool node?
04What has to be attached at minimum, and which sub-node is the easiest start?
05n8n or Make for a retrieval agent like this?
Get our weekly integration tips.
No spam. Unsubscribe anytime.


