Skip to main content

What Is a Webhook? A Plain Guide for Business Teams

A webhook is a message one system sends to another the moment something happens. No waiting, no checking. Here is how webhooks work, how they differ from an API, and what to check before you rely on one.

The WeldSuite Team6 min read

What a webhook is

So, what is a webhook? It is an automatic message that one system sends to another when something happens. A payment succeeds. A form is submitted. A ticket is closed. The first system sends a short note about it to an address you chose, right away.

Key takeaways

  • A webhook is a message one tool sends to another the moment an event happens. The receiving tool does not have to keep asking.
  • An API is for asking and changing things on demand. A webhook is for being told. Most solid integrations use both.
  • Webhooks fail quietly. Before you depend on one, check for retries, a delivery log and a way to verify the sender.

Think of a parcel delivery. You can refresh the tracking page every ten minutes, or you can get a text when the parcel arrives. The text is the webhook. You do nothing until there is news.

You do not need to be a developer to care about this. If your team connects a payment tool to a CRM, or a web form to a helpdesk, there is a good chance a webhook does the work. Knowing how it behaves helps you buy better and spot trouble sooner.

How a webhook works

There are three parts.

  1. An event. Something happens in the sending system, such as "invoice paid" or "new contact created".
  2. A URL. The receiving system has a web address that accepts messages. You paste that address into the sending system once, during setup.
  3. A payload. The sender posts a small package of data to the URL. It usually says what happened, when, and to which record.

The receiver answers with a quick "got it" and then acts on the message. It might update a record, send a notification or start a longer workflow. The whole exchange takes a second or two.

That is all there is to it. A webhook is not a product or a protocol you install. It is a simple agreement: when X happens, send a message here.

Webhook vs API

People often set these against each other, but they solve different problems. An API lets one system ask another for data or tell it to do something. A webhook lets a system announce that something happened. One is a question, the other is a notification.

API callWebhook
Who starts itThe system that wants the dataThe system where the event happened
When it runsOn request, or on a scheduleThe moment the event occurs
Good forLooking things up, creating and updating recordsReacting quickly to changes
Weak spotChecking often wastes calls and can hit rate limitsA missed message is easy to overlook

Without webhooks, a system has to poll. It asks "anything new?" every few minutes, and most of the time the answer is no. That is slow and wasteful. With a webhook, the news comes to you.

In practice the two work as a pair. The webhook says "order 4812 was paid". Your system then calls the API to fetch the full order and update what it needs. For a wider look at the patterns, see our guide to business system integration.

Examples from daily work

Webhooks sit behind a lot of ordinary handoffs.

  • Payments. A customer pays an invoice. The payment tool tells your CRM, the deal is marked won and finance gets a message.
  • Lead forms. Someone fills in a demo request on the website. The form tool sends the details to the CRM and a sales rep is assigned within seconds.
  • Support. A customer replies to a closed ticket. The helpdesk reopens it and posts a note in the team channel.
  • Signups. A new user registers in your product. Your onboarding flow starts without anyone exporting a list.
  • Stock. An item drops below a set level. The warehouse system warns purchasing before it runs out.

Each of these could also run on a timer that checks every hour. The difference is the wait. A lead who hears back in two minutes is in a different mood than one who waits until after lunch. For more ideas, see our workflow automation examples.

What goes wrong

Webhooks are simple, and that is also their weakness. When one fails, nothing looks broken. The message just never arrives. These are the usual causes.

  • The receiver was down. If the receiving system is offline for a minute and the sender does not retry, the event is lost.
  • Duplicates. Many senders retry when they get no answer. That is good, but it means the same event can arrive twice. The receiver has to notice, or you end up with two invoices.
  • Out of order. An "updated" message can land before the "created" one. Workflows that assume a neat order will trip.
  • No proof of sender. A webhook URL is a public address. If the receiver does not check a signature or a secret, anyone who finds the URL can post fake events.
  • Silent changes. The sender renames a field in the payload and your workflow stops matching. Nobody is told.
  • No owner. Someone set it up two years ago and left. When it breaks, nobody knows where to look.

None of this is a reason to avoid webhooks. It is a reason to pick tools that handle these cases for you, and to keep a short list of which integrations exist and who owns each one.

Questions to ask a vendor

When you compare tools, the phrase "supports webhooks" on a feature page tells you very little. Ask these instead.

  1. Which events can trigger a webhook? A tool that only sends "record changed" is far less useful than one that names the exact event.
  2. What happens when delivery fails? Look for automatic retries over a sensible period, not one attempt.
  3. Is there a delivery log? You want to see what was sent, when, and what the receiver answered.
  4. Can messages be verified? Signed payloads or a shared secret should be standard.
  5. Is it on my plan? Some vendors keep API and webhook access for their top tier. Check before you sign.
  6. Who can create and edit them? Access should follow roles, so one person cannot quietly reroute customer data.

If you are weighing a separate automation tool against one built into your suite, our piece on choosing a Zapier alternative walks through the trade-offs.

Where WeldConnect fits

Most teams do not want to write code that receives webhooks. They want the result: when this happens, do that.

WeldConnect is the automation builder inside WeldSuite. You pick a trigger, add actions across the suite and external tools such as Stripe, Slack and Google Sheets, and it runs in the background. Workflows can run in real time or on a schedule. Branching conditions handle the "only if" cases, and failed runs are retried automatically. Role-based access controls who can edit a workflow, and there are templates to start from.

Because WeldCRM, WeldDesk, WeldMail and WeldChat live in the same suite, many handoffs need no webhook at all. The data is already in one place. Webhooks and the API are there for the tools outside the suite. Our guide to business process automation shows how to decide what to automate first.

WeldConnect is one of twelve apps included in every WeldSuite tier. WeldSuite is a complete software suite for mid-market and enterprise teams, priced per user per month. There is a free plan for a single user. Business is $49 a month, or $42 per user per month billed annually, for up to ten seats, and it includes API and webhook access. Scale is $69 a month, or $59 per user per month annually, for eleven seats and up. Enterprise is custom, with SSO, SAML, data residency, and a 99.999% uptime SLA.

Sources

  1. Wikipedia: Webhook https://en.wikipedia.org/wiki/Webhook
  2. Wikipedia: API https://en.wikipedia.org/wiki/API

Frequently asked questions

What is a webhook in simple terms?

A webhook is an automatic message one system sends to another when something happens, such as a payment or a new signup. The receiving system gets the news right away and can act on it without checking over and over.

What is the difference between a webhook and an API?

An API is used to ask for data or make a change on demand. A webhook is a notification sent when an event occurs. With an API your system starts the conversation. With a webhook the other system does. Most integrations use both together.

Do I need a developer to use webhooks?

Not always. Receiving a raw webhook in your own software takes code. An automation builder can receive the event for you and let you choose what happens next without writing any.

Are webhooks secure?

They can be. The connection should use HTTPS, and the receiver should verify each message with a signature or a shared secret. Without that check, anyone who knows the URL could send fake events.

What happens if a webhook fails?

It depends on the sender. Good tools retry several times and keep a log of every attempt. Weak ones try once and drop the event. Ask about retries and logs before you rely on a webhook for anything important.

When is polling better than a webhook?

Polling on a schedule suits large batches, reporting and systems that cannot send webhooks. If a delay of an hour does no harm, a schedule is fine. If a person is waiting for a response, use a webhook.

See it all work together

WeldSuite brings CRM, helpdesk, accounting, mail, projects and more into one connected platform. Change something once and it shows up everywhere.

Keep reading

Get started today

in minutes