Zapier and Make
Zapier and Make connect apps without code: “when a customer writes on WhatsApp, add a row to a sheet”, “when a form is filled in, send a WhatsApp template”. Chatilo works with both, and with n8n, through the same API described on these pages.
Two directions #
- Triggers start an automation when something happens in Chatilo. They use webhooks: the tool gives you an address, and you subscribe it to an event.
- Actions do something in Chatilo from another app. They are ordinary API requests.
For both you need two things from the API and webhooks page: the base address, which is https://chatilo.me/api/v1, and an API key. Make one key per tool, with read-and-write access, so you can switch a tool off without touching the others.
The triggers #
| Event | Starts an automation when |
|---|---|
message.received | A customer sends a message |
contact.created | A new contact is added |
contact.updated | A contact’s details are changed |
contact.tag_added | A tag is added to a contact |
conversation.opened | A conversation starts or is reopened |
conversation.closed | A conversation is closed |
conversation.handover | A chatbot hands a chat to the team |
campaign.finished | A broadcast finishes |
lead.created | A new lead arrives from an ad |
order.created | A customer places an order in chat |
order.paid | An order is paid |
order.fulfilled | An order is marked fulfilled |
order.cancelled | An order is cancelled |
booking.created | An appointment is booked |
booking.rescheduled | An appointment is moved to a new time |
booking.cancelled | An appointment is cancelled |
Example deliveries for each are in the webhooks guide.
Zapier #
With the Chatilo app for Zapier #
Chatilo ships with a Zapier app definition. Whoever runs this installation uploads it once to their Zapier account and invites you; the steps are in the integrations/zapier folder of the installation. Then:
- In Zapier, create a Zap and choose the Chatilo app as its trigger or action.
- When asked to connect, enter the base address
https://chatilo.meand your API key. - Pick a trigger or an action and map the fields. Dropdowns for tags, templates and numbers fill themselves from your workspace.
Triggers subscribe themselves when the Zap is switched on and unsubscribe when it is switched off. You can see them under Active connections on the API and webhooks page. The app covers the nine messaging and contact events; for order and booking events, use the method below.
Without the app: Webhooks by Zapier #
Zapier’s own Webhooks by Zapier works with any installation, with nothing to upload.
- For a trigger, choose Webhooks by Zapier → Catch Hook. Zapier shows you an address starting with
https://hooks.zapier.com/. Subscribe it to an event by running this once, in a terminal or any API tool:Then cause the event (send your number a WhatsApp message) so Zapier can see a sample.curl -X POST "https://chatilo.me/api/v1/hooks" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "event": "message.received", "target_url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/" }' - For an action, choose Webhooks by Zapier → Custom Request. Set the method and URL from the table below, paste the JSON as the data, and add the two headers.
Make #
Make uses its built-in modules; there is nothing to install.
Start a scenario when something happens #
- Add the Webhooks → Custom webhook module and copy the address Make gives you.
- Subscribe that address to an event. Run this once, or use Make’s HTTP → Make a request module:
curl -X POST "https://chatilo.me/api/v1/hooks" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "event": "order.paid", "target_url": "https://hook.eu1.make.com/YOUR_WEBHOOK" }' - In Make, press Redetermine data structure, then cause the event so Make learns its shape. Or copy an example from GET /sample/{event}.
The answer to the subscribe request has the subscription’s id. To stop it later: DELETE https://chatilo.me/api/v1/hooks/ID, or use the bin icon under Active connections.
Do something from a scenario #
Add HTTP → Make a request. Set the method and URL, choose body type Raw and content type JSON, paste the body, and add these headers:
Authorization: Bearer YOUR_API_KEY
Content-Type: application/jsonRequests to copy #
These are the actions people use most. Any endpoint in the reference works the same way.
Find a contact
GET https://chatilo.me/api/v1/contacts?phone=%2B919876543210Create or update a contact
POST https://chatilo.me/api/v1/contacts
{
"phone": "+919876543210",
"name": "Grace Miller",
"tags": [
"New customer"
]
}Add a tag
POST https://chatilo.me/api/v1/contacts/+919876543210/tags
{
"tag": "VIP"
}Send a WhatsApp template
POST https://chatilo.me/api/v1/messages
{
"to": "+919876543210",
"type": "template",
"template": {
"name": "order_update",
"language": "en",
"body": [
"Grace",
"#1042"
]
}
}Add a note to a conversation
POST https://chatilo.me/api/v1/notes
{
"to": "+919876543210",
"text": "Paid by bank transfer."
}Create a booking
POST https://chatilo.me/api/v1/bookings
{
"service_id": 3,
"start": "2026-12-08T05:00:00Z",
"customer": {
"phone": "+919876543210",
"name": "Grace Miller"
}
}n8n #
The same two pieces. Use a Webhook node (method POST) to receive events: copy its production URL and subscribe it with POST /hooks as above. Use the HTTP Request node for actions, with “Header Auth” credentials named Authorization and the value Bearer YOUR_API_KEY, and “Send Body” as JSON.
Your n8n must be reachable from the internet. Addresses on a private network (localhost, 10.x, 192.168.x) are refused.
Good to know #
- Text needs an open window. A plain text message only goes out within 24 hours of the customer’s last message; otherwise the request answers
window_closed. For anything that might be sent later, use a template. - Avoid double sends. Add an
Idempotency-Keyheader with something unique to the event, such as the order number. If the tool retries, the message is not sent twice. See idempotency. - Mind the limit. A key may make 120 requests a minute. A scenario that loops over thousands of rows should use the bulk contact request or add a pause.
- Switching off. When Zapier or Make answers a delivery with
410 Gone, the subscription removes itself. Deleting an API key removes the subscriptions made with it. - Check deliveries. The API and webhooks page shows the result of the latest delivery for each connection.