webhook
Add an API call. Multiple webhooks can be chained — they execute in order, and if earlier webhooks fail, later ones act as fallbacks.
Parameters
method
HTTP method for the request.
"GET"— retrieve a resource"POST"— create a resource or submit data"PUT"— replace a resource"DELETE"— remove a resource"PATCH"— partially update a resource
url
API endpoint URL. Supports ${variable} substitutions (use ${enc:args.param}
for URL-encoded values).
headers
HTTP headers to include in the request.
form_param
Send the JSON body as a single form parameter with this name.
input_args_as_params
Merge function arguments into the request parameters automatically.
require_args
Only execute this webhook if all listed arguments are present.
Returns
DataMap — Self for method chaining.
Example
Chained webhooks act as fallbacks — if the first webhook fails, the second is tried: