Triggers

Webhook

Note

Minimum cooldown: 60 seconds (basic), 10 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 will run with the user who last updated the action in context, which will also mean the action inherits that users 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