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/contextual-journeys.md
+18-24Lines changed: 18 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,49 +62,43 @@ By incorporating event-specific data at each step, journey context helps ensure
62
62
63
63
### Journey steps that use context
64
64
65
-
Journey context is referenced and updated at various steps in Event-Triggered Journeys. Each of these steps plays a specific role in adapting the journey to user behavior or conditions.
65
+
Journey context gets referenced and updated at various steps in an event-triggered journey. Each step plays a specific role in adapting the journey to user behavior or conditions.
66
66
67
-
#### **1. Wait for Event Split**
67
+
#### Wait for event split
68
68
69
-
This step checks whether a user performs a specific event within a given time window. If the event occurs, its details are added to journey context for use in later steps.
69
+
This step checks whether a user performs a specific event within a given time window. If the event occurs, Segment adds its details to journey context for use in later steps.
70
70
71
-
-**Example:** A journey may wait to see if a `checkout_completed` event occurs within two hours of a user starting checkout. If the event happens, the workflow can proceed; otherwise, it may take an alternate path.
72
-
-**Details:** The data captured includes event properties (e.g., `Order ID`) and the results of the split evaluation.
71
+
For example, a journey may wait to see if a `checkout_completed` event occurs within two hours of a user starting checkout. If the event happens, the workflow can proceed; otherwise, it may take an alternate path. The data captured includes event properties (like `Order ID`) and the results of the split evaluation.
73
72
74
-
#### **2. Context Split**
73
+
#### Context split
75
74
76
75
This step evaluates conditions using data already stored in journey context. Based on the conditions, users are routed to different branches of the journey.
77
76
78
-
-**Example:** A user who triggers an event with a property like `order_value > 100` might be routed to one branch, while other users follow a different path.
79
-
-**Details:** The split uses attributes from journey context, such as event properties or prior split outcomes, to determine the appropriate branch.
77
+
For example, a user who triggers an event with a property like `order_value > 100` might be routed to one branch, while other users follow a different path. The split uses attributes from journey context, like event properties or prior split outcomes, to determine the appropriate branch.
80
78
81
-
#### **3. Profile Data Split**
79
+
#### Profile data split
82
80
83
-
This step evaluates user traits or audience memberships to determine branching. While profile data is not stored in journey context, it complements the static data available in the journey.
81
+
This step evaluates user traits or audience memberships to determine branching. While Segment doesn't store profile data in journey context, it complements the static data available in the journey.
84
82
85
-
-**Example:** Users in a premium audience can be directed to a tailored experience, while others follow the standard flow.
86
-
-**Details:** The results of this split are stored in journey context for reference in later steps.
83
+
For example, users in a premium audience can be directed to a tailored experience, while others follow the standard flow. Segment stores the results of this split in journey context for reference in later steps.
87
84
88
-
#### **4. Contextual Delay**
85
+
#### Contextual delay
89
86
90
-
A Contextual Delay introduces a wait period based on time-related data in journey context. This ensures workflows align with real-world events.
87
+
A contextual delay introduces a wait period based on time-related data in journey context. This ensures workflows align with real-world events.
91
88
92
-
-**Example:** A journey can wait until one hour before an `Appointment Start Time` to send a reminder email.
93
-
-**Details:** The delay reads from journey context but does not add any new data to it.
89
+
For example, a journey can wait until one hour before an `Appointment Start Time` to send a reminder email. The delay reads from journey context but doesn't add any new data to it.
94
90
95
-
#### **5. Function Steps**
91
+
#### Function steps
96
92
97
-
Function Steps process data from journey context through custom logic. The output of the function is written back to context for use in later steps.
93
+
Function steps process data from journey context through custom logic. The output of the function gets written back to context for use in later steps.
98
94
99
-
-**Example:** A function might calculate a discount percentage based on an event property, then store that value in journey context for later use.
100
-
-**Details:** The output is scoped to a dedicated object (`function_output`) to keep the context structured and reliable.
95
+
For example, a function might calculate a discount percentage based on an event property, then store that value in journey context for later use. The output gets scoped to a dedicated object (`function_output`) to keep the context structured and reliable.
101
96
102
-
#### **6. Send to Destination**
97
+
#### Send to destination
103
98
104
-
The Send to Destination step allows journey context data to be included in payloads sent to external tools, such as messaging platforms or analytics systems.
99
+
The send to destination step allows journey context data to be included in payloads sent to external tools, like messaging platforms or analytics systems.
105
100
106
-
-**Example:** A payload sent to a messaging platform might include `Order ID` and `Cart Contents` to personalize the message.
107
-
-**Details:** Users can select which parts of journey context to include in the payload.
101
+
For example, a payload sent to a messaging platform might include `Order ID` and `Cart Contents` to personalize the message. Users can select which parts of journey context to include in the payload.
0 commit comments