# 10.3 Apply personalization in an email message

Login to Adobe Experience Cloud by going to [Adobe Experience Cloud](https://experience.adobe.com). Click **Adobe Journey Optimizer**.

![ACOP](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-8daf9419deef804f9e816efc694a6fe4c6bef3fa%2Facophome.png?alt=media)

You'll be redirected to the **Home** view in Journey Optimizer. Before you continue, you need to select a **sandbox**. The sandbox to select is named `--aepTenantId--`. You can do this by clicking the text **\[!UICONTROL Production Prod]** in the blue line on top of your screen.

![ACOP](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-df76386e3eebdceeccee0f3853f02cdec4b997f1%2Facoptriglp.png?alt=media)

## 10.3.1 Segment-based personalization

In this exercise you'll improve your newsletter email message with a personalized text based on segment membership.

Go to **Journeys**. Find the newsletter journey that you have created in the previous exercise. Search for `--demoProfileLdap-- - Newsletter`. Click your journey to open it.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b24a5e46b561d03e77bd219c3dff0671aaf46256%2Fsbp1.png?alt=media)

You'll then see this. Click **Duplicate**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-1edcc4cd2d3c94ec0175f38fb7a5717d0d9d801f%2Fsbp2.png?alt=media)

Click **Duplicate**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-cccd8ce5043e343f2d08be07c9793dc1697d5c02%2Fsbp3.png?alt=media)

Select your **Email** action and click **Edit content**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-31c0aad0e6a28a23ae04918c805eff0428bad270%2Fsbp3a.png?alt=media)

Click **Email Designer**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-641027a70f1e6f30de2e9a55e16778096365acb1%2Fsbp4.png?alt=media)

You'll then see this.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-e35709c3a181b69cd141004135b1266a79e7a216%2Fsbp5.png?alt=media)

Open **Content Components** and drag a **Text** component below the current newsletter content.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-c17b3df78fa8084a4bb7f0009c5fd63aaf18b865%2Fsbp6.png?alt=media)

Select the whole default text and delete it. Then click on the **Add personalization** button in the toolbar.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-26d2059d56f27e972259e3ad7ba8d9a9bcc5d676%2Fsbp7.png?alt=media)

You'll then see this:

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-6c88bf1c6455d48812d1568fffa45d22e2b2e2e5%2Fseg1.png?alt=media)

In the left menu, click **Segment Memberships**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-33c5d3d554f0b0af9206593be817138839e8b281%2Fseg2.png?alt=media)

{% hint style="info" %}
If you can't find your segment in this list, scroll down a bit to find instructions on how to retrieve the segment ID manually.
{% endhint %}

Select the segment `Luma - Women's Category Interest` and click the **+** icon, which should look like this:

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-c2616d881586a9c5ac8139010382345e02586428%2Fseg3.png?alt=media)

You should then leave the first line as it is, and replace line 2 and 3 by this code:

\`\` Psssst... a private sale in the women category will launch soon, we will keep you posted

Thanks for taking the time to read our newsletter. Here is a 10% promo code to use on the website: READER10 {%/if%}

\`\`

You'll then have this:

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-26baa22202cf609d69ea8ea7f890a896c622b211%2Fseg4.png?alt=media)

Click **Validate** to make sure the code is correct. Click **Save**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-cbb612397dc190203de29aa7ca4c3d19a2e0be2f%2Fsbp8.png?alt=media)

You can now save this message by clicking the **Save** button in the top-right corner. Then, click **Simulate Content**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-4fb5e998b1a81230a88deb219edfe520faf9dc7d%2Fsbp9.png?alt=media)

Select one of the profiles you created as part of this tutorial and click **Preview**. You'll then see the result of your configuration.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-cf36473259c038bf8e8b645ab73aab2bc50b6385%2Fsbp10.png?alt=media)

You'll then see this. Then, click **Close**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-dab3687617721465c2a890cf88706455bbe87da8%2Fsbp10fff.png?alt=media)

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

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-892f81330ea4de2bce3e16dfb1350b15a850a089%2Fsbp11.png?alt=media)

Click the arrow in the top left corner to go back to your journey.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b3bcd13aa94a8cb12ab01189a778d45ce35ae884%2Foc79afff.png?alt=media)

Click **Ok** to close your email action.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-3bd1d88344bc4da08f709f1fd73b02e6b6fe38ea%2Foc79bfff.png?alt=media)

Change your **Schedule** to **Once** and define a **Date/Time**. Click **Ok**.

{% hint style="info" %}
Message send date and time must be within more than one hour.
{% endhint %}

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-58741fee070623fe7076b99d6d5f0fd1a3d2163c%2Fsbp18.png?alt=media)

Click on the **Publish** button in the journey.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b2b42fb67cd13d037a2578958de8bd4c87a34dec%2Fsbp19.png?alt=media)

In the pop-up window, click **Publish** again.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-d8bfa0ffd311305addfe2e8cb9a63cdf82aac5e7%2Fsbp20.png?alt=media)

Your basic newsletter journey is now published. Your newsletter email message will be sent based on your schedule and your journey will stop as soon as the last email has been sent.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-c91ff3472514abf6599d7c0f9631355673d3c01d%2Fsbp20fff.png?alt=media)

You have finished this exercise.
