AI Nodes
AI nodes bring intelligence to your workflows. The AI Agent node is the core AI building block — it handles conversations autonomously with support for tools, knowledge bases, multi-turn memory, and multi-agent handoffs.ai.agent
Let an AI agent handle the conversation with the contact. The AI Agent node is a full-featured conversational agent. It can call tools, search knowledge bases, hand off to specialized sub-agents, and maintain multi-turn conversation memory — all within a single workflow node.Configuration
Linked Agents
Instead of configuring everything inline, you can link to a pre-configured agent from the Agents page. WhenagentId is set, the node inherits the agent’s:
- Instructions (system prompt)
- Model selection
- Tools (HTTP tools, integrations)
- Knowledge (documents, URLs)
Tools
AI Agent nodes can use tools during conversation to fetch information and take actions:
When tools are configured, the agent autonomously decides when to call them based on the conversation context. Tool results are incorporated into the agent’s response.
Knowledge & RAG
Agents can access knowledge through two mechanisms:- Knowledge Links: URLs and documents attached to the agent. Content is scraped and injected into the system prompt as context.
- Document Search (RAG): When documents are uploaded to an agent, the platform performs vector search against the inbound message to find relevant chunks. These are injected into the system prompt automatically.
Multi-Agent Handoffs
Agents can hand off conversations to specialized sub-agents. WhenhandoffAgentIds is configured:
- The primary agent receives the message and begins processing
- If the conversation requires a different specialization, the agent transfers to the appropriate handoff agent
- The handoff agent takes over with its own instructions, tools, and knowledge
- The handoff chain is logged in the run step output
Exit Conditions
Define conditions that end the agent’s turn and route to the next node in the workflow:
Exit conditions create output handles on the node, enabling branching logic based on the agent’s assessment of the conversation.
Outputs
Connections
- Inputs: Single input handle receiving conversation context
- Outputs: Default output handle, plus one handle per exit condition
Multi-Turn Conversations
AI Agent nodes automatically maintain persistent multi-turn memory. Each WhatsApp contact gets a dedicated conversation thread, so the agent remembers previous messages without you managing context manually.Example Use Cases
Customer support agent: Configure with your product knowledge base, connect HTTP tools for order lookup, and set exit conditions for “needs_human” (routes towa.handoff) and “issue_resolved” (routes to a satisfaction survey).
Sales qualification agent: Link a sales-focused agent with web search enabled, set tone to “professional”, and configure handoff agents for “technical_questions” (routes to a technical specialist agent) and “pricing_inquiries” (routes to a pricing agent).