Journeys
Journeys are visual graphs that fire when an event happens (or a player enters a segment). Drag-and-drop graph editor (React Flow) with seven node types.
Node types
| Type | Behavior |
|---|---|
| trigger | Entry — references an event name (or segment_entry). Auto-created from the trigger config. |
| wait | Hold for a duration (duration_ms) OR until an event fires (until_event with timeout). |
| send_message | Render template + provider, enqueue a message_send. |
| condition | Branch on a player trait. Operators: =, !=, >, >=, <, <=, exists. Two outgoing edges (if_true_next, if_false_next). |
| grant_bonus | Issue a bonus template. Optional deposit_amount_source for deposit_match types. |
| call_webhook | HTTP POST to an external URL with Mustache-rendered body + optional HMAC signature. Branches on success / failure. |
| end | Terminal — journey run completes. |