Skip to content
  • Home

  • Automation with Zapier

  • Zapier feature guides

Zapier feature guides

10 min read

What are webhooks?

A simple guide to connecting web apps with webhooks

By Steph Spector · December 1, 2026
The Webhooks by Zapier logo against a purple background

You might have seen webhooks mentioned in your apps' settings and wondered if they're something you should use. The answer, in a nutshell, is probably yes.

Webhooks are one way that apps can send automated messages or information to other apps. It's how PayPal tells your accounting app when your clients pay you, how Twilio routes phone calls to your number, and how WooCommerce can notify you about new orders in Slack.

They're a simple way your online accounts can "speak" to each other and get notified automatically when something new happens. In many cases, you'll need to know how to use webhooks if you want to automatically push data from one app to another.

Let's break it down, learn how to speak webhook, and get your favorite apps to talk to each other using Zapier's webhooks.

Table of contents:

  • What are webhooks?

  • How do webhooks work?

  • Webhooks example

  • How to use webhooks

  • Use webhooks in any app with Zapier

  • Time to start using webhooks

What are webhooks?

Webhooks are automated messages sent from apps when something happens. They have a message, or payload, and are sent to a unique URL—essentially the app's phone number or address. Webhooks are usually used to connect apps and systems, allowing them to share real-time data.

Typically, there are two ways your apps can communicate with each other to share information: polling and webhooks. This is the best analogy I've heard for it: polling is like knocking on your friend's door and asking if they have any sugar (a.k.a. information), but you have to go and ask for it every time you want it. Webhooks are like someone tossing a bag of sugar at your house whenever they buy some. You don't have to ask—they just automatically punt it over every time it's available.

Webhooks are almost always faster than polling, and require less work on your end. They work much like SMS notifications. Say your bank sends you an SMS when you make a new purchase. You already told the bank your phone number, so they knew where to send the message. They type out "You just spent $10 at NewStore" and send it to your phone number +1-234-567-8900. Something happened at your bank, and you got a message about it. All is well.

Webhooks work the same way.

Ready to start using webhooks? Jump ahead to skip the geeky details—or keep reading to learn more about the terms you'll often see used with webhooks.

How do webhooks work?

Screenshot of webhooks broken down

Webhooks are automated HTTP requests sent from one app to another, and they often contain data about an event. They're called webhooks since they're software hooks—or functions that run when something happens—that work over the web. Some webhook services use unique URLs that are hard to guess, while others also add authentication or cryptographic signatures to verify incoming requests.

Typically, you'd use a webhook to connect two different applications. When an event happens on the trigger application, it serializes data about that event and sends it to a webhook URL from the action application—the one you want to do something based on the data from the first application. The receiving app then sends an HTTP response, typically with a status code like 200 to let the trigger application know if the data was received successfully, or a 4xx or 5xx code if not.

Webhooks are similar to APIs—but they work a little differently. An API is a set of rules that lets apps interact with each other to do things like add, edit, and retrieve data. The difference is, with an API, one app asks another for information or to perform an action. Webhooks, on the other hand, automatically send info when a specific event occurs. You might have a webhook just for new contacts—and whenever a new contact is added, the application will push the data to the other application's webhook URL automatically. It's a simple, one-to-one connection that runs automatically.

Webhook example

Now that you know what it is, let's break down an example of a webhook and how it works.

Bob opens your store's website, adds $10 of paper to his shopping cart, and checks out. Boom—something happened, and the app needs to tell you. Time for the webhook.

Wait: who's the app gonna call? Just like you need to tell the bank your phone number before they can text you, for webhooks, you need to tell the originating app—your eCommerce store, in this case—the webhook URL of the receiving app, the app where you want the data to be sent.

Say you want to make an invoice for this new order. The app that creates this invoice is on the receiving end—it's the app that needs the order data.

