---
title: Prepare message
slug: va-cx/prepare-message
description: >-
docTags: 
createdAt: 2023-10-26T14:49:31.145Z
---

We now need to set up the content for each of those messages.

# Configure the Email

For this exercise we'll start with a pre-defined content template.   In your journey, select the email activity and click to **Configure action&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/VgXOn3o5P-oRxMlQBgxTI_image.png)

Set the **Email Configuration** to email-marketing, if you want you can also enable **send time optimisation&#x20;**&#x74;o let AI decide the best time of day to deliver the message for each customer.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/NAt-Dv4SLf7_bE_2Oqji-_image.png)

Before we start editing the content, let's enable experimentation.    Scroll down to **Optimization&#x20;**&#x61;nd click to **Create Experiment.&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/mBDiaTgDfV1aEPFU34yOW_image.png)

You can control what success metric you want to use, by default it will look for clicks on the email but you can configure it to look for downstream conversion events as well. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/XIL8bh-7f371scbOzd8dk_image.png)

Scroll down to **Audience Distribution&#x20;**&#x61;nd click to +Add treatment.   You should now have 2 treatments that we'll use for the experiment, Treatment A and Treatment B.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/1qkvqZA39pKtj7LCbJ4i3_image.png)

Lastly you can choose whether or not you want the experiment to auto scale - this will send the winning treatment to the audience after a specific time or as soon as a statistically significant winner has been found.  Click to **Save&#x20;**&#x74;he experiment settings.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/c8nyR1xfkzJEobcKaRihq_image.png)

# Apply templates

Click to **Edit Content.&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/zS-bvToPcLM0R_eVFaUCM_image.png)

You can access each of the treatments on the left hand side.   Rather than starting from scratch building our email we'll start from a template.   Click on **Content Template&#x20;**&#x61;nd select **Apply content template.&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/H_m_nGzcY8pB6mMaccfiu_image.png)

Select the **Frescopa Basic Template&#x20;**&#x61;nd click **Confirm.&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/A_zzKpvmH9wIf61du8Ds__image.png)

Repeat the same for **Treatment B.**

# Edit Content

We'll leave the content template as is for Treatment A but we'll update Treatment B for our experiment.&#x20;

Select **Treatment B&#x20;**&#x74;hen click to **Edit** the email body. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/2cPVmNUfAWOk7BSwXy1zn_image.png)

## Generate Content

Now we'll use AI Assistant to help us generate content.  AI Assistant can be used to generate individual images or text components but in this case we're going to generate new variations of the full email. &#x20;

Select the **body** block by clicking on the grey area outside the email content then click to open the **AI Assistant&#x20;**&#x6F;n the right side. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/dmKhPbMAwDoByED0TBvb1_image.png)

Add a text prompt for the message you want to convey - in this case, encouraging a My Barista subscription, for example:

:::BlockQuote
*Generate a new version of this email promoting myBarista subscription benefits including early access to limited release blends and exclusive community events.  Update the copy, heading and imagery in all blocks but keep the email composition the same.*
:::

Select to generate the **Subject line&#x20;**&#x61;s well. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/cMhTEcmrd01drAdHj_ywz_image.png)

Update the text and image generation settings to what you like:&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/P350SGJC0WJgZW_nyRY2B_image.png)

Click on **Generate.**   After a short while, two new variations are generated.  Each variation has been automatically scored against the brand guidelines.   &#x20;

:::hint{type="info"}
What you see generated and the scores applied will be different from the screenshots below.  You can follow the process as it applies to your generated content. &#x20;
:::

Click on the **Preview&#x20;**&#x62;utton to take a closer look.  &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/LjKPT0pg7ULGfp-NTvtZF_image.png)

You can switch between each variation on the right, and use the **brand alignment** tab on the left to review the reasons if you have low score&#x73;**.&#x20;**

You can also ask it to refine specific pieces of the content and provide positive and negative feedback through the panel at the bottom.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/PiX_e_A9acLDGRC_OZCRe_image.png)

Pick your favourite and click **Select.  &#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/Hbdgv60NShlsp34xt_EI5_image.png)

Your email is now updated with the new content!  Click to **Save.&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/jPcp40f_Xu1ltx8uzb57i_image.png)

Because the generated content includes imagery we need to tell AJO where in the asset repository to put the new images.   Click **Next&#x20;**&#x74;o choose the folder.  &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/Ixsx27h6n_t1dxu7T6RQ6_image.png)

Select the **Frescopa&#x20;**&#x66;older and click to **Import.&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/dPv-rXBn5fbpFmf5CW-zt_image.png)

## Add Dynamic Content&#x20;

Return to editing your Let's assume we learnt from Customer Journey Analytics that men prefer black coffee, while female prefer latte's. We want to replace this banner image only for men.

Click on the hero image, and click to **enable conditional content**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/FzYmUScI-HOfRlzj8CoD-_image.png)

That will create 2 variant of this block. Let's keep the default content with latte coffee, and change the variant for male. You can rename your variant by clicking on the 3 dots then rename, then click on **select condition**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/DfbpxVgOMKzDgQIMiWRP9_image.png)

You should see one for men, you can just select it. If there is no pre-existing condition with the criteria you want, you can click on **create new** (optional)&#x20;



