Hands holding a tablet beside an open laptop at a round table, banner image on the Webhooks for non-developers: a tutorial page

HiringsAI blog

Webhooks for non-developers: a tutorial

A webhook is a doorbell for software: instead of you checking whether something happened, the other app rings your URL when it does. This tutorial reads four official pages in plain terms: GitHub on what a webhook is and why not to poll, the trigger-action tool on catching one with a pasted URL, the node-based workflow tool on its test and production URLs, and Stripe on proving a call is real, answering fast and surviving retries.

a webhook, four documented waysGITHUBwhat a webhook is,and webhooks vs pollingTRIGGER-ACTION TOOLCatch Hook: you geta URL to paste inNODE-BASED TOOLseparate test andproduction URLsSTRIPEverify, answer 2xx,retries, duplicates
01

The short answer

A webhook is a URL you give another app.

The trigger-action tool turns that into a form fieldPick Catch Hook, copy the URL it shows, paste it into the other app's webhook settings.
The node-based workflow tool gives you two such URLsOne for testing and one for production.
Stripe adds the rulesStripe adds the rules that matter once real money is behind the call: check the signature, answer with a 2xx quickly, and expect retries and duplicates.
Each claim below comes from its own page

The short answer

A webhook is a URL you give another app. GitHub's page says webhooks deliver notifications to an external web server whenever certain events occur, and describes them as the opposite of polling: you express interest once, when you create the webhook, instead of calling an API intermittently. The trigger-action tool turns that into a form field: pick Catch Hook, copy the URL it shows, paste it into the other app's webhook settings. The node-based workflow tool gives you two such URLs, one for testing and one for production. Stripe adds the rules that matter once real money is behind the call: check the signature, answer with a 2xx quickly, and expect retries and duplicates. Each claim below comes from its own page.

02

What a webhook is, per GitHub

GitHub's About webhooks page says webhooks let you subscribe to events in a software system and automatically receive a delivery of data whenever those events occur.

When you create one you specify a URL and the eventsWhen you create one you specify a URL and the events, When a subscribed event occurs, GitHub sends an HTTP request with data about the event to that URL, and if your server listens there it can take action.
YOU REGISTER a URL plus the events you want 2
SENDER CALLS an HTTP request with data about the eventSENDER CALLS an HTTP request with data about the event, To your URL 3.
YOU ACT your serverYOU ACT your server or workflow listens at that URL and acts GitHub About webhooks; the trigger-action tool Trigger workflow workflows from webhooks On the choice between webhooks and polling, the page lists three advantages for webhooks: they take less effort and fewer resources than polling an API, they scale better (many API calls can hit a rate-limit quota quickly), and they allow near real-time updates.

What a webhook is, per GitHub

GitHub's About webhooks page says webhooks let you subscribe to events in a software system and automatically receive a delivery of data whenever those events occur. When you create one you specify a URL and the events; when a subscribed event occurs, GitHub sends an HTTP request with data about the event to that URL, and if your server listens there it can take action. Listed uses on the page include triggering a continuous integration pipeline, sending a notification to Slack or Discord, updating an external issue tracker, deploying to a production server and logging events for audit.

The whole idea in three parts1. YOU REGISTERa URL, plus theevents you want2. SENDER CALLSan HTTP request with dataabout the event, to your URL3. YOU ACTyour server or workflowlistens at that URL and actsGitHub About webhooks; the trigger-action tool Trigger workflow workflows from webhooks

On the choice between webhooks and polling, the page lists three advantages for webhooks: they take less effort and fewer resources than polling an API, they scale better (many API calls can hit a rate-limit quota quickly), and they allow near real-time updates. It also says that if you only need information once or intermittently, or from a small set of resources with no plans to scale, calling the API is fine. A plain-language rule drawn from that: poll when you rarely need it, subscribe when you need to know the moment it happens.

push or poll: who asks firstPOLLINGyou call the APIintermittently and askWEBHOOKyou say once you care;The sender calls youGITHUB PAGE LISTSless effort and resources,scales better, near real-timeSTILL FINE TO POLLone-off needs, or a smallset of resources, no scale-upper GitHub About webhooks
03

The trigger-action tool: you get a URL to paste in

