Creating the journey
Time to build. You've experienced the journey as a customer—now construct the orchestration in AEP that makes that experience real for your users.
Story so far
The customer has returned to the WKND website and completed their trip booking. You now build the journey that confirms the booking and promotes the loyalty program to non-members, and follows up later through the customer’s preferred channel if they have not signed up yet.
Journey - overview
To open Journey Optimizer, click the
icon on the top-right corner, the select Journey Optimizer.
To get an overview of all journeys:
- In the menu, under Journey Management, click on Journeys and open the Browse tab.

Creating a journey
- Click on Create Journey. You'll be taken to the Journey canvas with the journey properties opened.
- Set the name to [{{LASTNAME}}] Decide - Booking Confirmation.
- For the other properties keep the default values.
- Click Save.

You're now in the journey canvas. This is where you'll be creating your journey's logic using activities. There's three types of activities:
Events are the triggers that can start or continue your journey.
Orchestration is the logic of your journey. It looks at conditions, audiences, but can also be used to make your workflow wait or end.
Actions are the results of your journey. This can be messages, profiles updates or API calls.
Event trigger
Our journey starts when a customer makes a booking. This is what we call an Event-triggered journey.
- Between Start and the End, click on the icon to add an activity.
- In the dropdown go to Custom events and select exampleBooking.
- In the right panel, set the Label to Booking completed.
- Click Save to close the menu.

Email #1 - Booking confirmation
In the next steps you will be building the email for your journey.
- Click on the icon to the right of Booking completed to add another activity.
- Click Action in the dropdown. A window will open
- In the top drowdown switch the Action type to Transactional and select Email and click Add.
Transactional emails are emails that should always be sent, regardless of the customer's opt-ins and preferences.
- In the right panel, set the label to Booking confirmation.
- Click Configure action.
Now you are in the wizard dedicated to the configuration the email action.
- Set the Email channel configuration to transactionalEmailMessages. Leave the other settings as they are.
- Click on Edit content to start designing your email.
- Click on
to create a subject line. Set it to FIRSTNAME, your booking is confirmed!
- Remove the text FIRSTNAME and search for first name in the profile attributes.
- Navigate to person > Full name and click on the icon to add it to your subject line. It should now be {{profile.person.name.firstName}}, your booking is confirmed!
- Click Save.
You just personalised the email subjectline by adding the customer's First name.
Create an email content from scratch can take time; for this lab you will start with a template and then add some additional elements.
- Click on Edit email body.
- Under Select design template open the Saved templates tab.
- Select the template [Example] Booking confirmation (template).
Want to skip building the email? Select the template [Example] Booking confirmation (finished) instead. You can read the following exercises to understand how the email works.
- Finalize by clicking on Use this template. The email designer will now open.

In the left menu you have Modules & Components
Modules Modules are predefined, reusable email layout blocks that you can drag and drop directly into your email canvas. Each module comes pre-configured with a curated set of editable properties.
Components These are drag & dropable components that allow you define the structure and content of your email.
- Structure components are the building blocks of your email, they will determine the layout of your email.
- Content components are the different forms of content that you can place inside your structure components, like text, buttons and images.
As first step you have to personalise the body of the email with contextual data.
Header
Start by changing the subject header
- Click on the header block, it will be outlined in blue.
- In the right menu you'll find an input for Subject header.
- Set the value to Booking confirmation.

- The header image is already predefined and personalised. We don't have to change anything here.
Text content
Let's start by personalising the salutation.
- Click and select FIRSTNAME
- Click on the
icon to open the personalisation window.
- Navigate to Person > Full name and click the icon next to First name.
- Your expression should now be {{profile.person.name.firstName}}.
- Click Save.
Now let's create the main content.
- Replace the text "lorem ipsum" by something more relevant like:

Trip name
Whenever a customer books anything they are asked to provide a trip name. This trip name is passed with the booking event.
- Drag and drop a Text content component in the Drop content here area.
- Click on the Text component you just added. A toolbar appears, click P1 and change it to H2.
- Remove the Please type your text here. and click on the
icon to open the personalisation window.
- In the left menu click Contextual Attributes. This allows you to add personalisation to your email based on the context of this journey.
- Navigate to Journey Orchestration > Events. Here you can see all the event-triggers that you are using in this journey.
- Navigate to exampleBooking > _demopotemea > Trip and click the icon next to Label.
- Your expression should now be {{context.journey.events.1185011382._demopotemea.trip.label}}.
- Click Save.

