Skip to content

Business event

A Business event trigger starts the workflow when an event with a matching name arrives. One event can start every live workflow in the workspace that listens for that name. You choose which event fields identify the customer or case, copy event values into run data, skip events you don’t need, and ignore repeats.

  • Your payment system reports payment.failed and you want to remind the customer and offer a new link.
  • A policy system emits policy.expiring and a renewal workflow should start for that customer.
  • Several teams each have a workflow that should react to the same event.
  • One system calls one workflow directly and wants an answer back. Use API / webhook.
  • A run that is already going needs to pause until something happens. Use Wait for event inside that workflow.
  • The workflow should run on a timetable. Use Schedule.
Setting What it does
Event name Required. The event that starts the workflow, for example payment.failed.
Correlation keys Event fields that identify the customer or case, for example customerRef or policyNumber. Their values become the run’s correlation, which later steps and other events use to find this run.
Only when An expression checked when the run starts, for example input.amount > 1000. When it is false the run ends at once with the outcome filtered.
Map event fields Stores values from the event payload (input) under names the workflow uses (data).
Ignore repeats for A duration. A second event with the same correlation values within this time returns the existing run instead of starting a new one.
  • input.<field> for every field in the event payload.
  • data.<name> for each entry in Map event fields.
  • trigger.type is trigger.event.
  • The run’s correlation, from the correlation keys.

A run filtered out by Only when ends straight away with the outcome filtered and the result cancelled. Map event fields runs first, so the filter can use mapped values.

When an event arrives with correlation values, it also wakes runs that are already waiting for it in a Wait for event step with the same values. Sending the same event id twice does nothing the second time, so your system can retry safely. See the workflows API guide.

An insurer starts a renewal workflow for policies with a premium above 10,000.

Business event (policy.expiring) → Read context → Outbound call (renewal agent) → End
{
"eventName": "policy.expiring",
"data": {
"policyNumber": "MTR-55102",
"customerRef": "C-10293",
"premium": 18400,
"expiresOn": "2026-12-31"
}
}

Settings: correlation key customerRef, Only when input.premium > 10000, Ignore repeats for 7d.