The trigger-action tool's Trigger workflow workflows from webhooks page lists the steps.

Then, in the app you want to connect, find its webhooks settingsAdd a new webhook connection, paste the URL and save.
To test, add something new in that appTo test, add something new in that app, return to the workflow and click Test trigger.
Catch Raw Hook leaves the body unparsedCatch Raw Hook leaves the body unparsed, includes headers and has a 2MB maximum.
The trigger-action tool, two ways to catch one CATCH HOOK GETPUT or POST; body is parsed CATCH RAW HOOK GET, PUT or POST; body unparsed, max 2MB, headers PAGE SAYS for most webhooks, Catch Hook is the best option per the trigger-action tool Trigger workflow workflows from webhooks Two details on the page are easy to miss.

The trigger-action tool: you get a URL to paste in

The trigger-action tool's Trigger workflow workflows from webhooks page lists the steps. Add Webhooks by the trigger-action tool as the trigger, pick the event, and on the Test tab the trigger-action tool shows your webhook URL to copy. Then, in the app you want to connect, find its webhooks settings, add a new webhook connection, paste the URL and save. To test, add something new in that app, return to the workflow and click Test trigger. The page says Catch Hook is the best option for most webhooks; it parses the request body. Catch Raw Hook leaves the body unparsed, includes headers and has a 2MB maximum.

The trigger-action tool: two ways to catch oneCATCH HOOKGET, PUT or POST;body is parsedCATCH RAW HOOKGET, PUT or POST; bodyunparsed, max 2MB, headersPAGE SAYSfor most webhooks, Catch Hookis the best optionper the trigger-action tool Trigger workflow workflows from webhooks

Two details on the page are easy to miss. First, if the workflow is turned off or deleted, the trigger-action tool returns a 404 for incoming requests, but with a system update delay of up to several hours during which the URL still returns 200. The URL changes only if the workflow is transferred to another user, because it contains the owner's the trigger-action tool ID, so you must update the sending app in that case. Second, the page says the trigger-action tool will send a 200 response by default and that adding silent/ to the URL on Catch Raw Hook removes the response.

The trigger-action tool: the URL has a life of its ownZAP OFF OR DELETEDincoming requests get 404,after a delay of up toseveral hours (200 until then)ZAP TRANSFERREDthe URL changes: itcontains the owner's ID,so update the sending appSILENT MODECatch Raw Hook: add silent/for an empty response;otherwise the trigger-action tool sends 200per the trigger-action tool Trigger workflow workflows from webhooks

The page also documents sending more than one event in one request: post an array of JSON objects and the trigger-action tool triggers the workflow once per object. It says webhooks may delay passing data on when many requests arrive at once and points to a separate rate-limits page, which was not reviewed here.

The trigger-action tool: one request, several runsONE POSTa JSON array withthree objectsTHREE TRIGGERSThe workflow runs onceper object in the arrayper the trigger-action tool Trigger workflow workflows from webhooks; the page notes throttling under heavy load
04

The node-based workflow tool: a test URL and a production URL

The node-based workflow tool's Webhook node page says the node is a trigger that creates webhooks to receive data from apps and services, and that it can also return data produced at the end of the workflow, which makes it useful for building something like an API endpoint.

The test URLThe test URL is registered when you select Listen for Test Event or Execute workflow (if the workflow is not active) and shows incoming data in the workflow.
The production URL is registered when you publish the workflowThe production URL is registered when you publish the workflow, And does not show data in the workflow; to see a production run you open the Executions tab for that workflow.
The node-based workflow tool, test URLProduction URL TEST URL registered on Listen for Test Event or Execute; data shows in the editor PRODUCTION URL registered on publish; data not shown in the editor; see the Executions tab DEFAULT PATH a randomly generated path, to avoid conflicts; you can set your own path per the node-based workflow tool Webhook node docs The page lists the supported HTTP methods (DELETE, GET, HEAD, PATCH, POST, PUT), a webhook maximum payload of 16MB that a self-hoster can change with the WORKFLOW TOOL_PAYLOAD_SIZE_MAX environment variable, and authentication options: Basic auth, Header auth, JWT auth, the node-based workflow tool User Auth (OAuth2) and None.
The default path is randomly generated to avoid conflictsThe default path is randomly generated to avoid conflicts, And you can set your own.

