CRM webhook: how to send lead data to your own systems

A CRM webhook automatically sends lead data to your system on every change, with no manual copying. Video and step-by-step setup.

Updated 9 min read 13 views
In short

A CRM webhook is an automatic POST request with full lead data sent to your system's address every time a lead changes: a step change, edited fields, a new comment or a payment. Open “Help” → “Set webhook”, choose the project, click “Add webhook” and enter a name and the handler URL.

Your CRM almost always works alongside other systems: accounting software, a warehouse system, your own website, a learning platform or management spreadsheets. Without a CRM webhook, a manager enters a deal twice: first in the CRM, then in the accounting software. That means lost time, typos in phone numbers and amounts, and sometimes forgotten orders.

The “Set webhook” section removes double entry. A webhook is an automatic message from the CRM to your system's address. Every time a lead changes, its data is sent there automatically as a POST request, that is, data sent to a server. Your system receives it immediately and decides what to do with it. There's no separate fee for webhooks.

Watch the two-minute video, and below you'll find the step-by-step setup.

Could not load the video. Check your connection and refresh the page.

Why businesses use CRM webhooks

  • Product business. A lead moves to a step like “Paid”, a request goes to your warehouse or accounting software, and a shipping order is created there. The manager no longer duplicates the order by hand.
  • Online school. When a lead pays, your script finds the student by email or phone and opens access to the course. No need to wait for a curator.
  • Clinic, salon. A lead reaches the appointment step, and the client's data goes to your appointment software or the administrator's spreadsheet.
  • B2B sales. At the invoicing step, the accounting system gets the company details and the amount from the lead fields and prepares an invoice. Accounting doesn't have to wait for an email from the manager.
  • Marketing. Steps and payments go to your own data storage, where they're matched with ad spend. You get your own end-to-end analytics on top of the CRM data.

What exactly to do with the data is up to the handler, a program on your system's side.

Client case
An online building materials store. The problem: errors when copying orders by hand. Before: a manager typed paid orders into the warehouse software by hand, and once a week an address or an amount got mixed up. What we did: a webhook to the warehouse software's address, which catches the lead's move to the “Paid” step and creates a shipping order by itself. Result: double entry is gone, there are almost no shipping errors, and the manager saves about an hour a day.

How a CRM webhook works

  1. Any lead change — a move to another of the CRM pipeline stages, edited fields, a new comment or a payment — sends a POST request.
  2. The request contains full lead data: the ID and name, the lead fields with the funnel step and the responsible manager, and the contact with phone numbers and email.
  3. The request goes to every address in the project's webhook list. Two webhooks mean two requests for every change.

Each change is a separate request. So the handler should update the record by lead ID rather than create a new one each time. If you need your own data, such as a tax ID or a delivery address, first create custom fields in CRM for it. The exact data format is in “API Doc” in the “Help” menu.

CRM webhook list for a project

How to set up a webhook in CRM

  1. 1
    Open the section
    The left menu “Help” → “Set webhook”.
  2. 2
    Choose the project
    In the “Project” block. Each project has its own webhooks. The section remembers the last selected project in this browser, so check the field every time you open it.
  3. 3
    Click “Add webhook”
    The “New webhook” window opens.
  4. 4
    Fill in the “Name”
    A clear name, for example “warehouse_orders”. It must be unique within the project.
  5. 5
    Paste the “URL”
    The address of your system's handler, preferably with https://.
  6. 6
    Click “Save”
    The “Webhook added” message appears, and the webhook shows up in the list.
Adding a CRM webhook with your system's address

How to test that the webhook arrives

The section checks only the address format: it doesn't send a test request and doesn't show a delivery log. So check it yourself:

  1. Add a webhook with your handler's address. Or, temporarily, with the address of an online service for viewing incoming requests.
  2. Change a test lead in this project: move it to another step or add a comment.
  3. Check your server log: a POST request with the lead data should arrive.

