When to Use It
- Receiving events from third-party services (Stripe, GitHub, Shopify, etc.)
- Building an API endpoint powered by your flow
- Connecting Zygo to Zapier, Make, or other automation platforms
- Processing incoming data in real time
How It Works
Add a Webhook node
Drag a Webhook node onto your canvas. It should be the first node in your flow (no incoming connections).
Configure the external system
Point your external service at the webhook URL. When it sends a request, your flow triggers.
Configuration
Allowed Method
Allowed Method
Restrict which HTTP method the webhook accepts.
Requests using a non-allowed method receive a
| Option | Behavior |
|---|---|
| POST (default) | Only accepts POST requests |
| GET | Only accepts GET requests |
| PUT | Only accepts PUT requests |
| DELETE | Only accepts DELETE requests |
| PATCH | Only accepts PATCH requests |
| ANY | Accepts all HTTP methods |
405 Method Not Allowed.Authentication
Authentication
Protect your webhook with an You can also reference a credential:Unauthenticated requests receive a
Authorization header check. Set the expected value, and Zygo will reject any request that doesn’t match.401 Unauthorized.Response Status
Response Status
The HTTP status code returned to the caller after the webhook is received. Defaults to
200.Common values: 200 (OK), 201 (Created), 202 (Accepted).Response Body
Response Body
The JSON body returned to the caller. Defaults to:Customize this to return whatever the calling system expects.
Input Data
The Webhook node captures everything about the incoming request and makes it available to downstream nodes:| Field | Description |
|---|---|
method | The HTTP method used (GET, POST, etc.) |
path | The webhook node ID |
headers | All request headers as key-value pairs |
query | URL query parameters as key-value pairs |
body | The request body, parsed as JSON |
Important Notes
The webhook URL is the node’s database ID — not a secret token. If you need to prevent unauthorized access, always configure an Authentication header.