Agent BrainsAgent Brains
n8n

Introduction

Build n8n workflows with AgentBrains Knowledge Base, Conversation, Document Structuring, retrieval, triggers, and synthetic QA.

Introduction to AgentBrains n8n Nodes

The AgentBrains node pack connects n8n workflows to AgentBrains production APIs. This page covers package version 3.3.0.

Why use the node pack

You can call the AgentBrains APIs with raw HTTP nodes, but the dedicated nodes remove repetitive setup and make workflows easier to maintain.

BenefitWhat you get in n8n
Credential handlingAccess tokens live in the n8n credential store instead of being repeated in every HTTP node.
Visual selectionResources, operations, categories, indexes, and filters are selected from node fields.
Workflow-ready outputResponses are shaped for later n8n branching, formatting, and AI steps.
Faster production setupYou can connect workflows to Knowledge Base, Conversation, Document Structuring, retrieval, and QA without custom request chains.

Install the package

AgentBrains ships as an n8n community node package: n8n-nodes-agent-brains.

Use version 3.3.0 or newer for Conversation and Document Structuring support.

n8n supports three installation paths for community nodes:

PathBest forNotes
Nodes panelVerified community nodesAvailable from the canvas search panel for verified packages
Settings → Community NodesSelf-hosted npm installation through the UIRequires an Owner or Admin account
Manual npm installQueue mode or private-package setupsSelf-hosted only
  1. Open Settings.
  2. Go to Community Nodes.
  3. Select Install.
  4. Enter n8n-nodes-agent-brains@3.3.0.
  5. Confirm the community-node risk prompt.

Manual installation

If you install packages manually inside the n8n runtime container, install it from npm in ~/.n8n/nodes, then restart n8n:

mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm install n8n-nodes-agent-brains@3.3.0

If you run n8n in Docker, open the container shell first and then run the same commands there.

Important limitations

  • Manual npm installation is available on self-hosted n8n instances.
  • Unverified community nodes are not available on n8n Cloud.
  • Verified community nodes can also be installed directly from the nodes panel by instance owners or admins.

Configure credentials

Create one AgentBrains Integration API credential and reuse it across all nodes.

FieldDescription
Access TokenGenerate it from the AgentBrains system integration page.
Custom DomainOptional override for sandbox or a custom environment. Leave it empty to use the package default.

The credential sends the token as the required API authentication header, so you do not need to manage request headers manually.

If you need help creating the token first, open Access API Key.

Choose the right node

Node/resourceBest forTypical outcome
AgentBrains Knowledge Base → DocumentCreate, retrieve, list, relate, filter, and update Knowledge Base entities/documents.Your workflow reads or updates exact Knowledge Base records.
AgentBrains Knowledge Base → CategoryCreate, retrieve, list, filter, and update Knowledge Base categories.Your workflow manages category structure or category-based filters.
AgentBrains ConversationList conversations, retrieve history, and send outbound agent messages.Your workflow inspects conversation context and continues a selected conversation.
AgentBrains Document StructuringStart document structuring tasks and retrieve task status/result later.Your workflow starts asynchronous document processing and polls for the result.
AgentBrains Integration TriggerStarting an n8n workflow from AgentBrains.A live AgentBrains conversation or external integration invokes your workflow webhook.
AgentBrains RAGSemantic retrieval across indexes.Your AI agent searches large knowledge collections without managing embeddings yourself.
AgentBrains Synthetic QAAutomated validation of agent behavior.You get scored test conversations and a structured QA report.

Deterministic answer flow

Use Integration Trigger to receive the user request, then call Knowledge Base → Document when the answer must come from a specific policy, price list, instruction manual, or product sheet.

Conversation follow-up flow

Use Conversation → Get Many to find a conversation, Conversation → Get History for context, then Conversation → Send Agent Message to save an outbound agent reply.

Document intake flow

Use Document Structuring → Start Task with a document link, store the returned taskId, then use Wait, Schedule, Loop, or retry logic before calling Document Structuring → Get Task.

Hybrid agent flow

Use RAG as an AI tool for broad semantic search, then call Knowledge Base when the model needs an exact source document or image.

Quality gate flow

Use Synthetic QA in a validation workflow after prompt, policy, or automation changes.

What the nodes map to

n8n resourceUse it forPublic HTTP API
Knowledge Base → DocumentCreate, retrieve, list, relate, filter, and update Knowledge Base entities/documents./knowledge-base/entities and related entity routes
Knowledge Base → CategoryCreate, retrieve, list, filter, and update Knowledge Base categories./knowledge-base/categories and related category routes
ConversationList conversations, retrieve history, and send outbound agent messages./conversations
Document StructuringStart document structuring tasks and retrieve task status/result./structuring/tasks
RAGDiscover indexes and retrieve semantic matches./knowledge-base/indexes and /knowledge-base/retrieve
Integration TriggerRegister workflow webhooks.AgentBrains workflow trigger integration
Synthetic QAStart and inspect QA runs.AgentBrains QA integration

Node Interface

Here is how the AgentBrains nodes look in n8n:

AgentBrains n8n Nodes Example

Next steps

On this page