You just added the Trip Label to your email. This is personalisation that did not come from the customer's profile, but from the event that triggered this journey.
Booking details
Right below the trip name there's a block called Outbound flight. We pre-filled this for you to save you some time. Let's inspect it a little closer.
- Click on the Outbound flight block. You'll notice it has an orange border. This is an indicator that the block is using Conditional Content.
- In the far left bar, click on the
icon to open the Conditional Content panel.

- You can click the different variants to see the different content.
Conditional content allows you to adapt the content of your messages based on rules that can be made up of profile attributes, contextual events or audiences.
Loyalty block
There is an empty block below the booking details. Let's add our loyalty block in there.
- Click on
to see the list of content fragments available.
- Drag and drop the item [Example] 50/50 - Text/image in the Drop content here area.
A Content Fragment is a reusable component that can be referenced in one or more emails across Journey Optimizer campaigns and journeys. This functionality allows you to prebuild multiple custom content blocks that can be used by marketing users to quickly assemble email contents in an improved design process.
Content Fragments can come with Editable Fields. These allow you to pass content to the fragment without having to break inheritance on the fragment.
- Click on the fragment in the body of the email; a blue border will appear.
- Set the Header to WKND Club.
- Set the Body to:
- Replace the Button label with Register.
- Replace the Button URL with https://dsn.adobe.com/web/{{ENV:WEBSITE_PROJECT_ID}}/wknd-club
- Click Select an asset, a window will open. Search for travel-comfortable, click on the asset and click Select.
Now we need to make the loyalty block Conditional Content as it is possible for a customer to already be a WKND Club loyalty member.
- Select the 1:1 column that the Loyalty block is in by clicking on the light gray space to the left or right side of the Loyalty block. If you have trouble doing this due to a small screen size, zoom out using ctrl/cmd -

- Click on the
icon to enable the 1:1 column for Conditional Content.
- The left menu will change to the Conditional Content panel.
- In the panel, click the icon for Variant - 1 and click Rename. Set the name of this variant to WKND Club members.
- Click on
to open the list of available conditions.
- You can either select the WKND Club Members condition and click Select or you can create a new condition by clicking Create new.
- If you clicked create new you are the Create condition editor.
- Navigate to the Audiences tab and select Legacy experience.
- Click Experience Platform and drag the audience WKND Fly - WKND Fly Club Program Members to the canvas.

- Click Select in the top right.
Next we need to update the content for the WKND Club members variant.
- Click the variant WKND Club members so it's highlighted in blue.
- In the email, click the WKND Club block and update the following values
- Header: Make the most of your trip
- Body:
- Button Label: Explore the area
- Button URL: https://dsn.adobe.com/web/{{ENV:WEBSITE_PROJECT_ID}}
- For the Image, click Select an asset. Search for travel-guide, select the travel-guide.jpeg asset and click Select.
The WKND Club members variant is now done. Let's check out our original version.
- Click Default variant in the Conditional Content panel. Your email content now shows the content for customers that are not WKND Club members.
The email is finished. Let's make sure to save our progress.
- Click Save.

Simulate Email Content using AI
If you want to see how the email renders, you can use Simulate Content.
- In the top bar, click on Simulate Content.
- This is our content simulation interface. In here you can manage multiple variants so you can see how your email renders with different profiles.
- Let's use AI to generate a few variants. Click Generate. In the pop-up click Clear and generate. The AI will scan your email and look for all data elements and will then create test variants with different data that is used in your email.
- In the bottom bar you can see all your variants and manage a few settings.
- Change the view mode from Side by side to Wrap.
- Click on the icon to see the data generated for all variants. You can make modifications if you see fit.
- Click on the icon to see the rendering for all variants.

- Click the icon to return to the Email Designer.
- Navigate out of the email designer by clicking the back arrow icon in the top left. If prompted, click on Save & Close.
- Navigate out of the message overview by clicking the back icon in the top left.
- You'll return to the journey canvas. Click Save in the Actions: Email panel.

