AI Agents
Connect AI models and configure intelligent agents for your automations.
What are AI Agents?
AI Agents are action types that use large language models to process events. They can understand context, make decisions, and take actions based on your prompts.
Setting Up AI Connections
Before using AI agents, you need to connect an AI provider:
- Navigate to AI > Connections
- Click Add Connection
- Choose your provider (Claude, OpenAI, etc.)
- Complete the OAuth flow or enter API credentials
Creating an Agent Action
- Create a new Action and select Agent as the type
- Choose which AI connection to use
- Select a model (e.g., Claude Sonnet, GPT-4)
- Write your system prompt
- Configure available tools (optional)
Writing Prompts
Your prompt defines how the agent behaves. You can use variables from the trigger:
You are a helpful assistant that processes customer support requests.
The customer wrote:
{{ payload.message }}
Analyze the request and provide a helpful response. If it's urgent,
flag it for immediate attention.
Tools
Agents can use tools to take actions beyond just generating text:
- Slack - Send messages to channels
- HTTP - Call external APIs
- MCP Tools - Connect custom tools via MCP protocol
Viewing Agent Runs
Every agent execution is logged with full details:
- Input context and prompt
- Model response
- Tool calls and results
- Token usage and latency
View agent runs at AI > Agent Runs.