This section presents a use case that combines a Read Segment, an event, reaction events and email/push messages.
In this use case, we want to send a first message (email and push) to all customers belonging to a specific segment.
Based on their reaction to the first message, we want to send specific messages.
After the first message, we wait one day for customers to open the push or email. If there is no reaction, we send them a follow-up email.
Then we wait for a purchase and send a push message to thank the customer.
For this use case to work, you need to configure the following:
In our journey, we want to leverage a specific segment of customers. All individuals belonging to the segment enter the journey and follow the different steps. In our example, we need a segment that targets all customers living in Atlanta, San Francisco, or Seattle and born after 1980.
For more information on segments, refer to this page.
From the CUSTOMER menu section, select Segments.
Click the Create segment button that is located at the top right of the segment list.
In the Segment properties pane, enter a name for the segment.
Drag and drop the desired fields from the left pane into the center workspace, and then configure them according to your needs. In this example, we use the City and Birth year attributes fields.
The segment is now created and ready to be used in your journey. Using a Read Segment activity, you can make all individuals belonging to the segment enter the journey.
You need to configure an event that is sent to your journey when a customer makes a purchase. When the journey receives the event, it triggers the “thank you” message.
For this, we use a rule-based event. For more information on events, refer to this page.
In the ADMINISTRATION menu section, select Configurations, then click Events. Click Create event to create a new event.
Enter the name of your event.
In the Event ID type field, select Rule Based.
Define the Schema and payload Fields. You can use several fields, for example, the product purchased, the purchase date and the purchase id.
In the Event ID condition field, define the condition used by the system to identify the events that trigger your journey. For example, you can add a
purchaseMessage field and define the following rule:
Define the Namespace and Profile Identifier.
The event is now configured and ready to be used in your journey. Using the corresponding event activity, you can trigger an action every time a customer makes a purchase.
For this use case, we need to create three messages:
Refer to this section to learn how to design and publish these messages.
Start the journey with a Read Segment activity. Select the segment created previously. All individuals belonging to the segment enter the journey.
Drop a Message activity and select the push and email first message. This message is sent to all individuals in the journey.
Place your cursor on the message activity and click on the “+” symbol to create a new path.
In the first path, add a Reaction event and select Push opened. The event is triggered when an individual belonging to the segment opens the push version of the first message.
In the second path, add a Reaction event and select Email opened. The event is triggered when the individual opens the email.
In one of the reaction activities, check the Define the event timeout box, define a duration (1 day in our example) and check Set a timeout path. This creates another path for individuals who do not open the push or email first message.
When configuring a timeout on multiple events (the two reactions in this case), you only need to configure the timeout on one these events.
In the timeout path, drop a Message activity and select the email follow-up message. This message is sent to the individuals who do not open the email or push first message in the next day.
Connect the three paths to the purchase event created previously. The event is triggered when an individual makes a purchase.
After the event, drop a Message activity and select the email “thank you” message.
Add an End activity.
Before testing your journey, verify that it is valid and that there is no error.
Click on the Test toggle, located in the top right corner, to activate the test mode. Define how you want test profiles to enter the test: a single profile, or up to 100 at once. Refer to this section to learn how to use the test mode.
When the journey is ready, publish it using the Publish button, located in the top right corner.