The node-based workflow tool: a test URL and a production URL

The node-based workflow tool's Webhook node page says the node is a trigger that creates webhooks to receive data from apps and services, and that it can also return data produced at the end of the workflow, which makes it useful for building something like an API endpoint. It has two URLs. The test URL is registered when you select Listen for Test Event or Execute workflow (if the workflow is not active) and shows incoming data in the workflow. The production URL is registered when you publish the workflow, and does not show data in the workflow; to see a production run you open the Executions tab for that workflow.

The node-based workflow tool: test URL, production URLTEST URLregistered on Listen forTest Event or Execute;data shows in the editorPRODUCTION URLregistered on publish;data not shown in the editor;see the Executions tabDEFAULT PATHa randomly generated path,to avoid conflicts; you canset your own pathper the node-based workflow tool Webhook node docs

The page lists the supported HTTP methods (DELETE, GET, HEAD, PATCH, POST, PUT), a webhook maximum payload of 16MB that a self-hoster can change with the WORKFLOW TOOL_PAYLOAD_SIZE_MAX environment variable, and authentication options: Basic auth, Header auth, JWT auth, the node-based workflow tool User Auth (OAuth2) and None. The default path is randomly generated to avoid conflicts, and you can set your own.

The node-based workflow tool: who may call, and how bigMETHODSDELETE, GET, HEAD,PATCH, POST, PUTMAX PAYLOAD16MB; self-hosted canchange it with WORKFLOW TOOL_PAYLOAD_SIZE_MAXAUTH CHOICES ON THE PAGEBasic, Header, JWT, the node-based workflow tool User Auth (OAuth2), Noneper the node-based workflow tool Webhook node docs
05

Stripe: proving it is real, and surviving failure

Stripe's webhooks page says to register a publicly accessible HTTPS URL (it allows an HTTP endpoint while you develop locally, and suggests a tunnelling tool or the Stripe CLI for local testing).

VERIFY Stripe-Signature header whsec_ secret, raw body 3
ANSWER 2xx FIRST returnANSWER 2xx FIRST return success before complex logic that might cause a timeout DO NOT TOUCH THE BODY framework changes to the raw body make verification fail per Stripe webhooks docs For failure, the page documents automatic retries for up to three days with exponential backoff in live mode, and three retries over a few hours for sandbox events.
You can resendYou can resend an event by hand from the Dashboard (up to 15 days after the event) or with the Stripe CLI (up to 30 days); a manual resend does not cancel the automatic retries.
It says StripeIt says Stripe does not guarantee events arrive in the order generated, that endpoints may occasionally receive the same event more than once, and recommends logging the event IDs you have processed.

Stripe: proving it is real, and surviving failure

Stripe's webhooks page says to register a publicly accessible HTTPS URL (it allows an HTTP endpoint while you develop locally, and suggests a tunnelling tool or the Stripe CLI for local testing). Your endpoint should accept POST requests with a JSON payload, verify the request using the Stripe-Signature header and the whsec_ signing secret, and return a 2xx quickly, before any complex logic that might time out. The page says Stripe needs the raw request body for verification, and any framework manipulation of it makes verification fail. Without verification, it warns, an attacker could send fake events to trigger actions such as fulfilling orders; it recommends using both IP allowlisting and signature verification.

Stripe: what the handler must do1. ACCEPTPOST with a JSONpayload about the event2. VERIFYStripe-Signature header,whsec_ secret, raw body3. ANSWER 2xx FIRSTreturn success before complex logicthat might cause a timeoutDO NOT TOUCH THE BODYframework changes to the raw bodymake verification failper Stripe webhooks docs

For failure, the page documents automatic retries for up to three days with exponential backoff in live mode, and three retries over a few hours for sandbox events. You can resend an event by hand from the Dashboard (up to 15 days after the event) or with the Stripe CLI (up to 30 days); a manual resend does not cancel the automatic retries. It says Stripe does not guarantee events arrive in the order generated, that endpoints may occasionally receive the same event more than once, and recommends logging the event IDs you have processed. It also recommends handling events with an asynchronous queue and listening only to the event types you need.

