Skip to content

Commit 841e75e

Browse files
committed
update code tab [netlify-build]
1 parent 4eb161b commit 841e75e

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

src/engage/journeys/v2/event-triggered-journeys-steps.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,25 @@ Follow these steps to add attributes from the warehouse:
341341
4. Use the **Preview event** panel to confirm names and nesting. Attributes appear under `properties.journey_context.<EntityName>`, and the preview reflects what Segment sends.
342342
5. (Optional:) Map the enriched fields to your destination schema.
343343

344-
Here's an example of an enriched payload:
344+
Here's an example of a payload before and after enrichment:
345345

346+
{% codeexample %}
347+
{% codeexampletab Before enrichment %}
348+
```json
349+
{
350+
"properties": {
351+
"journey_context": {
352+
"Reservation Booked": {
353+
"reservation_id": 12345,
354+
"hotel_id": 67890
355+
}
356+
}
357+
}
358+
}
359+
```
360+
{% endcodeexampletab %}
361+
362+
{% codeexampletab After enrichment %}
346363
```json
347364
{
348365
"properties": {
@@ -363,11 +380,13 @@ Here's an example of an enriched payload:
363380
}
364381
}
365382
```
383+
{% endcodeexampletab %}
384+
385+
{% endcodeexample %}
366386

367387
> warning "Publish timing for enrichment"
368388
> When you publish a journey with enrichment enabled, Segment starts a job to prepare enrichment.The journey stays in a publishing state until enrichment is available. If the cache isn’t populated within 5 hours, the publish fails. Resolve Data Graph sync or join-ID issues, then publish again.
369389
370-
371390
### Managing activations
372391

373392
Activations control the configuration for sending data to destinations, including the destination type, selected action, and mapped attributes. Managing activations allow you to adjust how data flows to a destination without altering the overall journey logic.

0 commit comments

Comments
 (0)