Optimize - Is a WKND Club member?
Next we want to follow-up to people that are not WKND Club members. First we'll filter out customer's that are already WKND Club members.
- Click on the icon to the right of Booking confirmation to add another activity.
- Click Optimize in the dropdown.
- In the right panel:
- Set the label to Is a WKND Club member?.
- Check Show path for other cases than the one(s) above, a new input appears. Set this to No.
- Click on Path1 and edit it to Yes.
- Click on the icon next to Expression. A window will open.
- Open Audiences and drag the audience WKND Fly - WKND Fly Club Program Members to the canvas.
- It should say The WKND Fly - WKND Fly Club Program Members audience membership is true.
- Click Ok to the right of the expression.
- Click Ok in the bottom right to save the expression.

You used an audience to create two paths in your journey. One for customers that are not yet WKND Club members and one for customers who are.
Event trigger
Your goal is to push the customer to subscribe to the WKND Club. Now that we have split the journey into two paths we can start monitoring for a WKND Club signup event.
- Click on the icon to the right of No to add another activity.
- In the dropdown go to Custom events and select exampleLoyaltyClubJoined.
- In the right panel, set the Label to Signed up for WKND Club.
- Click on the Define the event timeout checkbox to activate it, then specify the wait duration to be 7 days.
- If not yet checked, click on the Set a timeout path checkbox so the journey branches into 2 paths.
- Click Save.
Defining a timeout path allows you to specify the actions that should be taken if the expected event does not occur. This ensures that your process can continue smoothly and handle exceptions in a controlled and predictable manner.

Optimize - Is a WKND Club member?
Next we want to follow-up to people that are still not WKND Club members after the 7 day timeout. Let's make sure that the customer receives the follow-up message on their preferred channel.
- Click on the icon to the right of 7 d timeout to add another activity.
- Click Optimize in the dropdown.
- In the right panel:
- Set the label to Preferred Channel.
- Check Show path for other cases than the one(s) above.
- Click on Path1 and edit it to Push.
- Click on the icon next to Expression. A window will open.
- Open ExperiencePlatform and navigate to ProfileFieldGroup > profile > Consents and Preferences (consents) and drag the field Preferred Channel (preferred) to the canvas.
- Select Push and click Ok to the right of the expression.
- Click Ok in the bottom right to save the expression.

Push - Registration Reminder
Now we need to author the push-notification to promote WKND Club. This pushes a short message to the profile's smartphone that they can easily interact with. When they click on the push they'll be taken to the mobile app directly.
- Click on the icon to the right of Push to add another activity.
- Click Action in the dropdown. A window will open
- The Action type for this action is Marketing, select Push and click Add.
- In the right panel, set the label to Push - WKND Club.
- Click Configure action.
- Set Push notification channel configuration to pushMessages.
- Click on Edit content to start designing your push.
We'll be importing the push content from a Content template.
- Click Content template in the top right and select Apply content template.
- Select the template [Example] WKND Club and click Confirm.
- The push content now updates

- Navigate back to the journey by clicking the back icon in the top left.
- Click Save to close the detail panel.

Email - Registration Reminder
Next we need to create an email for customers who have not chosen push notifications as their preferred communication channel.
- Click on the icon to the right of Others to add another activity.
- Click Action in the dropdown. A window will open
- The Action type for this action is Marketing, select Email and click Add.
- In the right panel, set the label to Email - WKND Club.
- Click Configure action.
Now you are in the wizard dedicated to the configuration the email action.
- Set the Email channel configuration to marketingEmailMessages. Leave the other settings as they are.
- Click on Edit content to start designing your email.
- Set the Subject line to See the world with WKND Club
We'll be importing the email content from a Content template.
- Click on Edit email body.
- Under Select design template open the Saved templates tab.
- Select the template [Example] Join WKND Club.
- Finalize by clicking on Use this template. The email designer will now open.

- Click Save in the top right.
- Navigate out of the email designer by clicking the back arrow icon in the top left. If prompted, click on Save & Close.
- Navigate out of the message overview by clicking the back icon in the top left.
- You'll return to the journey canvas. Click Save in the Actions: Email panel.

Recap
Well done! With the Decide section you have explored how Adobe Journey Optimizer orchestrates post-purchase communications:
- Journeys triggered by real-time events, like a purchase confirmation.
- Personalised emails built with contextual data, profile attributes and conditional content fragments.
- Preferred channel logic to reach each customer on email or push, based on their profile.
The customer completed the booking of a flight and received an order confirmation, including a WKND Club message, as they are not a member. A week later the customer still hasn't signed up for WKND Club, a follow-up message on their preferred channel nudges them towards signing up.
Now that the customer has made a booking, it's time to step back and analyze what happened: the next section, Research, shifts the focus from the customer experience to the data behind it.