Documentation

Rule Configuration

Structure rules for consistent routing.

Rules are defined in the dashboard (Cloud) or in configuration (OSS).

Fields

  • when: JSONPath boolean expression
  • emit: Topic name(s) for workers
  • drivers: Driver IDs for delivery destinations (required in Cloud)
  • enabled: Toggle to stop or resume evaluation

Example

when: action == "opened" && pull_request.draft == false
emit: pr.opened.ready
drivers: ["drv_123"]

Use the Drivers page to copy driver IDs. In Cloud, rules must reference valid driver IDs.