Two types of reactions
| Type | What fires it | Example use |
|---|---|---|
| Trigger | An Omneo event (e.g. transaction.created, tier.achieved) | Award points when a transaction is recorded |
| Automation | A scheduled time or interval | Send a win-back benefit to lapsed customers each Monday |
trigger field value.
Anatomy of a reaction
A reaction has:- trigger: the event or schedule that fires the reaction
- is_active: whether the reaction is enabled
- actions: an ordered array of steps to execute, each with a
sort_order
sort_order sequence. If an action fails its condition (e.g., a filter action returns false), the chain stops.
Common action types
| Action | What it does |
|---|---|
filter | Evaluates a JSON Logic condition, stops the chain if false |
points.award | Awards points to the profile |
benefit.create | Issues a benefit to the profile |
reward.create | Issues a reward to the profile |
tier.assign | Assigns a tier to the profile |
achievement.progress | Increments an achievement |
target.send | Sends a Twig-templated JSON payload to a configured target endpoint |
Common trigger events
| Event | Fires when |
|---|---|
transaction.created | A transaction is recorded |
profile.created | A new profile is created |
profile.updated | A profile is updated |
tier.achieved | A profile achieves a new tier |
benefit.claimed | A benefit is claimed |
reward.redeemed | A reward is redeemed |
points.awarded | Points are awarded |
Data available in reactions
All reaction filters and actions have access to the Event Context for the triggering event. The context includes the profile, the triggering object (transaction, benefit, etc.), and related data. See Reaction Filters and JSON Conditions for how to access and evaluate this data.Managing reactions
Reactions can be created and managed via the API (/api/v3/triggers) or via CX Manager under Settings → Reactions. A reaction must have is_active: true to fire.