Appearance
Zapier & Make Integration
Connect autoch.at CRM to Zapier and Make.com for powerful automation workflows.
Overview
autoch.at CRM can integrate with Zapier and Make.com in two ways:
- Outbound (CRM → Zapier/Make): Use webhooks to send events to Zapier/Make
- Inbound (Zapier/Make → CRM): Use the REST API to create/update data in CRM
Outbound Integration: Webhooks
Setting Up Webhooks
- Go to Settings → Integrations → Webhooks
- Click Create Webhook
- Configure:
- URL: Your Zapier/Make webhook URL
- Event Types: Select events you want to receive (e.g.,
invoice.created,client.created) - Status: Active
- Click Save
- Copy the Signing Secret (shown only once) - you'll need this to verify webhook signatures
Available Events
client.created- New client createdclient.updated- Client information updatedinvoice.created- New invoice createdinvoice.sent- Invoice sent to clientinvoice.paid- Invoice marked as paidinvoice.overdue- Invoice marked as overduequote.created- New quote createdquote.accepted- Quote accepted by clientquote.rejected- Quote rejected by client
Webhook Payload Format
json
{
"event": "invoice.created",
"timestamp": "2024-12-16T10:00:00Z",
"data": {
"invoice": {
"id": "uuid",
"invoice_number": "INV-0001",
"client_id": "uuid",
"status": "sent",
"total": 1000.00,
"due_date": "2024-12-31"
}
}
}Signature Verification
Webhooks include an HMAC-SHA256 signature in the X-Webhook-Signature header:
X-Webhook-Signature: sha256=signature_hereTo verify in Zapier/Make:
- Get the signing secret from webhook settings
- Compute HMAC-SHA256 of the request body using the secret
- Compare with the signature header
Inbound Integration: REST API
Getting Your API Key
- Go to Settings → Integrations → API Keys
- Click Create API Key
- Set scopes (e.g.,
clients:read,clients:write,invoices:read,invoices:write) - Set expiration (optional)
- Click Create
- Copy the API key immediately - it's shown only once
API Base URL
https://YOUR_PROJECT_REF.supabase.co/functions/v1/crm-api/v1Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYOpenAPI Specification
Get the complete OpenAPI 3.0 specification:
GET https://YOUR_PROJECT_REF.supabase.co/functions/v1/openapi-specThis spec can be imported into:
- Zapier: Use "Custom Action" and import the OpenAPI spec
- Make.com: Use "HTTP" module or import OpenAPI spec
- Postman: Import for testing
Common API Endpoints
List Clients
GET /v1/clients?limit=50&offset=0Create Client
POST /v1/clients
Content-Type: application/json
{
"company_name": "Acme Corp",
"email": "contact@acme.com",
"phone": "+1-555-0123"
}List Invoices
GET /v1/invoices?limit=50&offset=0&order_by=created_at&order=descCreate Invoice
POST /v1/invoices
Content-Type: application/json
{
"client_id": "uuid",
"due_date": "2024-12-31",
"subtotal": 1000.00,
"tax_rate": 10.0,
"total": 1100.00
}Get Invoice
GET /v1/invoices/{id}Zapier Setup
Option 1: Webhook Trigger (Recommended)
- In Zapier, create a new Zap
- Choose Webhooks by Zapier as trigger
- Select Catch Hook
- Copy the webhook URL
- In CRM, create a webhook with this URL
- Test the connection
Option 2: Custom Action
- In Zapier, create a new Zap
- Choose Code by Zapier or Webhooks by Zapier as action
- Use the REST API endpoints with your API key
- Or import the OpenAPI spec for better integration
Example Zapier Workflow
Trigger: New Invoice Created (Webhook)
Action: Send Email via Gmail
- Use
in email subject{{data.invoice.invoice_number}} - Use
in email body{{data.invoice.total}}
Make.com Setup
Option 1: Webhook Module
- In Make.com, create a new scenario
- Add Webhooks → Custom webhook module
- Copy the webhook URL
- In CRM, create a webhook with this URL
- Configure webhook to trigger on desired events
Option 2: HTTP Module
- In Make.com, add HTTP → Make a Request module
- Configure:
- URL:
https://YOUR_PROJECT_REF.supabase.co/functions/v1/crm-api/v1/clients - Method: GET, POST, PUT, DELETE
- Headers:
Authorization: Bearer YOUR_API_KEY - Body: JSON payload (for POST/PUT)
- URL:
Example Make.com Workflow
Trigger: New Invoice Created (Webhook)
Action: Create Task in Asana
- Map invoice data to Asana task fields
- Use invoice number as task title
Rate Limits
- API: 100 requests per hour per API key
- Webhooks: No rate limit (delivered asynchronously)
Security Best Practices
- Store API keys securely: Never commit API keys to version control
- Use least privilege: Only grant necessary scopes to API keys
- Rotate keys regularly: Create new keys and revoke old ones periodically
- Verify webhook signatures: Always verify webhook signatures in Zapier/Make
- Use HTTPS: All API and webhook URLs use HTTPS
Troubleshooting
Webhook Not Receiving Events
- Check webhook status is "Active" in CRM
- Verify webhook URL is correct and accessible
- Check webhook logs in CRM for delivery status
- Ensure event types are selected in webhook configuration
API Authentication Failing
- Verify API key is correct
- Check API key hasn't expired
- Ensure API key has required scopes
- Verify
Authorizationheader format:Bearer YOUR_API_KEY
Rate Limit Errors
- Reduce request frequency
- Implement exponential backoff
- Use webhooks instead of polling API
Next Steps
- API Documentation - Complete API reference
- Webhooks Guide - Detailed webhook documentation
- API Keys - Managing API keys

