@@ -128,31 +128,34 @@ The following example shows how journey context might look during a workflow. In
128
128
129
129
``` json
130
130
{
131
- "appointment_scheduled" : {
132
- "appointment_id" : 12345 ,
133
- "start_time" : " 2024-12-06T10:00:00Z" ,
134
- "end_time" : " 2024-12-06T11:00:00Z" ,
135
- "provider_name" : " Dr. Smith"
136
- },
137
- "appointment_rescheduled" : {
138
- "appointment_id" : 12345 ,
139
- "start_time" : " 2024-12-07T10:00:00Z" ,
140
- "end_time" : " 2024-12-07T11:00:00Z" ,
141
- "provider_name" : " Dr. Jameson"
142
- }
131
+ "journey_context" : {
132
+ "appointment_scheduled" : {
133
+ "appointment_id" : 12345 ,
134
+ "start_time" : " 2024-12-06T10:00:00Z" ,
135
+ "end_time" : " 2024-12-06T11:00:00Z" ,
136
+ "provider_name" : " Dr. Smith"
137
+ },
138
+ "appointment_rescheduled" : {
139
+ "appointment_id" : 12345 ,
140
+ "start_time" : " 2024-12-07T10:00:00Z" ,
141
+ "end_time" : " 2024-12-07T11:00:00Z" ,
142
+ "provider_name" : " Dr. Jameson"
143
+ }
143
144
// "split_decision": {
144
145
// "split_name": "appointment_type_split",
145
146
// "branch_chosen": "existing_patient"
146
147
// },
147
148
// "function_output": {
148
149
// "discount_percentage": 15
149
150
// }
151
+ }
150
152
}
151
153
```
152
154
153
155
This payload contains:
154
156
155
- - ** Event properties** : Captured under the ` appointment_scheduled ` key.
157
+ - ** Entry Event properties** : Captured under the ` appointment_scheduled ` key.
158
+ - ** Hold Until Event properties** : Captured under the ` appointment_rescheduled ` key.
156
159
// - ** Split outcomes** : Documented in the ` split_decision ` object.
157
160
// - ** Function results** : Stored in the ` function_output ` object for use in later steps.
158
161
0 commit comments