Trigger on webhook
Overview
Starts the flow when an HTTP request reaches the webhook.
Data from the accepted request becomes node outputs for downstream nodes.
Use it when an external system should start an OvalBee flow by sending an HTTP request. For example, a scheduler or external integration can call the webhook, then Run flow starts several import branches in parallel.
Prerequisites
How it works
FAQ
How do I send a test request?
Click Copy curl on the node and run the command in a terminal. It already has the URL, the method, and the secret header. Use the arrow next to the button to copy the same request for Python or JavaScript, or only the URL. If you can’t edit the flow, the request has <secret> in place of the secret.
What does the caller get back?
The configured Response Status and Response Body, by default 202 and Webhook received. The answer is sent as soon as the request is accepted, not when the flow finishes.
Why was my request rejected?
405 means the method is not the one set in Allowed Method. 401 means the shared secret is missing or wrong. 404 means no webhook node matches the URL, and 400 means the node still needs configuration.
Which methods can trigger it?
GET, POST, PUT, PATCH, and DELETE. The Any option accepts all of them.
How large can the request body be?
Up to 10 MB. A body that is not valid JSON is passed through as a string, and an empty body becomes null.
Inputs
Send HTTP requests to this URL to trigger the flow. Read-only. Flow variables aren’t accepted. Derived automatically as a url. Key: WEBHOOK_URL.
HTTP method a request must use to trigger the flow. Any other method is refused with 405 Method Not Allowed. Key: ALLOWED_METHOD.
Options:
- Any (
any) - GET (
get) - POST (
post) - PUT (
put) - PATCH (
patch) - DELETE (
delete)
Required secret expected in the request header below. Flow variables aren’t accepted. The value is masked. Generated automatically as a secret when the node is created. Key: SECRET.
Request header the shared secret is read from. A request that does not carry the matching secret is refused. Key: SECRET_HEADER.
HTTP status code returned after the webhook is accepted. Minimum: 200. Maximum: 599. Step: 1. Key: RESPONSE_STATUS.
Plain text sent back to the caller once the request is accepted. Key: RESPONSE_BODY.
Outputs
Parsed request body as JSON, string, or null. Key: BODY.
Query string parameters from the webhook request. Key: QUERY.
HTTP headers received with the request. Key: HEADERS.
HTTP method used to trigger the webhook. Shown on the node as a badge. Key: METHOD.
URL that triggered this webhook node. Key: URL.
ISO timestamp when the webhook request was accepted. Key: RECEIVED_AT.
JSON config
Machine-readable node interface for automation and advanced usage.