Automation and AI

Webhook

Also called web hook, HTTP callback

An automatic message one system sends to a web address in another system the moment a specific event happens.

Quick facts: Webhook

Category
Automation and AI
Also called
web hook, HTTP callback
Level
Intermediate
Affects
Lead response speed, CRM and email automation, offline conversion tracking, data accuracy
Where to see it
Zapier and Make webhook steps, platform webhook settings (Shopify, Stripe, CRMs, form tools), delivery logs
In this article4
  1. How a webhook works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

A webhook is an automatic message that one piece of software sends to a web address in another the moment a particular event happens, such as a new order, a form submission or a cancelled booking. Instead of the second system repeatedly asking “anything new?”, the first one tells it straight away.

How a webhook works

Setting up a webhook has two sides. The receiving system provides a URL, sometimes called the endpoint, that is ready to accept messages. In the sending system, you paste that URL into its webhook settings and choose which events should trigger a message.

When the event happens, the sender makes an HTTP request (usually a POST) to the URL, carrying a payload: a structured bundle of data, normally in JSON format. A Shopify “order created” webhook, for example, carries the order number, products, totals and customer details. The receiver reads the payload and does something with it, such as adding the buyer to an email sequence or posting a message to a team channel.

Webhooks are closely related to an API. With a normal API call, your system asks another for data when it wants it. A webhook reverses the direction: the other system pushes data to you when something changes. Many automations use both: a webhook announces the event, then an API call fetches any extra details.

No-code tools make this approachable. Zapier and Make both offer a “catch webhook” step that generates a URL for you, which can act as the trigger for a whole workflow.

Why it matters

Speed is the main benefit. A lead that arrives through your website form at 10:02 can be in your CRM, assigned to a salesperson and acknowledged by email by 10:03. Polling every 15 minutes, or exporting a spreadsheet each morning, means slower replies, and enquiries tend to go cold quickly when a competitor answers first.

Webhooks also connect tools that have no direct integration. A booking system, a payment provider and an accounting package that have never heard of each other can still be linked if each can send or receive webhooks. For ad tracking, webhooks from a CRM are a common way to tell you when a lead becomes a sale, so that offline conversions can be sent back to Google Ads or Meta.

There is a data protection side. Payloads often contain names, emails and phone numbers. Sending them to an endpoint is a transfer of personal data, so the receiving service needs to be covered by your privacy notice and processor terms like any other tool.

Common mistakes

  • No verification. Anyone who discovers an endpoint URL could send fake data to it. Most platforms sign their webhooks with a shared secret; check the signature before trusting the payload.
  • Personal data in the URL. Query strings end up in server logs. Keep personal details in the body of the request, over HTTPS.
  • No handling for repeats. Senders retry when they do not get a quick success response, so the same event can arrive twice. Use the event ID to ignore duplicates.
  • Silent failures. If the receiving end breaks, events may be lost after the retry period. Set up alerts for failed deliveries.
  • Slow processing. Doing heavy work before replying can cause timeouts and retries. Acknowledge first, process afterwards.

How to act on it

Start by listing the moments in your business where speed matters: new enquiries, new orders, cancellations, failed payments. Check whether the system where each event happens offers webhooks, and what event types it supports.

For a first build, use a no-code catch-webhook step, send a test event, and inspect the payload so you know exactly which fields arrive. Add signature checks, duplicate handling and a failure alert before relying on it. Mapping which events should flow between your marketing tools, and why, is part of the digital marketing strategy work I do. For the wider picture, see REST API for how most web services expose their data.

Do and do not

Do

  • Verify webhook signatures before trusting the payload
  • Use event IDs to ignore duplicate deliveries
  • Set up alerts for failed deliveries

Do not

  • Put personal data in webhook URLs
  • Publish or share endpoint URLs carelessly
  • Assume every event arrives exactly once

Questions people ask about this

Can a webhook send data back to the system that sent it?

Not in any useful way. The receiver only answers with a status code that says whether the message arrived, and the sender uses that to decide whether to retry. If you want to change something in the sending system, such as tagging the order that triggered the webhook, your workflow has to make a separate API call to it.

Do I need a developer to use webhooks?

Not always. Zapier, Make and many CRM and form tools let you create or receive webhooks through settings screens, with no code. A developer becomes useful when you need signature verification, custom processing or a webhook endpoint on your own website or server.

Are webhooks secure?

They can be, if set up properly. Use HTTPS endpoints, verify the signature or secret that the sending platform includes, keep personal data out of URLs, and limit what the endpoint can do. Treat an endpoint URL like a password and do not publish it.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.