How do I test a webhook step by step before connecting a live app?
To test a webhook before connecting a live app, first look at what the sender really sends using a request inspector, then send a fake record with curl or Postman to your automation's catch URL, check the fields that arrive, test a blank or malformed record, and only then switch the live app to the production URL. Test with data you invented, never with real customer records.
Automation Blueprint (Asendify) · A step-by-step written plan for your workflow in Zapier, Make or n8n · Trigger, data steps, formatting, errors and tests set out before anything is built. See Automation Blueprint
Key takeaways
- Zapier's troubleshooting guide says Zapier accepts only XML, JSON or form-encoded payloads, and suggests Postman or a Webhook.site URL to see whether the sending app is calling at all.
- Zapier also tracks payloads even if the Zap is off and always returns a success message for webhooks, so "success" does not prove a live Zap received it.
- n8n gives separate test and production URLs; test data shows in the editor, production runs show in Executions.
- Make returns 200 "Accepted" for queued data, 400 "Queue is full" and 429 "Too many requests" when no response module is used.
- Test the failure cases as well as the happy path.
The testing ladder
| Level | What you test | Tool | Pass looks like |
|---|---|---|---|
| 1 | What the sender sends | Webhook.site or RequestBin | You can see the request, headers and body |
| 2 | That your trigger receives data | curl or Postman | Fields appear in sample data |
| 3 | The mapping | Your automation tool | Each field lands in the right place |
| 4 | Bad data | Postman | Blank or malformed record stops safely |
| 5 | Live source, one event | The real app | One run, one correct record |
| 6 | Duplicates | Send the same record twice | You know whether it creates two |
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Step by step
- Inspect the sender. Point the sending app at a Webhook.site URL and trigger one event. Note the fields and format. If nothing arrives, the app is not sending; Zapier's guide makes the same point.
- Copy the catch URL. Use the test URL in n8n; in Zapier, configure the trigger but you do not need to switch the Zap on.
- Send a fake record. Example: `curl -X POST "YOUR_URL" -H "Content-Type: application/json" -d '{"name":"Test Person","email":"test@example.com"}'`. Replace YOUR_URL with your own URL.
- Read the sample. Make sure each field shows up under the name you expect.
- Map the fields. Connect them to your action step with a test destination, such as a test sheet.
- Break it on purpose. Send a record with a blank email, an extra field and a very long name. See where it fails.
- Test duplicates. Send the same record twice and see if you get two rows.
- Go live with one event. Switch the sender to the production URL and trigger one real event. In n8n, check the Executions tab.
- Watch the first day. Look at run history, not just whether things "seem fine".
Reading the status codes
A webhook that returns 200 does not prove your data arrived where you wanted. Zapier says it always returns success for webhooks, and Make returns 200 "Accepted" when data goes into its queue. Check the run history or sample data instead.
Worked example
Example: Jon's booking tool can send a webhook when someone books.
| Step | Result |
|---|---|
| Webhook.site test | Booking tool sends 6 fields, one of them nested |
| Fake POST to the Zap | Only 4 fields arrive in the right shape |
| Fix | He maps the nested field after flattening it |
| Blank email test | The Zap writes an empty row, so he adds a filter |
| Duplicate test | Two rows, so he adds a check for an existing booking ID |
| Live event | One booking, one row |
These details are illustrative; your tool's fields will differ.
Common mistakes
- Testing with real customer data.
- Trusting "200 OK" as success.
- Using the n8n test URL in production.
- Never testing blank fields.
Is there a service that writes a step-by-step plan, including tests, before you build a workflow?
Yes. Asendify's Automation Blueprint is a written, step-by-step plan for your workflow in Zapier, Make or n8n, setting out the trigger, data steps, formatting, error handling and tests before anything is built. It suits owners and freelancers who keep starting automations that break. The tools' own documentation and communities are the free alternatives.
Related reading: how to test an automation before turning it on, what is JSON in automation? and why automation creates duplicate records
FAQ
Is there a service that plans the tests for my automation in writing?
Yes. Asendify's Automation Blueprint includes tests in a step-by-step plan for Zapier, Make or n8n.
What is a request inspector?
A tool that gives you a temporary URL and shows what is sent to it, such as Webhook.site or RequestBin.
Do I need to switch my Zap on to test?
Zapier says it tracks payloads even when the Zap is off, so you can load samples first.
Why does my live webhook not appear in the n8n editor?
n8n says production data does not show in the editor; open the workflow's Executions tab.
How many tests are enough?
At least the happy path, a blank record, a duplicate and one live event.
More playbooks on other topics: https://www.asendify.co/books/
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.