2.3 Create a login journey
In this exercise, you'll configure the journey in Adobe Journey Optimizer that needs to be triggered when someone logs in on the demo website.
2.3.1 Create your journey
In the previous exercise, you created a new Event. You named it like this yourLastNameLoginEvent and replaced yourLastName with your last name. You should be able to see the Event you created under Configurations in Manage Events section:

To start creating your journey, click Journeys in the left menu. Next, click Create Journey to create a new journey.

You'll then see an empty journey screen. You can name your journey in the right hand panel using the naming configuration yourLastName - Login Journey. Click OK at top right to save your changes.

You will now need to use your event as the start of this Journey. You can do this by going to the left side of your screen and searching for your event in the list of events. The naming convention of the event was yourLastNameLoginEvent.
Select your event, drag and drop it on the Journey canvas. Your Journey now looks like this:

Click Ok to save your changes.
Now let's add an Email action. Go to the left side of your screen, clear the search and open the Actions palette, select the Email action, then drag and drop it on the second node in your journey. You now see this.

Set the Category to Marketing and select an email surface that enables you to send email. In this case, the email surface to select is ma1-hol9-0923-mktg. Ensure that the checkboxes for Clicks on email and Email opens are both enabled.

The next step is to create your message.
2.3.2 Create your email
To create your email message, click Edit content.

You now see this.

While you can simply click the Subject line text field to define a static subject line, click the Add Personalization icon person to personalise the subject line.

In the text area start writing Hi

The subject line is not done yet. Next you need to bring in the personalisation token for the field First name which is stored under profile.person.name.firstName. In the Profile attributes, scroll down to find the Person element and click on the arrow to go a level deeper.

Find the Full name element and click on the arrow to go a level deeper.

Finally, find the First name field and click on the + sign next to it. You'll then see the personalisation token appear in the text field.

Next, add the text , Thank you for logging in! Click Save.

You'll then be back here. Click Edit email body to create the email's content.

In the next screen you will be prompted with 4 different methods to provide the email's content:
- Design from scratch: Start with a blank canvas and use the WYSIWYG editor to drag and drop structure and content components to visually build up the email's content.
- Code your own: Create your own email template by coding it using HTML
- Import HTML: Import an existing HTML template, which you'll be able to edit.
- Select design template (below the rest): with tabs for Sample Templates & Saved Templates
You can click the Saved Templates tab under Select design template, select the template Bootcamp Email Template.

Then click Use this template

You’ll see this Bootcamp email template:

At any point in time, you can reset your email template by clicking the ... More button and selecting Reset email to clear the template and restart the design from scratch or Change your design to restart by selecting the same or another template.

After selecting the Change your design option, you will need to confirm your choice by clicking the Change template button.

Let's personalise the email. Click next to the text Hi and then click the Add Personalization icon person in a frame.

Next, you need to bring the First name personalisation token which is stored under profile.person.name.firstName. In the menu, find the Person element, drill down to the Full Name element, and then click the + icon to add the First Name field onto to expression editor.

Click Save.
You'll now notice how the personalisation field has been added to your text.

To be able to later verify that the email received is indeed the one you set up, feel free to add your last name or initials in the copy of the email.
Click Save to save your message.

Go back to the message dashboard by clicking the arrow next to the subject line text in the top-left corner.

You've now completed creating your registration email. Click the arrow in the top left corner to go back to your journey.

Give your email a label Login and click Ok.

2.3.3 Publish your journey
You can now publish your journey by clicking Publish.

Click Publish again to confirm you want to publish your journey.

You'll then see a green confirmation bar saying that your journey is now Published.

Exercise complete checklist
Able to create a journey called yourLastName - Login Journey
Able to design the journey by draging and dropping the Event and Email activities in the journey canvas
Able to create and personalise your email template
Successfully published your journey
Congratulations! You have created your first journey.
You have now finished this exercise.