Delete the temporary test webhook afterwards, so that client data isn't sent to a third-party service.

Where you can receive CRM data

  • Your own server or website: a script that writes the data to your database.
  • Accounting and warehouse software: if it can accept HTTP requests, or through an integration developer.
  • Google Sheets: via a spreadsheet script published as a web app.
  • Automation services that give you their own address for receiving webhooks.

The address must be reachable from the internet and accept POST requests. For https://, you need a valid certificate.

Tip
If you need to react to a funnel step inside the account, such as notifying the responsible manager or messaging the client, use an automated sales funnel: you don't need your own server for that. A webhook is for cases when the data has to get into an external system.

The integration you need is not on the list: what to do

Ready-made connections in the account exist for messengers, Avito, email, website forms and site builders, Yandex Metrica, amoCRM, Bitrix24, Yclients and Google Calendar. If your system is not among them, you can build the link yourself with the API and webhooks:

  • “Lead change webhooks” — this section: lead data goes to your system on every change. It suits accounting software, warehouses, your own websites and spreadsheets.
  • “API Doc” in the “Help” menu — requests your system uses to create leads and read account data on its own. How to send a lead with its source is covered in the article create crm leads via api.
  • The voice bot's “Write webhook” and the chatbot's “Record webhook” target action — after a conversation, the bot itself sends a GET request with data from the dialog to your address, and the parameters are set with variables like ${…}. Details are in the article ai voice bot knowledge base.

Custom work is needed if your system has no API, does not accept requests, or the exchange needs complex logic. In that case, write to the integration team: the “Integrations ai” item in the “Help” menu opens its Telegram bot.

Rules for the webhook name and URL

  • “Name” — required, up to 255 characters and unique within the project. Names that differ only in letter case or in spaces at the edges count as the same. An empty field shows “Enter a name”, a repeated one shows “A webhook with this name already exists — the name must be unique.”.
  • “URL” — required, up to 2,000 characters and without spaces. The address starts with http:// or https:// and contains a domain with a zone, for example https://example.com/webhook.php. An empty field shows “Enter the URL”, a wrong format shows “The URL must start with http:// or https://”.
  • Errors when saving. “Session expired, sign in again” — sign in to the account again and repeat. “Failed to save the webhook. Try again.” — a connection glitch, save once more. The “Access denied” screen — the employee lacks the “CRM settings” right in the project.

Frequently asked questions

Why isn't the CRM webhook arriving?
Check that the webhook was added in the same project where the lead changes, and that the address has no typos, is reachable from the internet and accepts POST. Look at the delivery log on your side.
Why does the webhook data arrive twice?
The same address is set in two webhooks: delete the extra one. Or the handler receives several changes to one lead in a row: that's expected, so update the record by lead ID.
How do I change a webhook's address or name?
Click the “Edit” pencil next to the webhook. The name is the webhook's key, so when you rename it, the account saves a new webhook and removes the old one. If a message says the old one wasn't removed, delete it with the trash icon.
How much do CRM webhooks cost?
The section doesn't depend on your plan, and there's no separate fee. A project can have several webhooks.
Can I set up a webhook without my own developer?
The “Help” menu has the “Integrations ai” item, and the data format for a contractor is in “API Doc”.
Who can set up webhooks?
The main account and employees with the “CRM settings” right in the current project.

Read also: CRM pipeline stages: set up your sales funnel and client alerts, Automated sales funnel: how the CRM texts, calls and reminds clients, Yandex Metrica offline conversions: let Direct learn from sales, Amocrm integration, Bitrix24 integration, Create crm leads via api

Next step
Ready to try Lptracker?

Everything from this article is already waiting in your account — open the section and get started.

Try Lptracker
Turnkey implementation

Our implementation team will set up the system for your business: voice and chat AI bots, funnels, robots, telephony and CRM. Book a meeting at a time that suits you.

Book a meeting
Was this article helpful?

You have unsaved changes||У вас есть несохранённые изменения