Skip to content

Commit cd33808

Browse files
authored
clarify hold until event in payload example
1 parent 12413a6 commit cd33808

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

src/engage/journeys/journey-context.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -128,31 +128,34 @@ The following example shows how journey context might look during a workflow. In
128128

129129
```json
130130
{
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+
}
143144
// "split_decision": {
144145
// "split_name": "appointment_type_split",
145146
// "branch_chosen": "existing_patient"
146147
// },
147148
// "function_output": {
148149
// "discount_percentage": 15
149150
// }
151+
}
150152
}
151153
```
152154

153155
This payload contains:
154156

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.
156159
// - **Split outcomes**: Documented in the `split_decision` object.
157160
// - **Function results**: Stored in the `function_output` object for use in later steps.
158161

0 commit comments

Comments
 (0)