This guide walks through creating a complete reaction from scratch. The example: issue a benefit to a customer when they achieve tier 2.Documentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.
What we’re building
- Trigger:
tier.achieved - Filter: Only proceed if the achieved tier handle is
"tier-2" - Action: Issue a benefit from a specific benefit definition to the profile
Prerequisites
You need:- A Tier Definition with handle
tier-2 - A Benefit Definition with a known handle (e.g.,
"tier-2-welcome-benefit") - A Bearer token with write access
Step 1: Create the reaction
How it works
- When any tier is achieved, the
tier.achievedevent fires - The
filteraction at sort_order 1 checks whetherdefinition.handle === "tier-2". If the customer achieved a different tier, the chain stops here - If the filter passes,
benefit.createat sort_order 2 issues a benefit to the profile using theprofile_idfrom the event context and the specified benefit definition handle
Step 2: Verify the reaction is active
In CX Manager, navigate to Settings → Reactions and confirm the new reaction shows a green active toggle.Step 3: Test it
- Select a test profile
- Manually award enough tier points for the profile to achieve tier 2
- Navigate to the profile’s Incentives tab — you should see the benefit issued against the profile
Variations to try
- Remove the filter action to issue the benefit on any tier achievement
- Change
benefit.createtoreward.createto issue a dollar-value reward instead - Add a
target.sendaction after the benefit to notify your comms platform - Chain multiple reactions for different tier levels by duplicating this reaction and changing the filter handle
Related
- Reaction Filters — deeper filter examples
- JSON Conditions — full operator reference
- Targets — sending data to external endpoints