Skip to content

Automation & Cost

Webhook Payload Inspector & JSON Path Finder

Paste a Stripe, GitHub, Shopify or Typeform payload: get a collapsible tree, one-click paths for every automation platform, and an in-browser POST tester.

Reviewed$0 · No login

TL;DR

Sogoh parses the payload locally: click any field to copy its JSONPath, n8n expression ($json.body.…), Make path, jq filter, JavaScript and Python accessor. The tester sends the POST straight from your browser, so a CORS-blocked target reports status 0 instead of a fake success.

Webhook payload inspector

Payload examples checked

中文

100% client-side — your payload never leaves the browser

Valid JSON
64 lines ·1,589 bytes ·40 fields ·depth 8

Paste a webhook body. Parsing, path extraction and the tree all run locally.

Copy the exact path

The same field, written for each tool. Click a field in the tree to change it.

Selected field

$.data.object.customer_details.email
  • JSONPath
    $.data.object.customer_details.email
  • JSONPath (normalized)
    $['data']['object']['customer_details']['email']
  • n8n expression
    {{ $json.body.data.object.customer_details.email }}
  • Make path
    1.data.object.customer_details.email
  • jq
    .data.object.customer_details.email
  • JavaScript
    payload.data.object.customer_details.email
  • Python
    payload['data']['object']['customer_details']['email']
  • Zapier

    Zapier has no path syntax: it parses the JSON into fields and you pick one in the field mapper.

n8n’s Webhook node puts the HTTP body under $json.body. Switch to $json after an HTTP Request or Set node.

Structure tree

Click any key or value to get its path on every platform.

The structure tree appears here once the JSON parses.

Supported: $, .name, ['name'], [0], [-1], [*], ..name and ..*. Filters and slices are not supported.

Send a test POST

POST the payload above to any webhook URL and see the real status code, latency and response body.

This is the one action that leaves your browser: the payload is sent to the URL you type. Do not test with production secrets.

Headers

Content-Type: application/json is added unless you set it yourself.

Requests time out after 30 seconds and are never retried automatically.

Response

No request sent yet.

Status 0 or “Failed to fetch”?

The browser blocked the request before reading the response. A JSON POST triggers a CORS preflight (OPTIONS); if the target does not answer it with Access-Control-Allow-Origin, the status is unreadable even when the webhook ran. Production endpoints often reject browser origins on purpose. Test with your platform’s test URL, or copy the request as cURL and run it from a terminal.

Path syntax cheat sheet: n8n vs Make vs Zapier

One Stripe field, written the way each platform expects it. The rules are the useful part — the exact keys change with every payload.

Selected field:$.data.object.customer_details.email

PlatformSyntaxWhat to remember
JSONPath$.data.object.customer_details.emailRFC 9535. Dot shorthand is fine for plain names; use $['key'] for dots, spaces or hyphens.
JSONPath (normalized)$['data']['object']['customer_details']['email']The bracket-only form. Every node has exactly one normalized path, which is why tests and logs use it.
n8n expression{{ $json.body.data.object.customer_details.email }}Webhook node output is nested under $json.body; after an HTTP Request or Set node it starts at $json.
Make path1.data.object.customer_details.emailModule number + dot path, the same reference Make writes into blueprints. Arrays are 1-based in get(), unlike JSON and JavaScript.
jq.data.object.customer_details.emailStarts with a dot. Full filters and pipes are available here, which is why the JSONPath tester stays a subset.
JavaScriptpayload.data.object.customer_details.emailDot access for identifiers, brackets for everything else. Optional chaining is safer on partial payloads.
Pythonpayload['data']['object']['customer_details']['email']Brackets are always valid and survive keys that are not identifiers. Use .get() for optional fields.
Zapier—Zapier has no path syntax. Catch Hook parses the JSON, then you select a field in the mapper; nested arrays need a looping step.

Paths above are generated from the selected payload by the same function the copy buttons use, so the cheat sheet cannot drift from the tool.

Limits and privacy

Payloads up to 256 KB, trees up to 4,000 nodes and up to 500 JSONPath matches. Parsing and path extraction are local: there is no upload endpoint, no login and no storage. The test request is the only network call, and it goes directly to the URL you enter.

