Zapier Integration
Connect Antbase to 7,000+ apps via Zapier using the Webhooks action. Add AI-powered classification, summarization, and generation to any Zap without writing code.
What this enables
- AI steps in any Zap -- classify emails, generate responses, extract data
- Connect to Slack, Gmail, Notion, Salesforce, and thousands more
- No code required -- configure via Zapier's visual editor
- Automatic model routing and failover on every request
Quick Start
1. Add a Webhooks by Zapier action
In your Zap, add a new action and search for Webhooks by Zapier. Select Custom Request.
2. Configure the HTTP request
| Field | Value |
|---|---|
| Method | POST |
| URL | https://antbase.ai/v1/chat/completions |
| Headers | Authorization: Bearer your-ant-api-keyContent-Type: application/json |
3. Set the request body
{
"model": "ant:auto",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant. Respond concisely."
},
{
"role": "user",
"content": "Summarize this: {{step1__body}}"
}
],
"temperature": 0.7,
"max_tokens": 1024
}Replace {{step1__body}} with the Zapier field from your trigger step.
4. Use the response
The AI response is available in subsequent steps at choices__0__message__content.
Configuration
For JSON output that downstream Zapier steps can parse:
{
"model": "ant:fast",
"messages": [
{
"role": "system",
"content": "Classify the email into: support, sales, billing, spam. Return JSON: {"category": "...", "priority": "high|medium|low"}"
},
{
"role": "user",
"content": "{{trigger__email_body}}"
}
],
"temperature": 0,
"response_format": { "type": "json_object" }
}Virtual Models
| Model | Best for | Notes |
|---|---|---|
| ant:auto | General use | Picks optimal model per request |
| ant:fast | Classification, triage | Fast and cheap for high-volume Zaps |
| ant:best | Complex generation | Frontier models for quality output |
| ant:free | Testing | Zero cost for Zap development |
| ant:reasoning | Analysis | Chain-of-thought reasoning |
| ant:coder | Code tasks | Code-optimized models |
See Virtual Models for the full list.
Troubleshooting
Zapier shows 401 error
Make sure the Authorization header is Bearer your-ant-api-key (with a space after "Bearer"). Zapier does not add this automatically.
Response is empty or malformed
Ensure the Data field contains valid JSON with Content-Type: application/json header set. Zapier's "Data" field should be set to "json" type, not form data.