💬 Chatly

← Back to blog

How-to

Connect Chatly to your other tools with webhooks

· Chatly Team · 7 min read

A chat ends. The customer has left a name, a phone number and a question about bulk orders. Someone on your team now copies those details into a spreadsheet, then into the CRM, then sends a WhatsApp message to the sales person. By evening, half the leads are copied and the other half are sitting in someone's head.

That copying is the job webhooks are for. Chatly can send a message to another tool the moment something happens in your workspace. That tool can then add a row, create a contact or ping your team. Nobody has to remember.

This guide covers what webhooks do, how to choose between Zapier, Make and n8n, and a few setups you can copy. It also covers the other direction: letting the AI agent ask your own systems for answers.

What a webhook actually does

A webhook is a short message one system sends to another when an event happens. You give Chatly a web address (a URL). When one of the key events you picked takes place, Chatly sends the details of that event to that address.

On its own, a URL does nothing. The useful part is what sits behind it. That is usually an automation tool such as Zapier, Make or n8n. These tools catch the incoming data and do something with it: write it to a sheet, create a record, send an email, post an alert.

Outgoing webhooks are part of the Free plan, so you can try this before paying for anything. If you do not have a workspace yet, create a free one and add the chat widget to your site first.

One thing to keep straight: webhooks send data out. They tell other tools that something happened. They do not pull information back into a chat. For that, you want AI Actions, covered further down.

Zapier, Make or n8n: which one should I use?

This is the question I get most. Chatly works with all three, so the choice is about your team, not about Chatly.

Check each tool's own website for what it costs and what its free tier allows. Those details change, and I would rather you read them at the source.

My honest advice: if you already use one of them for something else, use that one. Two automation tools means two places to look when something breaks.

Set up your first webhook

The exact screens differ between tools, but the order is always the same.

  1. Create the catching end first. In your automation tool, start a new automation with a webhook trigger. It will give you a unique URL. Copy it.
  2. Add the webhook in Chatly. Paste the URL into Chatly's webhook settings and choose the event or events you want to send. Pick only what you need. One clear event per automation is easier to fix later.
  3. Trigger a real test. Do the thing yourself. Open your own website, start a chat, fill in the form. That sends real sample data across.
  4. Look at what arrived. Your automation tool will show the data it received. Read it. Find the fields you need, such as the visitor's name or email.
  5. Map the fields to your action. Tell the tool which piece of data goes into which column or field.
  6. Test again, then switch it on. Run one more chat from start to finish and check the result landed where you expected.

Treat that webhook URL like a password. Anyone who has it can send data to your automation. Do not paste it in group chats or public documents.

Three setups worth copying

New lead into a spreadsheet

This is the simplest win. Build a lead capture flow that asks for name, email and phone, then hands off to your sales department. If you have not built one, this guide to a no-code lead capture flow walks through it.

Then point a webhook at your automation tool and add an action that appends a row to your sheet. Columns I would use: date, name, phone, email, the page they were on, and the first question they asked. That last column matters most. A phone number without context is just a number.

For Nigerian shops, I always ask for the phone number in the flow, even when email is optional. Most of your follow-up will happen on WhatsApp or a call anyway.

New lead into your CRM

Same trigger, different action. Instead of a sheet row, create or update a contact in your CRM. Most automation tools can search for an existing contact by email or phone first, then update it rather than making a duplicate. Use that step. Duplicates are the main way a CRM becomes useless.

Add a note on the contact with a link back to the conversation, so the sales person can read the chat before calling.

Alert the right person

Some events need a human quickly. You can send an email or a message to a team channel when a chat comes in. Keep the alert short: who, what they asked, and where to reply.

Be careful here. If every chat sends an alert, people will mute it within a week. Use alerts for the moments that matter, such as a large order enquiry, not for every hello.

Going the other way: AI Actions and your own API

Webhooks push information out. AI Actions let the AI agent reach in and fetch an answer while the customer waits.

Think of the most common question in a Nigerian online shop: where is my order? The AI agent can answer from your knowledge base about delivery times in general. It cannot know that order 4471 left the warehouse this morning. With AI Actions, it can call an approved tool to check order status, search products or check stock, through Shopify, WooCommerce or a custom API.

The custom API option is for businesses with their own backend. Your developer exposes a small, specific endpoint, for example one that returns the status of an order when given an order number and the customer's phone. You approve that tool in Chatly. The AI can then use it, and only it.

A few things I would insist on:

AI Actions, integrations and workflows come with the paid plans. The current prices, in naira or dollars, are on the pricing page.

What webhooks will not fix

Automation moves data faster. It does not make the data better. If your flow does not ask for a phone number, no webhook will invent one. If your sales person ignores the sheet, a tidier sheet will not help.

Automations also break quietly. Someone renames a column, a password changes, a free tier runs out. Nothing tells you until a customer complains that nobody called back. Pick one person to own your automations, and have them check each one once a week by sending a test chat and seeing it arrive.

And when a lead is warm, a person still needs to reply. The webhook gets the details to the right desk. Answering well is still your job.

Try Chatly free. Live chat, a shared inbox and AI answers from your own content, ready the same afternoon.

Create your workspace

Keep reading

Let the AI check order status for customersGreet visitors on the right page with triggersReply to customers from your Android phone