Skip to content

Commit 1997777

Browse files
authored
Merge pull request #7180 from segmentio/event-triggered-journeys
Event-Triggered Journeys Private Beta
2 parents 1d6ef2a + 75acbe8 commit 1997777

File tree

1 file changed

+113
-0
lines changed

1 file changed

+113
-0
lines changed
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
---
2+
title: Event-Triggered Journeys
3+
plan: engage-foundations
4+
hidden: true
5+
---
6+
7+
With Event-Triggered Journeys, you can build real-time, event-based marketing workflows to automate and personalize customer journeys.
8+
9+
Unlike traditional audience-based journeys that rely on pre-defined user segments, event-triggered journeys start automatically when users perform specific actions on your website or app.
10+
11+
On this page, you'll learn how to create an event-triggered journey, configure entry conditions, and work with published event-triggered journeys.
12+
13+
> info "Private Beta"
14+
> Event-Triggered Journeys is in private beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
15+
16+
## Overview
17+
18+
Event-triggered journeys help you create a responsive approach for time-sensitive use cases, like cart abandonment campaigns and transactional messages.
19+
20+
Where [audience-based journeys](/docs/engage/journeys/build-journey/) activate based on aggregated conditions, event-triggered journeys respond instantly to individual events, delivering personalized experiences based on the full context of each event.
21+
22+
Opt for an event-triggered journey in situations like these:
23+
24+
- When campaigns require real-time action in response to user behavior.
25+
- For transactional messages (like receipts and confirmations) that require specific event-based triggers.
26+
- In abandonment campaigns where a follow-up is needed if a corresponding completion event doesn’t occur.
27+
28+
## Build an event-triggered journey
29+
30+
> info "Before you begin"
31+
> Before you start building an event-triggered journey, make sure that you've enabled all [destinations](/docs/connections/destinations/) you plan to send data to and that the events you want to use as triggers are already available in your Segment workspace.
32+
33+
To set up an event-triggered journey:
34+
35+
1. In your Segment workspace, navigate to **Engage > Journeys**, then click **+ Create journey**.
36+
2. On the **Create journey** page, select **User performs an event**, then click **Next**.
37+
3. Give your new journey a name and, optionally, a description.
38+
4. Select entry event:
39+
- Choose the event that will trigger user entry into the journey.
40+
- (*Optional*) Use an audience filter to restrict entry to users who are already part of a specific audience.
41+
- (*Optional*) Apply filters based on event property values to refine entry conditions. For example, enter only if `{property} = value A, value B, or value C`.
42+
5. Configure entry rules:
43+
- **Re-enter every time event occurs** (*default*): Users enter the journey each time they trigger the specified event.
44+
- **Enter one time**: Users enter the journey once only, regardless of repeated event triggers.
45+
6. **If you chose Re-enter every time event occurs in Step 5**, select a [unique identifier](#unique-identifiers).
46+
7. Configure event delivery to destinations by selecting a destination or setting up a custom destination function.
47+
8. Preview the contextual payload that Segment will send to your destination(s).
48+
9. After you've finished setting up your journey, click **Publish**, then click **Publish** again in the popup.
49+
50+
### Journey setup configuration options
51+
52+
Event-Triggered Journeys includes advanced options to help you tailor journey behavior and customize data delivery to downstream destinations.
53+
54+
#### Unique identifiers
55+
56+
Unique identifiers in event-triggered journeys help you manage multiple journey instances when a user triggers the same event more than once.
57+
58+
When you select **Re-enter every time event occurs** when you create an event-triggered journey, you can choose an event property as a unique identifier. Selecting this option does two things:
59+
60+
- It creates a separate journey instance for each unique identifier value, allowing multiple instances to run in parallel for the same user.
61+
- It ensures that any follow-up events link back to the right journey instance, preserving context for tracking and personalization.
62+
63+
For example, in an abandonment journey, suppose a user starts two applications (like `application_started`), each with a different `application_id`. By setting `application_id` as the unique identifier, Segment can match follow-up events (like `application_completed`) to the correct application journey. As a result, each journey instance only receives the completion event for its specific application.
64+
65+
#### Send data to downstream destinations
66+
67+
Event-Triggered Journeys lets you send journey data to supported destinations, facilitating real-time, personalized messaging. Event-Triggered Journeys supports the [Braze (Actions)](/docs/connections/destinations/catalog/actions-braze-cloud/), [Customer.io (Actions)](/docs/connections/destinations/catalog/actions-customerio/), and [Iterable (Actions)](/docs/connections/destinations/catalog/actions-iterable/) destinations.
68+
69+
For other destinations, you can use [Destination Functions](/docs/connections/functions/destination-functions/) to run additional logic, like enriching with [Profile API traits](/docs/unify/profile-api/) or filtering the payload.
70+
71+
## Best practices
72+
73+
Follow the best practices in this table to optimize your event-triggered journeys:
74+
75+
| Recommendation | Details |
76+
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
77+
| Use specific event filters | When you configure entry events, apply precise filters based on event property values to refine which users enter the journey. This helps target specific user actions and improves the journey's relevance. |
78+
| Use unique identifiers | If a journey allows users to enter multiple times, set a unique identifier to track each instance accurately. Using an identifier like `application_id` ensures that follow-up events stay associated with the right journey instance. |
79+
| Preview payloads before publishing | Review the journey payload to verify that it includes all necessary context from the triggering event. This helps confirm that the data reaching destinations matches your campaign needs. |
80+
| Test journey after publishing | Consider setting up a live test right after publishing to confirm that the journey behaves as expected and that data flows correctly to destinations. |
81+
82+
83+
## Working with Event-Triggered Journeys
84+
85+
Segment built Event-Triggered Journeys to respond instantly to events, offering real-time capabilities with a few considerations in mind.
86+
87+
- **Entry event requirements**: The entry event you use must already exist in your Segment workspace for it to appear as a selection in journey setup. Make sure that you've already created the event before setting up your journey.
88+
- **Event property filters**: You can filter event properties using the `equals` or `equals any of` operators. When you apply multiple conditions, filters operate with `AND` logic, meaning all conditions must be true for the event to trigger entry into the journey.
89+
- **Audience filtering**: You can only use active, pre-existing audience records as filters. For more complex filtering, like specific profile traits or multiple audiences, first [create the audience](/docs/engage/audiences/#building-an-audience) in **Engage > Audiences**, then apply it as a filter once it’s live.
90+
- **Destination options**: While Event-Triggered Journeys support several [actions-based destinations](/docs/connections/destinations/actions/) (like Braze, Customer.io, and Iterable) you can only add one destination for each journey instance. For other destinations, use a Destination Function to apply custom logic to the payload.
91+
- **Event payload structure**: Each payload sent to a destination includes a unique key to identify the specific send step within the journey, rather than the journey instance itself. You can also set a custom event name to make it easier to identify the specific event instance you want to track in your destination.
92+
- **Editing and versioning**: After you publish an event-triggered journey, you won't be able to edit it. To modify a journey, create a new journey.
93+
- **Real-time delivery**: Event-Triggered Journeys aim for an expected delivery time of under 5 minutes from the moment an event is performed to when the payload reaches the destination, assuming there is no delay step in the journey. However, external factors outside of Segment's control may occasionally introduce latency.
94+
95+
## Use Cases
96+
97+
Event-Triggered Journeys can power a variety of real-time, personalized experiences. This section details some common scenarios to help you see how they might work in practice.
98+
99+
### Real-time event forwarding
100+
101+
Suppose you want to instantly send a personalized message whenever a user completes a specific action on your site, like filling out a form or subscribing to a service. With Event-Triggered Journeys, you can configure the journey to trigger each time this entry event occurs. Segment will forward the event data, including all relevant details, to your connected destination in real-time.
102+
103+
### Real-time abandonment Campaigns
104+
105+
Imagine you’re running an e-commerce site and want to follow up with users who start the checkout process but don’t complete it within a certain timeframe. You can create an event-triggered Journey to watch for abandonment cases like these.
106+
107+
Start by setting the `checkout_started` event as the trigger and specify a unique identifier like `session_id` to track each user’s journey instance. Then, configure the journey to check for the `purchase_completed` event within a defined window (for example, 1 hour). If the user doesn’t complete the purchase, the journey can automatically send a nudge to encourage them to finish their order.
108+
109+
### Personalized follow-up Messages
110+
111+
Say you want to follow up with users after they engage with specific content, like downloading an e-book or watching a demo video. Event-Triggered Journeys can help you send timely, personalized messages based on these interactions.
112+
113+
To do this, set the entry event to `content_downloaded` or `video_watched` and configure the journey to send a follow-up email. You could even personalize the email with details from the triggering event, like the content title or timestamp, by configuring your destination payload to enrich the message with event-specific context.

0 commit comments

Comments
 (0)