Routes & Transforms

Routes connect sources to destinations. Each route can include filter conditions and a Handlebars transform template.

Creating a Route

  1. Select a source and destination
  2. Optionally add filter conditions
  3. Optionally add a transform template
  4. The route starts active by default

Filter Conditions

Filters let you route only matching events. All conditions are AND-ed together. Use dot-notation for nested fields.

Example Filters

FieldOperatorValueDescription
typeequalsdeployOnly deploy events
data.statusnot_equalsdraftSkip drafts
payload.emailcontains@company.comOnly company emails
metadata.priorityexistsHas priority set

Transform Templates

Use Handlebars templates to reshape the payload before delivery. The event payload is the template context.

Slack Block Kit Example

{
  "blocks": [
    {
      "type": "section",
      "text": {
        "type": "mrkdwn",
        "text": "*{{title}}*\nStatus: {{status}}\n{{truncate description 100}}"
      }
    }
  ]
}

Available Helpers

HelperUsageDescription
json{{json data}}JSON stringify
eq{{#eq status "active"}}...{{/eq}}Conditional
truncate{{truncate text 80}}Truncate with ellipsis
formatDate{{formatDate created_at}}ISO date format

Live Preview

The route builder includes a live preview panel. Enter a sample JSON payload and see the transformed output in real-time as you edit your template.