Triggers

Webhook

Heads Up

Minimum cooldown: 60 seconds (basic), 2 seconds (Prime).

Actions using this trigger will fire when a HTTP request is sent to the specified URL. To prevent loops, action locking is enforced for webhook actions and {#fetch} can only call webhooks from other servers.

The request method must be POST. You can access body data via {$request.body} and {$request.headers}, for example {$request.headers.content-type}. For security, the Authorization and Cookie headers are inaccessible.

Actions with this trigger run with the user who last updated the action in context. The action inherits that user's permissions in the server.

Response data

PropertyTypeDescription
statusCode"ERROR" | "OK" | "PROCESSING"The result of the invocation
outputstring?The output of the action
errorMessagestring?The error message if the action failed to run
errorStackstring?The stack trace for the action if the action failed to run