You'd first open your invoice app, make an invoice template, and copy its webhook URL—something like yourapp.com/data/12345. Then open your eCommerce store app, and add that URL to its webhook settings. That URL is your invoice app's phone number, essentially. If another app pings that URL (or if you enter the URL in your browser's address bar), the app will notice that someone is trying to send it data.

Back to the order. Your eCommerce store got the order and knows it needs to send the details to yourapp.com/data/12345. It then writes the order in a serialization format. The simplest of those formats is called "form-encoded," and means your customer's order would look something like this:

Customer=bob&value=10.00&item=paper

Now your eCommerce store needs to send the message. The simplest way to send data to a webhook URL is with an HTTP GET request. Literally, that means adding the data to the URL and pinging the URL (or entering it in your browser's address bar). The same way you can open Zapier's about page by typing /about after zapier.com, your apps can send messages to each other by tagging extra text with a question mark on the end of a website address. Here's the full GET request for our order:

https://yourapp.com/data/12345?Customer=bob&value=10.00&item=paper

Deep inside your invoice app, something dings and says "You've got mail!" and the app gets to work, making a new invoice for Bob's $10 paper order. And that's how a webhook functions.

Remember when you had to check your email to see if you had new messages—and how freeing push email ("You've got mail!") was? That's what webhooks are for your apps. They don't have to check for new info anymore. Instead, when something happens, they can push the data to each other and not waste their time checking and waiting.

How to use webhooks

You know the lingo, understand how apps can message each other with webhooks, and can even figure out what the serialized data means. You speak webhook.

It's time to use it. The best way to make sure you understand how webhooks work is to test it out, try making your own webhooks, and see if they work. Or you can jump ahead and just drop your webhook URL into an app to share data—after all, you don't have to know how to make webhooks to use them.

Step 1: Test webhooks with webhook.site and Postman

The quickest way to learn is to experiment—and it's best to experiment with something you can't break. With webhooks, there are two great tools for that: webhook.site and Postman.

webhook.site request details with query strings
How data appears in webhook.site

webhook.site gives you a unique webhook URL the moment you open it, so you can send data to it and see how it arrives. You don't need an account. Go to webhook.site, then copy the URL under Your unique URL.

Now, serialize some data in form-encoded style—or copy our example form copy above. Open a new tab, paste your webhook.site URL in the URL bar, add a ? to the end, then paste your serialized data. You'll end up with something like this:

https://webhook.site/1a2b3c4d-5e6f?customer=bob&value=10.00&item=paper

Press enter in your browser's address bar, then switch back to your webhook.site tab. You'll see the request in the sidebar, with your data listed under Query strings.

Free website.site URLs expire after a week, and anyone who has the URL can see the data sent to it. Only send test data.

You can then try sending POST requests in Terminal or from your own app's code, if you'd like. That's a bit more complex—but gives you a way to play with JSON or XML encoding, too.

Or use another app for that. The app Postman lets you make custom HTTP requests for an easy way to send customized data to a webhook URL. Enter the URL, then choose the HTTP request method you want to use (GET, POST, PUT, etc.), and add the body data.

Screenshot of Postman set up
The setup in Postman

That'll let you send far more detailed requests to your webhook URL without having to use more code. Postman also has a free webhook tester that gives you a temporary URL to receive data, so you can send and inspect requests in one place.

Step 2: Add webhooks to your apps

Testing webhooks and serializing data by hand is tricky—as is copying and pasting data from your apps. Let's skip both, and just get our apps talking to each other.

We're using WordPress-powered form tool Gravity Forms and document template-builder app Formstack as the examples here—but the same general idea works in most other apps that support webhooks.

Screenshot of feed settings in GF

First, enable webhooks in your app if they're not already, and open the webhooks settings (it's usually in advanced or developer settings). Your app might have one set of webhook settings for the entire app—or, often, it'll have a specific webhook for each form, document, or other items the app maintains.

We want the data to come from Gravity Forms, so we'll open the webhooks settings under the form we want to use. That gives us a URL field (this lets us tell Gravity Forms where we want to send the data) and options to specify the webhook HTTP request method (how to send the data).

Screenshot of formstack URLs
Each Formstack Documents (formerly WebMerge) document template has a unique webhook URL

Now let's get that URL from the app that will receive the data—Formstack Documents, in this case. In Formstack, each document has its own "merge URL," which receives the data used to populate the document. Copy that merge URL—or whatever URL your app offers, as it may have a different name. You'll often find webhook URLs and related settings under the "integration," "webhook," or "workflow" settings, depending on your app.

Screenshot of Gravity forms advanced settings

Finally, go back to your trigger app—Gravity Forms in our case—and paste the webhook URL in Gravity Forms' URL field. You may also be able to set the correct request method and the specific field values to ensure only the data you want is sent, and is shared with the same variable names as the receiving app uses. Save the settings, and you're good to go.

The next time someone fills out our form that Bob ordered $10 worth of paper, Gravity Forms will send the data to Formstack's URL as https://www.webmerge.me/merge/149933/gxszxg?Name=Bob&Item=Paper&Value=10.00 and Formstack will turn that into a complete invoice.

Once you start using webhooks, you'll notice them (or similar links) everywhere, in places you never thought they'd show up. PayPal, for instance, uses Instant Payment Notifications or IPNs to send notifications whenever you receive a payment. Have an app that you'd like to do something whenever you get a PayPal payment? Add its webhook URL to PayPal's IPN settings, and that app will get a message the next time you get money.

screenshot of paypal hooks
PayPal IPN is very similar to webhooks—and you can add a webhook URL to PayPal to get payment notifications

Or take Twimlets, Twilio's simple apps to forward calls, record voicemail messages, start a conference call, and more. To, say, forward a call, you'll add a familiar, webhook-style Twimlet address like https://twimlets.com/forward?PhoneNumber=415-555-1212 to your Twilio phone number settings. Want to build your own phone-powered app, or notify another app when a new call comes in? Put your webhook URL in Twilio's settings instead.

They might go by different names, but once you notice places where apps offer to send notifications to a unique link, you'll often have found somewhere else webhooks can work. Now that you know how to use webhooks, you can use them to make software do whatever you want.

How to use webhooks in any app with Zapier

Zapier is the automation layer for you and your agents: it lets you connect your AI agent to 10,000+ apps—and many of those apps use webhooks behind the scenes, so you don't have to deal with them. But if you've managed to find an app that's not in Zapier's integration library, or its Zapier integration doesn't have the trigger or action you need, you can use webhooks to connect it to your other apps.

To get started, add Zapier to your AI agent. Specifically, you'll need to install Zapier MCP (just follow the steps in our quickstart docs). Once it's set up, return to your AI tool and describe the webhook workflow you want. Your agent will build the code-backed Zap and deploy it to Zapier.

Note: Webhooks by Zapier is a built-in tool available on Professional plans and higher tiers. Compare plans on our pricing page.

Receive data with webhooks

To receive data with a webhook, tell your AI what you want to happen. Using our earlier example, you might write: "Build this Zap: when my online store sends a new order to a webhook, create an invoice in Google Docs with the customer name, item, and order total."

Your AI tool will build the Zap, test it with sample data, and turn it on. Then it'll give you a unique webhook URL, which you'll copy and paste into your app's webhook settings.

AI chat building a Zap that turns webhook orders into invoices

Next, send some real test data. Add a new item in your app, like a test order, form entry, or contact. You can also paste the webhook URL into your browser with sample data on the end, like ?customer=bob&value=10.00&item=paper. Since your Zap is already on, it'll run right away.

Then ask your AI whether the data came through and whether the Zap worked.

AI chat confirming webhook test data triggered the Zap

Here's the invoice the Zap created in Google Docs.

Invoice for bob created in Google Docs

Now, whenever your app sends data to that URL, your Zap will create a new invoice automatically.

Send data with webhooks

To send data with webhooks, first copy the webhook URL from the app that will receive the data. Then tell your AI tool what should trigger the send, what data to include, and where it goes. Something like this would work, for example: "When a new doc is added to my Invoices folder in Google Docs, send the document title and link to this webhook URL as a POST request with form-encoded data."

POST with form-encoded or JSON data works for most webhook integrations, but check the receiving app's docs if you're not sure which it expects. To send only certain fields, name them in your prompt, like "the document title and link."

Your AI tool will build the Zap, send a test request to the webhook URL, and turn the Zap on.

AI chat building a Zap that sends doc details to a webhook

Now whenever something new happens in your trigger app, Zapier will copy the data and send it to your other app's webhook URL.

Need more help? Explore our webhook integrations or read our webhooks documentation for more ways to use webhooks with Zapier.

Time to start using webhooks

You've got this. Armed with your newfound knowledge about webhooks and their confusing terminology, you're ready to start using them in your work. Poke around your favorite web apps' advanced settings and see if any of them support webhooks. Think through how you could use them to support your business—or ask your AI agent how they might help—then give it a shot.

Ready to try it out yourself? Give webhooks a go and start powering your business.

Try Zapier

The steps above show you how to set up a webhook workflow in your AI tool. If you have existing Zaps that use a webhook, they'll keep running as they do now. Just know that if you import a Classic Zap as a Next Gen Zap that starts with a webhook, the new Zap gets a new webhook URL. The trigger panel shows both the original URL and the new one. Be sure to update the app or system that sends data to the original URL—that way, it sends to the new one instead.

Related reading: 

  • 7 ways to use webhooks to automate anything

  • Webhook vs. API: differences (and when to use each)

  • How to send an email from a webhook

  • SOAP vs. REST: What's the difference?

This article was originally published in March 2018 by Matthew Guay and has also had contributions from Katie Redderson-Lear, Will Harris, and Elena Alston. The most recent update was in December 2026.

Get AI and automation tips, delivered straight to your inbox

We’ll email you 1-2 times per week—and never share your information.

tags
mentioned apps

Related articles

Your agent builds it. Zapier keeps it running. Build automations across 10,000+ apps.

Sign up
A Zap with the trigger 'When I get a new lead from Facebook,' and the action 'Notify my team in Slack'