# 10.2 Configure a batch-based newsletter journey

Login to Adobe Journey Optimizer by going to [Adobe Experience Cloud](https://experience.adobe.com). Click **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. First, make sure you're using the correct sandbox. The sandbox to use is called `--aepSandboxId--`. To change from one sandbox to another, click on **PRODUCTION Prod (VA7)** and select the sandbox from the list. In this example, the sandbox is named **AEP Enablement FY22**. You'll then be in the **Home** view of your sandbox `--aepSandboxId--`.

![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.2.1 Create newsletter journey

You'll now create a batch-based journey. Unlike the event-based journey of the previous exercise which relies on incoming experience events or segment entries or exits to trigger a journey for 1 specific customer, batch-based journeys target a whole segment once with unique content like newsletters, one-off promotions, or generic information or periodically with similar content sent on a regular basis like for instance birthday campaigns and reminders.

In the menu, go to **Journeys** and click **Create Journey**.

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

On the right-hand side you will see a form where you need to specify the journey name and description. Enter the following values:

* **Name**: `--demoProfileLdap-- - Newsletter Journey`. For instance: **vangeluw - Newsletter Journey**.
* **Description**: Monthly Newsletter

Click **Ok**.

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

Under **Orchestration**, drag and drop **Read Segment** onto the canvas. This means that, once published, the journey will start by retrieving the whole segment audience, which then becomes the target audience of the journey and message. Click **Select a segment**.

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

In the **Choose a segment** popup, search for your ldap and select the segment you created in [Module 6 - Real-time CDP - Build a segment and take action](https://docs.adobesandbox.com/comprehensive-technical-tutorial-archive/module6) named `--demoProfileLdap-- - Interest in PROTEUS FITNESS JACKSHIRT`. for example: vangeluw - Interest in PROTEUS FITNESS JACKSHIRT. Click **Save**.

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

Click **Ok**.

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

In the left menu, find the **Actions** section and drag and drop an **Email** action onto the canvas.

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

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 **Email**. Ensure that the checkboxes for **Clicks on email** and **email opens** are both enabled.

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

The next step is to create your message. To do that, click **Edit content**.

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

You now see this. Click the **Subject line** text field.

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

Enter this text for the subject line: `Luma Newsletter - your monthly update has arrived.`. Click **Save**.

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

You'll then be back here. Click **Email Designer** to start creating the email content.

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

You'll then see this. Click **Import HTML**.

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

In the pop-up screen, you'll need to drag and drop the HTML file of the email. You can find the HTML template [here](https://github.com/AdobePartnerTechnicalServices/aep-quickstart-guide/blob/main/assets/html/ajo-newsletter.html.zip). Download the zip-file with the HTML template to your local machine and unzip in onto your desktop.

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

Drag and drop the file **ajo-newsletter.html** to upload it in Journey Optimizer. Click **Import**.

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

This email content is ready to go since it has all the expected personalization, imagery and text. Only the offer placeholder is left empty.

You might get an error message: **Error when trying to fetch assets**. This is linked to the image in the email.

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

If you get this error, select the image and click the **Edit image** button.

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

Click **Assets Essentials** to go back to your AEM Assets Essentials library.

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

You'll then see this popup. Navigate to the folder **enablement-assets** and select the image **luma-newsletterContent.png**. Click **Select**.

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

Your basic newsletter email is now ready. Click **Save**.

![Journey Optimizer](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-8d6a3572142de4c4e5378afbb9e2f82841844010%2Fready.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-d717a0558e4676a725d851b6a6ff2b5ce61f150e%2Fbatch9.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-32bd7afb549f8832e9cbf20cb3208a0802372df9%2Foc79aeee.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-226ced6a075d867531e4ce37d1e535a2b4efbe4d%2Foc79beee.png?alt=media)

Your newsletter journey is now ready to be published. Before you do so, notice the **Schedule** section where you can switch this journey from being a one-off to a recurring campaign. Click the **Schedule** button.

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

You'll then see this. Select **Once**.

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

Select a date and time within the next hour so you can test your journey. Click **Ok**.

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

Click **Publish**.

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

Click **Publish** again.

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

Your basic newsletter journey is now published. Your newsletter email message will be sent as you defined it in 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-5845c52889362b7efe1e55c1332684909e133518%2Fbatchj14eee.png?alt=media)

You have finished this exercise.
