---
title: Batch Journey
slug: hol-bajaj-allianz/batch-journey
docTags: 
createdAt: 2025-03-30T03:59:57.716Z
---

We've seen so far how to create a journey triggered from a real time event.  In this exercise we'll build a different type of journey, that is scheduled daily to target customers who 2 weeks away from renewal.&#x20;

## Create the Journey

Click on **Journey Management -> Journeys&#x20;**&#x69;n the left hand navigation.   Then click to **Create** **Journey**.

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

Give your journey a **name.  &#x20;**&#x53;omething unique like *\[your last name] - renewal journey. &#x20;*

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/JSx-D69s-_J8sdJlZEwsL_image.png)

We're going to use the pre-defined Renewal audience as the starting point for this journey.  Customers will enter this audience when they have one or more policies which are due for renewal in 2 weeks.   &#x20;

From the orchestration panel:

1. Drag the Read Audience activity into the canvas.
2. Click to select the audience

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

In the audience selector, select your renewal audience from the last exercise.   Click **Save**.

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

In the Read Audience activity properties you can configure the scheduling for the journey.  You can configure this journey to execute daily or weekly as desired.   By setting it to **incremental read&#x20;**&#x69;t will pick up only new customers that have entered the audience each time it executes. &#x20;

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

We want to prioritize customers who are high risk or high value.  To do this we will add a condition to split the journey into 2 paths, high priority and low priority.  &#x20;

1. Drag the condition activity and add it to the end of the journey.  &#x20;
2. Click to edit the expression

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

In the expression editor:&#x20;

1. Search for **high&#x20;**
2. Drag the **High Monthly Premium&#x20;**&#x61;udience into the expression &#x20;
3. Click Ok

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

We also want to prioritize customers that Adobe's Predictive AI has identified as being high risk of churn. &#x20;

1. Search for churn&#x20;
2. Drag the churnPrediction into the editor
3. Set the operator to **greater than&#x20;**&#x61;nd the value to **70**
4. Change the condition from **AND&#x20;**&#x74;o **OR**
5. Click Ok to store the expression. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/UOqgb6OXiokjn27SW-3Or_image.png)

In the condition properties, update the path name to **High Value Customers&#x20;**&#x61;nd tick the checkbox to **Show path for cases other than the one(s) above.&#x20;**&#x20;  Click **Save. &#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/lekU5eX-509V0_T_hn441_image.png)

We will send the high value customers directly to the call center for outbound contact.  To do this we have a custom action **NotifyAgent.  &#x20;**&#x44;rag this action and add it to the end of your journey.

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

In the action properties we need to configure the action to send the customer phone number, email and first name to the agent.  &#x20;

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

Click on each of the parameter fields and add the appropriate field from the profile. &#x20;

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

Click to **save** the activity once you're done. &#x20;

For lower value customers we will automate their reminder communications.   Drag an **Email** activity onto the canvas and join it to the **others&#x20;**&#x70;ath.   Set the Email Configuration to email-marketing.&#x20;

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

We'll add the email content once we've finished building the journey structure. &#x20;

Next we'll use a reaction activity to check whether a customer has clicked on the email or not.   Drag the reaction node and add it to the end of your journey.   Configure a timeout of 1 day and add a timout path.

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

If the customer does not click on any of the links in the email after 1 day we will retarget them on a different channel.   For this exercise we will use Line channel but this could be Whatsapp or SMS or any other channel as desired. &#x20;

Drag the LineMsg action into the canvas and add it to the timeout path.&#x20;

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

Scroll down in the action properties, there are 3 fields we need to configure:

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

Using the editor populate these fields with the following:&#x20;

- X-Line-Retry-Key = uuid()

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

- UserId = profile.\_demoapac.indentification.line.userId

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

- Message = whatever message you want!&#x20;

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

Click to **Save&#x20;**&#x74;he activity. &#x20;

Lastly we want to make sure that if customers renew their policy at any time during this journey that we stop messaging them.   For this we can use the journey's global **Exit Criteria.  &#x20;**

Click the **Exit criteria&#x20;**&#x62;utton on the right side of the journey canvas and click to **Add exit criteria.&#x20;**

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

Add a label for Policy Renewal and click to select the event.&#x20;

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

Select the **Policy Renewal** event that has been preconfigured for you, then click **Save**

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

Click to **Save** the exit criteria. &#x20;

## Add the Email Content

In this exercise you'll learn how Adobe's Generative AI features can be used to speed your  content creation. &#x20;

Return to the email node and click to **Edit the Content&#x20;**

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

We'll start by using AI to generate an engaging subject line.  Click the magic wand next to the subject field.

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

Add a text prompt describing the call to action for this email.  &#x20;

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

Open the text settings to provide the AI with additional guidelines around the communication strategy and tone. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/3G4DKp5ACFYXZb6-1Bft6_image.png)

Click **Generate&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/RZvlPHPId0Edw3D-29K2p_image.png)

You can review each variation, refine or regenerate with updated prompt as needed.   Once you have selected the variation you want click **Select&#x20;**&#x74;o insert it into the subject line. &#x20;

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

Click now to edit the email body.&#x20;

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

We will start with the pre-saved email template **Bajaj - Renewal Template.**

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

Once the template loads click to **Use this template**

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

Once you're in the editor, select the banner image and click to open the image generator powered by Adobe's Firefly APIs.&#x20;

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

This will open the image generator.  Add a text prompt such as ***Someone driving along a busy road in an Indian city without a care in the world because they are adequately insured!***

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

Open the image settings and define the type of image you want to generate, including the size and tone.

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

Click to **Generate**.   &#x20;

After a minute or tow you'll see the generated variations.   Click the one you want to use and click **Select. &#x20;**

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

You'll be prompted to add the new asset to your existing AEM Assets repository.  Click **Next.**

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

Select the **Bajaj Allianz&#x20;**&#x66;older



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

Your new image is now inserted into the email content.&#x20;

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

Click to **Save&#x20;**&#x74;he email and return to your journey. &#x20;

:::hint{type="success"}
Congratulations you've completed creating your renewal journey.
:::

