Skip to main content
← Back to the blog

Glossary

What is a webhook and how does it work in a CRM?

Published November 27, 2026 · 4 min read

FFlowgrationGLOSSARYWhat is a webhook and howdoes it work in a CRM?

A webhook is an automatic notification that one application sends to another, at a web address (URL), the moment something happens: an order is paid, a contact is created, a form is submitted. The notification is an HTTP request, usually a POST with the event data in JSON. The receiving application finds out instantly, without having to ask every few minutes.

It is often described as a "reverse API": instead of you calling the application to ask for data, the application calls you when there is something new.

A practical example

Hypothetical example. A shop wants its shipping software to prepare a parcel as soon as an order is paid:

  1. In the CRM, it registers the shipping software's URL and subscribes to the "order paid" event.
  2. A customer pays. The CRM immediately sends a POST to that URL with the order number, the products and the address.
  3. The shipping software checks the notification is genuine, creates the shipment and replies with a 200 status code to confirm receipt.

If the shipping software is down and does not respond properly, the CRM tries again later.

Webhook compared with polling an API

WebhookPolling the API
Who starts itThe application that has the dataThe application that needs it
When data arrivesAs soon as the event happensAt the next scheduled check
RequestsOne per eventMany, even when nothing changed
What you needA public URL that receives notificationsAn API key and a process that asks
Best forReacting to eventsLoading or syncing data in bulk

The usual approach combines both: the API to load history and webhooks for day-to-day changes. We explain it in CRM API integration.

Basic security

  • Signature: the sender signs each notification with a shared secret (for example HMAC-SHA256) and the receiver checks the signature before doing anything.
  • HTTPS: the URL must be encrypted.
  • Idempotency: the same notification can arrive twice because of a retry. The receiver must detect duplicates.

Webhooks in a CRM

Flowgration has webhooks in both directions, described in the API docs:

  • Outbound, from the Essential plan: you register HTTPS endpoints and pick events such as contact.created, opportunity.stage_changed, order.paid or task.completed. Each notification is signed with HMAC-SHA256 in the X-Flowgration-Signature header, delivery is attempted up to three times with increasing waits, and the endpoint is switched off automatically after three failures in a row.
  • Inbound: a private forms address receives answers in JSON, creates or updates the contact and can start journeys triggered by a form submission.
  • In automations: rules have a "Call a webhook" action that sends a JSON POST with the record's data.

If you are after ready-made connections with WooCommerce, Shopify or Jotform, see the integrations.

Frequently asked questions

What is the difference between a webhook and an API?

With an API, your system asks for the data when it wants it. With a webhook, the other system sends it to you as soon as something happens.

Do I need to code to use webhooks?

To receive them you need a URL that processes them: your own code or an automation tool that provides that URL.

What happens if my server does not answer a webhook?

It depends on the sender. Usually it retries several times and, if it keeps failing, stops sending to that URL until you check it.

How do I know a webhook is genuine?

Check the signature that comes with the notification against your secret, and reject any that do not match or carry a timestamp that is too old.

Run your whole business from one CRM

Contacts, email marketing, automations, forms, booking and WhatsApp on the same customer record. Free plan up to 1,000 contacts, no card needed.

Start free