Connect Make
Start Make scenarios from events in your workspace and let scenarios add contacts and send WhatsApp messages.
On this page
Make works with Chatilo through its built-in Webhooks and HTTP modules. There is nothing to install. A scenario can start when something happens in Chatilo, and a scenario can do something in Chatilo.
The API and webhooks page has a Make guide with every request ready to copy, already filled in with your own address. This article explains how to use it.
Before you start
- You must be a workspace owner or admin to create an API key.
- Your plan must include API access (shown on plans as "API, Zapier and CRM sync").
Step 1: Create an API key
- In the sidebar, under Automate, click API and webhooks.
- In the API keys card, click New key, name it
Make, and click Create key. - Copy the key from the green box straight away. It is not shown again.
Step 2: Open the Make guide
On the same page, find Connect to Zapier, Make or n8n and click Make to open the guide. Keep it open while you work in Make. Base address at the top of the section is the start of every request.
Start a scenario when something happens
- In Make, add the Webhooks → Custom webhook module and copy the address Make gives you.
- Tell Chatilo to send an event to that address. In the guide, copy the request under "To start a scenario when something happens here". Replace
YOUR_KEYwith your API key, the address with the one from Make, and the event name with the one you want. Run the request once, in a terminal or with Make’s HTTP → Make a request module.
The connection now appears under Active connections on the API and webhooks page.
- In Make, let the webhook learn the data: press "Redetermine data structure", then cause the event in Chatilo (for example, send a message to your number).
The event names you can use:
| Trigger | Event name | When you hear about it |
|---|---|---|
| New contact | contact.created | Straight away |
| Contact updated | contact.updated | Straight away |
| Tag added to contact | contact.tag_added | Within a minute |
| New inbound message | message.received | Straight away |
| Conversation opened | conversation.opened | Within a minute |
| Conversation closed | conversation.closed | Within a minute |
| Chatbot handover | conversation.handover | Within a minute |
| Broadcast finished | campaign.finished | Within a minute |
| New lead from ads | lead.created | Within a minute |
One connection listens for one event. Repeat the request for each event you need. A workspace can have up to 50 of these connections.
To stop, click the bin icon next to the connection under Active connections, and switch the scenario off in Make.
Do something in Chatilo from a scenario
- In Make, add HTTP → Make a request.
- From the guide, copy the method and address of the action you want.
- Add the two headers shown in the guide (your key and the content type), choose body type Raw / JSON, and paste the body from the guide, replacing the example values.
The actions in the guide:
- Find a contact by phone number or email
- Create or update a contact
- Add a tag and Remove a tag
- Send a WhatsApp template, which works at any time
- Send a text message, which only works within 24 hours of the customer’s last message
- Add a note to a conversation
Example: send an order update from a spreadsheet
- Create a scenario that starts when a row is added to your order sheet.
- Add HTTP → Make a request and copy the Send a WhatsApp template request from the guide.
- In the body, map
toto the phone number column (with the country code, for example+919876543210), set the template’s name and language, and map thebodyvalues to the columns that fill the template’s numbered variables, in order. - Run the scenario once and check that the message appears in the Chatilo inbox.
Common problems
The scenario never starts
Check Active connections on the API and webhooks page. Last delivery shows the result of the most recent attempt. "Nothing sent yet" means the event has not happened since you subscribed. A delivery that fails is tried three times in all.
The connection disappeared
If Make answers that the webhook is gone, Chatilo removes the connection. Deleting the API key that created it also removes it. Subscribe again.
The address is refused
The address must be reachable from the internet. Addresses on a private network are refused.
Sending text fails with window_closed
WhatsApp only allows free text within 24 hours of the customer’s last message. Send a template instead. See The 24-hour window.
Requests are refused after many calls
Each key is limited to 120 requests a minute. Slow the scenario down.
For anything beyond the guide on the page, see the API documentation.