AI agents can reason about tasks and decide which tools to use — making your workflows truly intelligent.
Agent Capabilities
- - Search the web for current information
- - Query databases and APIs
- - Perform calculations
- - Send emails and messages
- - Create and update records
How Agents Work in n8n
- Define tools: Each tool is a sub-workflow or API call the agent can use
- System prompt: Tell the agent its role and constraints
- User input: The agent receives a task or question
- Reasoning loop: The agent decides which tool(s) to call, processes results, and responds
n8n AI Agent Node
The AI Agent node provides a visual interface for building agents: - Connect tools as sub-nodes - Set memory (conversation history) - Configure model and parameters - Add output parsers for structured responses