Skip to content

Request and Payload Transformations

Reshape the outgoing webhook request with method, URL, and body transforms

transformations request transform payload transform template variables webhooks

Event triggers and cron triggers support request and payload transformations to reshape the outgoing webhook request. One-off scheduled events do not support transformations.

Override the default POST method (GET, PUT, PATCH, DELETE), customize the URL path with templates, and add query parameters.

Request Options Transform

  • Method — choose GET, PUT, PATCH, or DELETE instead of the default POST
  • URL path — use a template to append to the base URL: {{$base_url}}/custom-path
  • Query parameters — add as key-value pairs or as a URL string template

Payload Transform

Transform TypeEditorDescription
application/jsonTemplate editorKriti template with access to template variables
application/x-www-form-urlencodedKey-value form editorForm-encoded key-value pairs
DisabledNoneNo body sent with the request
VariableDescription
$bodyOriginal request body (the full event payload)
$base_urlWebhook base URL
$session_variablesUser session variables
$query_paramsURL query parameters
$response.statusResponse status code (for response transforms)

Slack Payload Transform

{
"text": "Row {{ $body.event.op }} in {{ $body.table.name }}: {{ $body.event.data.new }}"
}