Describe the problem/error/question
I’m building a RAG-based AI Agent in n8n using Qdrant Vector Store, and I’m stuck on a confusing behavior.
-
Qdrant successfully retrieves top-k documents (I can clearly see
pageContentand metadata in the Qdrant node output). -
However, the AI Agent still responds with
INSUFFICIENT_EVIDENCE, as if no documents were retrieved. -
This happens even when the retrieved documents are clearly relevant.
What’s confusing is the execution order:
-
In most examples, the flow looks like:
OpenAI → Qdrant → OpenAI (final answer) -
In my workflow, it often looks like:
OpenAI → OpenAI → Qdrantwhich makes it seem like the agent decides before properly using the tool output.
I also noticed that sometimes the embeddings output (vector numbers) flows through instead of retrieved text, and when that happens the agent always returns INSUFFICIENT_EVIDENCE.
Main question:
How are Qdrant tool results (pageContent) actually injected into the AI Agent’s context in n8n?
Is an explicit transformation step required to pass retrieved documents as evidence?
Any guidance would be appreciated.
Please share your workflow


