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

# Create a Web Push Notification

### **Create a Web Push Notification Campaign**

**Step 1: Create a Web Push Notification Engagement**

{% tabs %}
{% tab title="Method 1 - Segments" %}
1. Go to Campaigns > Segments
2. Select the Segment Name
3. Click on Web 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%2FaZc9QO4cpeh8CmCbeVrj%2FWebPushSegment.gif?alt=media&#x26;token=f7be6c3e-dce6-4fec-91a7-9a127f4aab11" alt=""><figcaption><p><em>Demo: Add an engagement via Segment flow</em></p></figcaption></figure>
{% endtab %}

{% tab title="Method 2 - Channels" %}
1. Go to Campaigns > Channels
2. Click on Web 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 the Next Step

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FzYGVzP51y8NUipdVTVhU%2FWebPushChannel.gif?alt=media&#x26;token=856f580c-8e99-4918-9a6a-58d90038cd3d" alt=""><figcaption><p><em>Demo: Add an engagement via Engagement flow</em></p></figcaption></figure>
{% endtab %}
{% endtabs %}

**Step 2: Add General Details**&#x20;

* **Engagement Name (mandatory):** Add a unique name to the Engagement. It must range between **6-25 characters.**
* **Select Label (mandatory):** Choose a product label from the list. Click [here](../../getting-started#product-label) to learn more about Product labels.&#x20;
* **Language (mandatory):** Select a language in which you prefer to communicate.

**Step 3: Add a Goal** \
**Goal Type (mandatory):** Choose a goal type from the list. To learn more about conversion goals, follow [this](../../getting-started#conversion-goal) guide.

**Step 4: Add Content**&#x20;

* &#x20;**Notification Title (mandatory):** The notification title of the Engagement message. The recommended max length is **32 characters**.&#x20;
* **Notification Message (mandatory):** Enter a brief message explaining the purpose of the Engagement. It should contain at least 6 characters. The recommended max length is **42 characters**.&#x20;
* **Icon (mandatory):** Upload the icon to represent the logo of your website or profile that will be displayed in your web push notification. The icon image should support **JPG or PNG file formats**, with **(192\*192) pixel dimension** and a maximum **1 MB size**.
* **Notification Image:** The image you want to upload indicates the purpose of the web push engagement. The notification image only supports **JPG or PNG file formats**, with an Aspect Ratio of 3:2 (recommended resolutions are 540x360, 720x480, etc).

{% hint style="info" %}
You can also generate content using Lemnisk's **Ramanujan AI** which supports generating content for any segment based on the previous engagement and prompts. To learn more about AI content generation for web push, Click[ here.](../../ramanujan-ai/content-generator/generate-web-push-content)
{% endhint %}

**Image Format:**

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FT4wmL4SYduOTwaVW1HEl%2Fwpn.PNG?alt=media&#x26;token=ca411f98-32f3-49bf-9f4c-445bbe5683b5" alt=""><figcaption><p> <em><strong>(720*480) JPG or PNG</strong></em> </p></figcaption></figure>

* **Fallback:** You can use the fallback feature provided by Lemnisk. To learn more about Fallback, click [here](#fallback).

{% 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 %}

**Step 5: Buttons Icon**

The icon you want to use on the button of your web push engagement. You can import using a URL or upload an image from the Lemnisk Image Media Repository. The icon image should be in **JPG, PNG, or WEBP file formats**, with **(32\*32) pixel dimension** and a maximum **1 MB size**.

* **Text:** The text you want to mention beside the icon on the button.
* **On Click Action:** The action is performed when the button is clicked.
* **Add/Remove Elements:** You can add or remove buttons in the push notification to navigate customers.&#x20;
* **Fallback:** You can use the fallback feature provided by Lemnisk. To learn more about Fallback, click [here](#fallback).

**Step 6: Redirect URL (mandatory)**

Provide the URL to which the web push notification will get directed.

**Step 7: Schedule Settings**

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

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

#### Fallback

Fallback is a feature used in Web Push Notification engagements to communicate cases of engagement failure. A fallback message will be sent to the user who does not receive the engagement. This ensures that every segment member receives the engagement. To learn more about personalization failure, click [here](../app-push-notification/why-app-push-notification-may-not-get-delivered).

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

{% embed url="https://drive.google.com/file/d/19SeT4HmkezWSejdzfMso84-sW2-MUO_Z/view?usp=sharing" %}
_Demo: Creating Web Push Engagement_
{% endembed %}

{% hint style="danger" %}
Once you have created an engagement, you cannot change the name of the engagement or the schedule settings.
{% endhint %}