Stripe: when delivery goes wrongRETRIESlive: up to 3 days,exponential backoff;sandbox: 3 over hoursRESEND BY HANDDashboard: up to 15 days;CLI: up to 30 days;does not cancel auto retriesORDER NOT GUARANTEEDdo not depend on arrivalorder of eventsDUPLICATES HAPPENlog event IDs and skipones already processedper Stripe webhooks docs
06

Our checklist (synthesis, not a vendor claim)

Combining the four pages, in our words: test with a test URL before you publish; confirm the sender can be verified and verify it where the vendor documents how; answer quickly and do the real work after; and design for repeats.

Combining the four pages, in our wordsTest with a test URL before you publish; confirm the sender can be verified and verify it where the vendor documents how; answer quickly and do the real work after; and design for repeats.
These are our reading of what the four pages describeNot a rule any one vendor states for every service.
Whether a webhook sender you use signs its requests, or retriesIs a question for that sender's documentation, which these pages do not answer. our checklist before you go live 1.
TEST FIRST The node-based workflow tool test URLStripe CLI stripe listen or trigger 2.
VERIFY SENDER Stripe documents signingVERIFY SENDER Stripe documents signing, check what yours offers 3.

Our checklist (synthesis, not a vendor claim)

Combining the four pages, in our words: test with a test URL before you publish; confirm the sender can be verified and verify it where the vendor documents how; answer quickly and do the real work after; and design for repeats. These are our reading of what the four pages describe, not a rule any one vendor states for every service. Whether a webhook sender you use signs its requests, or retries, is a question for that sender's documentation, which these pages do not answer.

our checklist before you go live1. TEST FIRSTThe node-based workflow tool test URL; Stripe CLIstripe listen or trigger2. VERIFY SENDERStripe documents signing;check what yours offers3. ANSWER FASTacknowledge, then process(Stripe's documented advice)4. EXPECT REPEATSStripe: duplicates happen;track IDs where you canchecklist is our synthesis; each item cites where it is documented
07

Sources

Behavior is scoped to these pages as of November 29. The checklist is our synthesis. The trigger-action tool's rate-limits page and GitHub's best-practices page were linked from the vendors' documentation and not reviewed.

GitHub Docs, "About webhooks", definition, the registration flowListed uses, webhooks versus polling, and the REST API as the fit for one-off or small-scale needs.
The trigger-action tool, Help"Trigger workflow workflows from webhooks": Catch Hook and Catch Raw Hook, the pasted-URL steps, 404 behavior after a workflow is off or deleted, URL ownership on transfer, silent mode, and arrays of events.
The node-based workflow, tool Docs, "Webhook"Test and production URLs, HTTP methods, the 16MB payload default, authentication options and the default path.
Stripe Docs, "Receive, Stripe events in your webhook endpoint"Endpoint requirements, signature verification, the 2xx-first rule, retries, manual resend windows, event ordering, duplicates and asynchronous handling.

Sources

  • GitHub Docs, "About webhooks": definition, the registration flow, listed uses, webhooks versus polling, and the REST API as the fit for one-off or small-scale needs.
  • The trigger-action tool Help, "Trigger workflow workflows from webhooks": Catch Hook and Catch Raw Hook, the pasted-URL steps, 404 behavior after a workflow is off or deleted, URL ownership on transfer, silent mode, and arrays of events.
  • The node-based workflow tool Docs, "Webhook": test and production URLs, HTTP methods, the 16MB payload default, authentication options and the default path.
  • Stripe Docs, "Receive Stripe events in your webhook endpoint": endpoint requirements, signature verification, the 2xx-first rule, retries, manual resend windows, event ordering, duplicates and asynchronous handling.

Behavior is scoped to these pages as of November 29. The checklist is our synthesis. The trigger-action tool's rate-limits page and GitHub's best-practices page were linked from the vendors' documentation and not reviewed.

Webhooks, without the plumbing

HiringsAI receives events from your recruiting tools and starts the right workflow, with every delivery on the record.

Get started
A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the Webhooks for non-developers: a tutorial page

Keep reading, or try a tool.

Long-form guides on building, automating and AI computing.