Skip to content

Commit d8059e1

Browse files
authored
Update send-data.md Journey payload details
1 parent 2343881 commit d8059e1

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

src/engage/journeys/send-data.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,16 @@ To use Trait Activation with Journeys:
4444
3. Select **Customized Setup**, then add identifier and trait mappings to customize the way you send data to your destination. For more, visit the [Trait Enrichment](/docs/engage/trait-activation/trait-enrichment/#customized-setup/) and [ID Sync](/docs/engage/trait-activation/id-sync/#customized-setup/) setup docs.
4545

4646

47-
## What do I send to destinations?
47+
## What events are sent to destinations?
4848

4949
The data type you send to a destination depends on whether the destination is an Event destination, or a List destination.
5050

51+
To view the events that are generated by an Engage Space's Journeys, navigate to Unify settings / Debugger / to view the list of Sources that are configured to generate events per [each destination instance](https://segment.com/docs/engage/warehouses/#why-are-there-multiple-schemas-prefixed-with-engage_-in-my-warehouse-when-i-only-have-one-space:~:text=Segment%20currently%20can,schemas%20than%20spaces.). Each source will only generate events to its connected destinations, and under the Source's Debugger tab will be the most recent events generated by that source per the connected destinations' audiences and computed traits.
52+
53+
The full json body of a journey event will have the journey's specific details found under the `context.personas` object. These fields can be useful when building out [Destination Filters](https://segment.com/docs/connections/destinations/destination-filters/), [Actions destination mappings](https://segment.com/docs/connections/destinations/actions/#set-up-a-destination-action), and [Functions](https://segment.com/docs/connections/functions/).
54+
55+
The integrations object in these payloads will appears as `{"All" : false,}` and only lists some destinations. This is due to the fact that each source has multiple destinations connected while each journey may only have a subset of destinations connected to it. See [Filtering with the Integrations Object](https://segment.com/docs/guides/filtering-data/#filtering-with-the-integrations-object) for more information. The integrations object routing specific events to its specified destinations is also why a destination's [Delivery Overview](https://segment.com/docs/connections/delivery-overview/) tab will show a large number of events under the [Filtered at destination](https://segment.com/docs/connections/delivery-overview/#:~:text=Filtered%20at%20destination%3A%20Events,will%20be%20filtered%20out.) box, as that destination will only receive the events intended to be sent to it by which journeys are connected to that specific destination.
56+
5157
### Event destination
5258

5359
The format in which the destination receives updates depends on the call type.
@@ -58,6 +64,15 @@ When the user enters the step:
5864

5965
```json
6066
{
67+
"context": {
68+
"personas": {
69+
"computation_class": "audience", // the type of computation
70+
"computation_id": "aud_###", // the audience's id found in the URL
71+
"computation_key": "j_o_###", // the configured journey key that appears on user profile
72+
"namespace": "spa_###", // the Engage Space's ID
73+
"space_id": "spa_###" // the Engage Space's ID
74+
}
75+
},
6176
"type": "track",
6277
"event": "Audience Entered",
6378
"properties": {
@@ -72,6 +87,15 @@ When the user enters the step:
7287

7388
```json
7489
{
90+
"context": {
91+
"personas": {
92+
"computation_class": "audience", // the type of computation
93+
"computation_id": "aud_###", // the audience's id found in the URL
94+
"computation_key": "j_o_###", // the configured journey key that appears on user profile
95+
"namespace": "spa_###", // the Engage Space's ID
96+
"space_id": "spa_###" // the Engage Space's ID
97+
}
98+
},
7599
"type": "identify",
76100
"traits": {
77101
"j_o_first_purchase__opened_email_dje83h": "true"

0 commit comments

Comments
 (0)