Retriever Node
Search a workspace knowledge base and return matching document snippets.
Retriever Node
The retriever node queries a workspace knowledge base and returns the most relevant entries for a given search query.
Configuration Fields
| Field | Type | Default | Description |
|---|---|---|---|
knowledgeBaseId | string | — | ID of the knowledge base to search |
query | string | lastOutput | Search query (supports {{}} substitution) |
topK | number | 5 | Maximum number of results to return |
outputField | documents | text | full | documents | How to return results |
The retriever currently uses keyword text search — not semantic/vector search. Semantic retrieval is planned for a future release.
Output
documents (default)
text
Returns only the concatenated text of all matching entries, separated by \n\n---\n\n. Useful for injecting directly into an agent prompt.
full
Returns the same object as documents mode with the additional text field included.
Wiring Pattern
A common pattern is to feed retriever output directly into an agent node:
In the agent's instructions: