You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/engage/journeys/exit-rules.md
+40-1Lines changed: 40 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,43 @@ Journey Exit Rules automatically remove users from a journey when certain condit
8
8
Exit Rules also reduce the need for complex branching by letting you define clear endpoints.
9
9
10
10
> info "Public Beta"
11
-
> Event-Triggered Journeys is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
11
+
> Event-Triggered Journeys is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
12
+
13
+
## How exit rules work
14
+
15
+
Segment continuously evaluates exit rules as users move through a journey. If a user performs an event that matches one of the configured rules, they exit immediately from their current step.
16
+
17
+
You can optionally send a final event to a destination before the user exits. This lets you notify other downstream systems, like marketing or analytics platforms, about the exit.
18
+
19
+
Exit rules don't wait for a profile to reach a specific step; they apply globally and override any normal progression through the journey. Once a user exits, they won't proceed to any additional steps.
20
+
21
+
## Configuring exit rules
22
+
23
+
You'll set up exit rules in the journey’s settings panel. By default, journeys don’t have any exit conditions, but you can choose to add up to five exit events.
24
+
25
+
## Basic setup
26
+
27
+
To get started, open your journey settings and look for the Exit Rules section. You’ll see two options:
28
+
29
+
-**Users don't exit early** (default)
30
+
-**Exit when user performs events
31
+
32
+
Choose the second option to begin defining exit conditions.
33
+
34
+
### Adding exit events
35
+
36
+
For each exit rule, choose the event that should trigger the exit. You can also apply filters to narrow down which versions of the event qualify. For example, you might exit only when a `Subscription_Cancelled` event includes `reason = churn`.
37
+
38
+
You can optionally require that the exit event matches the same identifier used in the entry event. This helps tie the two together, like if a journey starts with a `Cart_Modified` event and should exit only when `Order_Purchased.cart_id` matches the same cart.
39
+
40
+
Each exit rule must be mutually exclusive.
41
+
42
+
### Destination sends (optional)
43
+
44
+
You can configure a single destination to receive data when a user exits due to an exit rule. To do this:
45
+
46
+
1. Enable **Send to destination before exit** in the exit rule setup.
47
+
2. Choose which exit events should trigger the send.
48
+
3. Define the payload using data from the entry event, exit event, and journy context (if available).
49
+
50
+
Keep in mind that Segment only includes journey context collected before the exit event. The payload preview shows all possible fields, but the actual send includes only the data available at the time of exit.
0 commit comments