Related calculators

NotesResults come from public data and the formulas or rules shown on this page: calculators compare scale and direction, while parsers and path builders follow each tool’s documented syntax, which can change between versions. Neither is financial, tax, legal or medical advice; check the official source or a qualified professional before acting.

Method & sourcesFull disclaimer

Share

Email updates

Told when this page’s prices change

The formula stays the same. Prices do not. When a plan changes, one short email with the difference.

Submitting means you agree to receive occasional Sogoh updates and have read the privacy policy. Unsubscribe any time.

How the numbers are derived

  1. 01

    Paste the payload, or load a real one

    The editor accepts any JSON body up to 256 KB. Stripe, GitHub, Shopify, Typeform and n8n Webhook-output presets are built in, with the nesting those providers actually send. Parsing runs in the page; a syntax error reports the exact line and column and never wipes the rest of the tool.

  2. 02

    Click a field and read the platform rules

    JSONPath follows RFC 9535: dot shorthand for plain names, $['key'] for dots or spaces, [0] for arrays. n8n’s Webhook node nests the body under $json.body, so Stripe email is {{ $json.body.data.object.customer_details.email }}; after an HTTP Request or Set node it starts at $json. Make uses module number plus a dot path and counts array items from 1. jq, JavaScript and Python rows are generated from the same segments.

  3. 03

    Test the endpoint with the real bytes

    The tester POSTs the exact editor contents with your headers and reports status, latency, response size and body. A JSON POST triggers a CORS preflight; if the target does not answer OPTIONS with Access-Control-Allow-Origin, the browser hides the response and the tool shows status 0 plus the cURL equivalent. n8n’s Webhook node allows all origins by default, but most production endpoints do not.

  4. 04

    Verify the paths before shipping

    The JSONPath tester runs a documented subset inline: $, .name, ['name'], [0], [-1], [*], ..name and ..*. Filters are rejected with an explanation rather than silently returning wrong nodes. Every path builder and the parser are covered by npm run test:calc, so the copy buttons, API and page cannot drift apart.

FAQ

Does this upload my webhook payload?

No. Parsing, tree rendering, path extraction and the JSONPath tester run in the page with bundled JavaScript. There is no upload endpoint, no login and no storage. The only network request is the test POST you explicitly trigger, which goes directly from your browser to the URL you typed.

Why does the tester return status 0 or “Failed to fetch”?

A browser will not let a page read a cross-origin response unless the target allows it. A JSON POST is not a “simple” request, so the browser sends an OPTIONS preflight first; if the webhook does not answer with Access-Control-Allow-Origin, the response is invisible even when the workflow ran. Status 0 also covers DNS, TLS and offline failures. Use the platform’s test URL, enable CORS on the endpoint, or copy the cURL command and run it from a terminal.

Why is the n8n path $json.body… and when should it be $json…?

The n8n Webhook node exposes the request as $json with body, headers, params and query. A Stripe field therefore sits at $json.body.data.object. After an HTTP Request node returns parsed JSON, or a Set node rewrites the item, the same field is at the root: $json.data.object. The toggle above the path list switches the whole panel between both conventions.

Does it support JSONPath filters such as $..book[?@.price<10]?

Not in the inline tester. It supports names, indices (including negative), wildcards, recursive descent and bracket notation, and rejects filters, slices and function extensions with an explicit message. Filters are solved better by jq, which is why the tool gives you a jq path for every field instead of pretending a partial evaluator is complete.

What is the Zapier equivalent of a JSON path?

Zapier has no path syntax. A Catch Hook trigger parses the JSON into named fields, and you select the field in the mapper; nested arrays usually need a looping step. The tool says this explicitly instead of inventing a Zapier path format that would not work.

Which payload examples are built in, and are they real?

Stripe payment_intent.succeeded, GitHub push, Shopify order created, Typeform form_response and an n8n Webhook node output. Field names and nesting follow each provider’s official payload reference; IDs, amounts and timestamps are illustrative. No customer data is included, and the check date is printed above the editor.

← Back to calculators