![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/81gG-EFMbbPwirkVcUNBr_image.png)

You will arrive in the same UI than for audiences. Search for gender, (profile.person.gender) drag and drop it, select male, then click on select. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/5ELeXNw94GABGf5FG8162_image.png)

Now we can personalize image for men. Click to **Select an asset. &#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/ujT_FcioVxRb5p9sm1ee7_image.png)

Make sure you're in the right repository, then search for coffee - this is leveraging the smart asset tags to find relevant images.  An essential time saver when working with a large repository.  &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/FJMTQ8RTMf71tiuhJTzfi_image.png)

Choose an image and click select to add it to the email. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/Dmn8ZUB_e_JVT1wZ5jNNI_image.png)

Now that our dynamic content is defined, we can simulate how the email will look for each type of customers.    Click to Simulate content variations.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/BhT4H-KT_b3h3DZ8Jj_y9_image.png)

The simulator is able to scan the email content for personalisation fields.  Click to create some sample input.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/F0Wjq0siGOteuG-Z5fAAF_image.png)

It has automatically identified that gender was used in the content.  Configure the first variant to be for gender = male.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/udHjD1-fE4_MOBtrzUqHC_image.png)

Configure a second variant for gender = female.  You can now simulate the email content across both variants.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/8lArH_5HqrwFAu2m5LfIx_image.png)

## Content Fragments from AEM&#x20;

Images are the only type of content we can source from Adobe Experience Manager.   With **Content Fragment&#x20;**&#x69;ntegration you can ensure that consistent messaging is delivered between your website and emails.&#x20;

Select the main heading and click on the component toolbar to **Add Personalisation.**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/niQQ1ll-z1o43bRnD_JQE_image.png)

The personalisation editor allows you to insert personalisation fields from multiple sources, you could insert the customer first name via the **profile attributes&#x20;**&#x6F;ption or details from the event that triggered the journey using the **Contextual attributes&#x20;**&#x6F;ption.   For this exercise though we're going to bring content in from Adobe Experience Manager.   Click on the **AEM content fragment&#x20;**&#x6F;ption on the left.  Then click to **Open AEM CF selector. &#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/KcMKF6mTTlfPNBd7qSlw3_image.png)

AEM Content Fragments are enabled for use in AJO via sandbox specific tags that are applied from within AEM.   Make sure you have the right repository selected **Demo APAC Program 2 dev author. &#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/J72T1PWX3jZQLsKFBZKwc_image.png)

Check the **Fall in love with my barista&#x20;**&#x66;ragment and hit the **Select&#x20;**&#x62;utton to add it to your email content. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/cmzwNganWJE_gjIttsFRf_image.png)

You can see the fragment reference has been added to the personlisation editor.   Delete the old heading text *Ready for Savings,&#x20;*&#x74;hen click the arrow to access the fragment components.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/PLcvKMF3S4EPPpi7GiRxg_image.png)

Click the plus icon to add the fragment **headline&#x20;**&#x66;ield, then click **Save.&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/b4MkzWye9YUy53_zp0Cdm_image.png)

Note that this is a reference to the content fragment only, the content is not copied until the message is ready for sending.   When using this approach AEM is the source of truth for content and should the fragment be updated (and published) on AEM side, the email content will automatically update as well.  &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/UuYt6ThxAvCb2A0gods0C_image.png)

You can use the simulation to view the headline retrieved from AEM.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/MsUFyKVDHbRaGYI3uXM3s_image.png)

:::hint{type="success"}
Your email content is now complete, return to the journey by clicking the arrows in the top left. &#x20;
:::

# Add Mobile Content

To complete the journey, we need to add content to the SMS and Push Notification activities.   &#x20;

Click on the **Push&#x20;**&#x61;ctivity and select **Push&#x20;**&#x69;n the configuration drop down, then click **Edit content. &#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/0BtFoKVcZisC1Dr89rySp_image.png)

Once again you can either manually add content or use AI Assistant to generate it for you.  Open the AI Assistant panel and reuse the prompt and text settings from your email to keep messaging consistent. &#x20;

The generated content is again scored against the Brand Guidelines.   Select the variation you prefer and click to **Apply&#x20;**&#x69;t to your message.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/pE08mwSWdSaTBUMNiDuog_image.png)

Click the arrow in the top left to return to your journey. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/t0TPZcoA5NyLWuJpqlrrV_image.png)

:::hint{type="info"}
Repeat the same process for the SMS Activity.&#x20;
:::

# Summary

**Adobe Journey Optimizer** enables brands to deliver contextual, personalised experiences at scale by combining real-time triggers, intelligent decisioning, and dynamic content generation—all within a unified orchestration canvas.

Adobe Journey Optimizer's integration with **Adobe Experience Manager (AEM)** and **Adobe Firefly** has enabled:&#x20;

- **Faster creative cycles**: No need to manually design every variant.
- **Brand integrity**: All content aligns with approved guidelines.
- **Higher engagement**: Personalised, relevant content drives better results.
- **Cross-channel consistency**: AEM assets and content fragments ensure that messaging in email, push, and web banners is aligned.



:::hint{type="success"}
Congratulations you've completed the exercise on Adobe Journey Optimizer... ***but before you go, don't forget to check the content template you uploaded earlier.  &#x20;***
:::



