---
title: Step 18 - Add push message in the mobile app- DEPRECATED
slug: docs/step-18-add-push-message-in-the-mobile-app-deprecated
docTags: 
createdAt: 2025-01-08T14:26:24.417Z
---

## Prerequisites

1. Access to Adobe Journey Optimizer
2. [Mobile project created in DSN connected to an AEP sandbox](docId\:pjwUFETPHWISSBXk5gSZ_)&#x20;
3. [Push Channel configuration in AJO](docId\:VH4dKT9lMnzM8RCHtwgcX)&#x20;

## Create an event to trigger the push message

In first step you need to decide what user action will trigger the push message. It can be app launch, purchase, event based on geolocation, subscription to a loyalty program. For the purpose of this excersize we will use the login and add to cart events.&#x20;

1. Log in to AJO and select "Configurations" from the navigation on the left. On the new screen select "Events"
   1.

      ::Image[]{src="https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/lJmnC5F8BguGr6quW-Q94_image.png" size="46" width="1714" height="1314" position="center" showCaption="false"}
2. Fill the event details as below:
   1. **Schema**: Demo System - Event Schema for Mobile App(Global v1.1) v1.1
      **Fields**: Select fields: \_tenant.identificarion.core, eventType **Namespace:&#x20;**&#x45;CID
      **Event ID Condition: &#x20;**&#x44;rag Event Type and select event: **application. login.** If the event is not available on the list check: [How to add events to a list of events in AJO](docId\:gjHYAKOmbI-74jXeKDuTf)&#x20;
      1.

         ::Image[]{src="https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/7tuEKAR53z1KUkIcxxrrG_image.png" size="54" width="900" height="1295" position="center" showCaption="false"}
3. Save the event

Follow the same steps for "Add to cart" event but this time for eventType condition select: commerce.productListAdds

## Create an AJO Journey

1. Log in to AJO. Click on Journeys on the left and the button: "Create new journey"
   1.

      ::Image[]{src="https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/wfKcu9_yPVPZCrU_11dZo_image.png" size="54" width="642" height="532" position="center" showCaption="false"}
2. On the panel on the right find your event and drag and drop it on the canvas
   1.

      ![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/AszKkDnrdybsGO31RBdNI_image.png)

3\. From the actions section select "Push" and drag and drop in as a next step after the event. Select the Push Configuration - if it's not available check the [Create push channel configurations](docId\:VH4dKT9lMnzM8RCHtwgcX) document.



![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/_9ZzpwNfdwbmbgpXoRh5A_image.png)

4\. Edit the push content

**Title**: Thank you for signing up.

**Body**: We're glad you're here.

**Media URL:** [https://demo-system-next.s3.amazonaws.com/assets/luma/welcome.jpg](https://demo-system-next.s3.amazonaws.com/assets/luma/welcome.jpg)



![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/kwvKHnj45Qoc8Sos5aCUm_image.png)



5\. Go back to the journey. Click "Save" button on the push action.

![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/DmxoESXCGwh5AAIBWOgdS_image.png)

In case of Add to cart journey provide content as below:

**Title:&#x20;**&#x48;i, \{\{ profile.person.name.firstName }}

**Body**: Finish your purchase in the next 5 minutes and get free shipping on your next order!

**Add media**: [https://demo-system-next.s3.amazonaws.com/assets/luma/freeshipping.png](https://demo-system-next.s3.amazonaws.com/assets/luma/freeshipping.png)

::Image[]{src="https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/Rnh7HCyIT20EEItfva2o0_image.png" size="40" width="560" height="1110" position="center" showCaption="false"}

6\. Rename your journey by clicking the pencil next to its title



::Image[]{src="https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/Xb8OCj7RBptkAwHVIyYhT_image.png" size="42" width="362" height="152" position="center" showCaption="false"}

7\. Click "Publish" to make the journey to work



![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/2DO0b4lRLudVDYQrHc2gO_image.png)



