Antbase/Documentation

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

FieldValue
MethodPOST
URLhttps://antbase.ai/v1/chat/completions
HeadersAuthorization: Bearer your-ant-api-key
Content-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

ModelBest forNotes
ant:autoGeneral usePicks optimal model per request
ant:fastClassification, triageFast and cheap for high-volume Zaps
ant:bestComplex generationFrontier models for quality output
ant:freeTestingZero cost for Zap development
ant:reasoningAnalysisChain-of-thought reasoning
ant:coderCode tasksCode-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.