---
description: >-
  Steps to create an App Push Notification for Android using Lemnisk Marketing
  Automation Platform.
---

# Create App Push Notification - Android

### **Create an App Push Notification**

**Step 1: Create an App Push Notification Engagement**

{% tabs %}
{% tab title="Method 1 - Segments" %}
1. Go to Campaigns > Segments
2. Select the Segment Name
3. Click on App Push Notification on the left panel
4. Click on Add Engagement

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FIA5cu5Hca7kaZYiFYzDs%2FApp%20Push%20Segment.gif?alt=media&#x26;token=b016214c-d3d2-4787-b03d-d6e3e1f62bf9" alt=""><figcaption><p><em>Gif: Add an engagement via Segment flow</em></p></figcaption></figure>
{% endtab %}

{% tab title="Method 2 - Channels" %}
1. Go to Campaigns > Channels
2. Click on App Push Notification on the left panel
3. Click on Add Engagement
4. Select Segment Name from the list
5. Click on Confirm And Proceed To Next Step

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FAdR4NCnJ8LOPGhNkvKYK%2FApp%20Push%20Channel.gif?alt=media&#x26;token=8df253d7-2527-4b9d-88a7-f20dc45c2344" alt=""><figcaption><p><em>Gif: Add an engagement via Engagement flow</em></p></figcaption></figure>
{% endtab %}
{% endtabs %}

**Step 2: Add General details**

* **Engagement Name (mandatory):** Add a unique name to the Engagement. It must range between **6-25 characters**.&#x20;
* **Language (mandatory):** Select a language in which you prefer to write the Engagement.
* **Select Device (mandatory):** Select **Android** from the device list. The preview on the right should show the preview of the Android device.
* **Select Notification Style (mandatory):** Choose a notification style of engagement based on device configuration.

For **Android,** we have 3 Notification Styles.

{% tabs %}
{% tab title="Text Only" %}
You can use this notification style, in case you want to add only text to your App Push engagement.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2Fgu6rZY86vxUFsF5k4TfI%2FText%20Only.PNG?alt=media&#x26;token=1c8f01ef-ba9e-4759-86c4-a8cdc26c23db" alt=""><figcaption><p><em>Add Text to your Engagement</em></p></figcaption></figure>
{% endtab %}

{% tab title="Text with Big Image" %}
Use this notification style to add an image with the specified text. You can also add a caption to the engagement image.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2F3CmUZ121EFDjgjiFdljC%2FText%20With%20Big%20Image.PNG?alt=media&#x26;token=1d326825-52c9-4cae-a2a2-cbd6b4dcdca2" alt=""><figcaption><p><em>Add Text with a Big Image</em></p></figcaption></figure>
{% endtab %}

{% tab title="Text with Image Carousel" %}
Use this notification style to create an infographic engagement in the form of carousels. You can also add captions to your image carousel. The preview is updated in real-time and you can click on the preview to verify if the redirect URL is working.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FNiC1BxvfbmkqPIaZXhAl%2FImage%20Carousel.gif?alt=media&#x26;token=076c53a1-d3ca-4604-8bad-9f872075eb07" alt=""><figcaption><p><em>Embed Image Carousel to your Engagement</em></p></figcaption></figure>
{% endtab %}
{% endtabs %}

**Step 3: Add a Goal**

**Goal Type:** Choose a goal type from the list. To learn more about conversion goals, follow [this](../../getting-started#conversion-goal) guide.&#x20;

{% hint style="success" %}
As you enter the data into each section to create an Engagement, the section will turn <mark style="color:red;">red</mark>. Once all the information about the section has been entered, the section will turn <mark style="color:green;">green</mark>. You can complete the sections in any order, but the sections must turn <mark style="color:green;">green</mark> before you click on Update Engagement.
{% endhint %}

**Step 4: Add Content**

* **Title (mandatory):** The title of the Engagement message. It should range between 1-42 characters. The recommended max length is **36 characters**.
* **Message (mandatory):** Enter a brief message explaining the purpose of the Engagement. It should contain at least 6 characters. The recommended max length is **36 characters**.
* **Summary:** Give a summary of the Engagement. The recommended max length is **36 characters**.
* **Target Page:** Enter the target URL to which the user will be redirected when the app push notification is clicked. You can add a URL or a deep link.&#x20;
* **Select Label (mandatory):** Choose a product label from the list. Click [here](../../getting-started#product-label) to learn more about Product Labels.

{% hint style="warning" %}
In cases where the recommended size is stated, there is no length constraint for the message. However, it might get trimmed while it is delivered leading to data loss, or might not get delivered at all. Lemnisk suggests you should keep it to the recommended length.
{% endhint %}

### Try with AI

Lemnisk's generative AI creates the content and images for creating engagement in the relevant sections. Clicking on try with AI will provide Ramanujan's generated content based on the previous data available in the segment. Additionally, it provides a list of recommendations in the window pane on the right from which you can select suitable content and Images. you can also use the prompt to generate content as required which can be edited and modified later.



If your engagement type is **Big Image** or **Image Carousel**, follow the steps mentioned in the tabs:

{% tabs %}
{% tab title="Big Image" %}
**Upload Image (mandatory):** Upload an image of the following dimensions:

* **Aspect Ratio:** 2:1
* **Max Size:** 40 kb
* **Supported File Formats:** JPG, JPEG, PNG,WEBP.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2Fj0nwwhN76K3RY4PVqfax%2FAndroid%20BI.gif?alt=media&#x26;token=8189e61b-0f8b-4c3e-b799-8c17204b64d9" alt=""><figcaption><p> <em>Upload Big Image with text and caption</em></p></figcaption></figure>
{% endtab %}

{% tab title="Image Carousel" %}
It is mandatory to have 2 products in the Carousel.&#x20;

* **Select Label (mandatory):** Choose a product label from the list. Click [here](../../getting-started#product-label) to know more about Product Label.
*   **Upload Image (mandatory):**&#x20;

    Upload an image of the following dimensions:\
    \- **Aspect Ratio:** 2:1\
    \- **Max Size:** 1 MB\
    \- **Supported File Formats:** JPG, JPEG, PNG,WEBP.
* **Caption (mandatory):** Give a caption to the image. The recommended max length is **24 characters**.
* **Target Page:** Enter the target URL to which the user will be redirected when the app push notification is clicked.\
  **- Select Link Type (mandatory):** Add a URL or a deep link. To know more about Link Type, click [here](#url).\
  **- Enter URL (mandatory):** Enter the URL of the target page.

Click on **Add Product** to add the image carousel.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FY2abUKgVz8Hhng7rT3Yv%2FAndroid%20IC.gif?alt=media&#x26;token=b85ea97e-72cb-43fa-8342-fb101cc596f9" alt=""><figcaption><p><em>Implement Image Carousel</em></p></figcaption></figure>
{% endtab %}
{% endtabs %}

* **Use Button:** Check the use button feature to add a button to the app push notification. Buttons are optional. You can add at most **3 buttons**.&#x20;
* **Button Text (mandatory):** Add text to the button.
* **Target Page:** You can redirect the user to different platforms when they click the button.
* **Select Link Type (mandatory):** The function you want the button to perform.

Follow the steps as shown in the below tab as per the selected link type.

{% tabs %}
{% tab title="URL" %}
You can redirect the user to a URL in the browser.&#x20;

**Enter URL (mandatory):** Enter the URL of the target page.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FJmFc4YEAhWJn5RxF8tXL%2FAndroid%20URL.gif?alt=media&#x26;token=f152e782-a7fe-4374-894f-383f6c269f94" alt=""><figcaption><p><em>Gif:</em> <em>Add a URL button</em></p></figcaption></figure>
{% endtab %}

{% tab title="Deep Link" %}
You can redirect users to a particular screen on the application.

**Enter URL (mandatory):** Enter the URL for a specific activity within the application.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2F6CrY40AY4UVut7PUWCMu%2FAndroid%20Deep%20Link.gif?alt=media&#x26;token=f8cb75a4-547e-4b6c-b1fe-92a6bc0d297b" alt=""><figcaption><p><em>Gif: Add a Deep Link button</em></p></figcaption></figure>
{% endtab %}

{% tab title="Acknowledgement" %}
An acknowledgment will trigger a new app notification for the user, once s/he clicks the button. You need to include the following content as well.

**Title (mandatory):** The title of the inline Engagement.

**Message (mandatory):** Enter a brief message explaining the purpose of the Engagement.

**Summary:** Give a summary of the Engagement.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FgoJdw6tEwTIwmJ5ESP50%2FAndroid%20Ack.gif?alt=media&#x26;token=3b103599-5e6d-4537-a92c-cb022ddc5560" alt=""><figcaption><p><em>Gif:</em> <em>Add an Acknowledgement button</em></p></figcaption></figure>
{% endtab %}

{% tab title="Dismiss" %}
User can dismiss the notification when the button is clicked.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FUD9fUHRtiDU39VQn49b7%2FAndroid%20Dismiss.gif?alt=media&#x26;token=dfd68077-606f-4be3-96cb-0ed0d85090fa" alt=""><figcaption><p><em>Gif: Add a Dismiss button</em></p></figcaption></figure>
{% endtab %}
{% endtabs %}

{% hint style="info" %}
Consider a scenario where you want to send a personalized notification about term life insurance to users. This notification redirects them to a unique URL on your website with their user ID. It also shows them their personalized message, such as their premium amount, when it will expire, etc. So, you can send hyper-personalized app push notifications to users, tailored to them.
{% endhint %}

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2F2uBHHMRSztQcd9gfcv3S%2FScenario_Android.gif?alt=media&#x26;token=42af4801-7639-40a5-b4db-bc2392e754de" alt=""><figcaption><p><em>Gif: Hyper personalized URL for Android</em></p></figcaption></figure>

**Step 5: Enhance Delivery**&#x20;

Enabling Enhanced delivery facilitates reaching your customers in your desired time frame and expires the notification once it reaches its expiry and also increases the probability of message delivery even in poor network conditions.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2Fu3OjeDQYBOih354Tgjld%2Fengage.PNG?alt=media&#x26;token=2adde333-8645-4022-bc83-6791e501bec8" alt=""><figcaption><p><em>Enhance delivery</em></p></figcaption></figure>

*   **Set Expiry:**  Setting an expiry for your communication will prevent your communication from sending to the users once the purpose of the communication is elapsed. Let's say, as a marketer you want to communicate to your users about the launch event and exclusive offers that are about to be held on a certain time period. By setting an expiry for your communication, you can prevent the communication from reaching users who couldn't receive your text before the event due to network failure or any other unfavorable circumstances.

    You can set the expiry for your communication with this option. The maximum expiry that can be set is upto 28 days max.
* **Preserve message for:** You can set your communication expiry for minutes/hours/days by setting the time range. The default time frame is set to 6 hours and the minimum time frame must be at least 1 hour.
* **Preserve Message till:** You can set your communication validity until any particular date and time from the calendar. The minimum time frame must be at least 1 hour
* **Enable Push Max:** Enabling Push Max will enhance your delivery by providing optimal communication based on the network strength of the user. This allows the users to receive your communication with the media in a good network connection and also facilitates text only in poor network conditions which improves the chances of your communication delivery.

**Step 6: Schedule Settings**

**Schedule:** An engagement can be scheduled to be sent at a later time or triggered immediately upon the achievement of the engagement goal. To learn more about Engagement Scheduling, click [here](../../getting-started#engagement-scheduling).

**Step 7: Save**\
Click "Save" to save the Engagement.

For a detailed explanation of the steps discussed above, please refer to this video:

{% embed url="https://drive.google.com/file/d/1yABpnyUkQIi4unAIDD9LP7FyCX-6BMCr/view?usp=sharing" %}
**Demo:** _Creating engagement with App Push (Android)_
{% endembed %}

{% hint style="danger" %}
Once you have created an Engagement, you can not change the name of the engagement, the selected device, or the notification style.
{% endhint %}
