# WebEngage

> Learn how to integrate with WebEngage to run marketing campaigns

Developers · Integrations

# Revora × WebEngage: WhatsApp Integration Guide

This guide explains how to connect Revora to WebEngage as a **Private WhatsApp Service Provider (WSP)**. Once it is connected, you can send WhatsApp template messages from WebEngage campaigns and journeys through Revora, and see delivery metrics in both platforms.

**What this guide covers:**

1. [Prerequisites on Revora](#1-prerequisites-on-revora)
2. [Add Revora as a Private WSP on WebEngage](#2-add-revora-as-a-private-wsp-on-webengage)
3. [Set up delivery webhooks on Revora](#3-set-up-delivery-webhooks-on-revora)
4. [Create templates for campaigns and journeys](#4-create-templates-for-campaigns-and-journeys)
5. [Use templates in campaigns and journeys](#5-use-templates-in-campaigns-and-journeys)
6. [Tracking and reporting](#6-tracking-and-reporting)
7. [Checklists](#7-checklists)

---

## 1. Prerequisites on Revora

Check these before you start:

- **WhatsApp is connected and active.** Your WhatsApp channel must be connected to Revora and show as active.
- **Admin access.** The person setting up the integration needs an **Admin** role on Revora, with access to the **Integrations** tab.

---

## 2. Add Revora as a Private WSP on WebEngage

### Step 1: Open WhatsApp Setup

1. In WebEngage, go to **Data Platform > Integrations**.
2. Under **Channel Integration Status**, click **Configure** next to **WhatsApp Setup**.

![Channel Integration Status in WebEngage](https://storage.googleapis.com/myalice-live-public-bucket/misc/564c8ce4ebc111f1bd59a60e3c8fddea.png)

### Step 2: Select Private WSP

Under **Available WhatsApp Service Providers (WSP)**, select **Private WSP**.

![Available WhatsApp Service Providers, with Private WSP highlighted](https://storage.googleapis.com/myalice-live-public-bucket/misc/5a33543cebc111f1b5968a5db86d9a1e.png)

### Step 3: Fill in the WSP details

The **Add WhatsApp Service Provider (WSP)** form opens.

![Add WhatsApp Service Provider form](https://storage.googleapis.com/myalice-live-public-bucket/misc/5ba8df9eebc111f1b531a60e3c8fddea.png)

Fill in the fields as follows:

| Field | What to enter |
|---|---|
| **WhatsApp Service Provider** | Private WSP (preselected) |
| **Configuration Name** | A name you will recognise, e.g. `Revora` |
| **WhatsApp Business Number** | Your WhatsApp number, **exactly as it appears on Revora** (see note below) |
| **URL** | `https://api.myalice.ai/stable/open/whatsapp/webengage/send-template-message` |
| **Request Type** | **Send personalization variables** |
| **Custom Headers** | Click **Add Header**. Key: `X-Myalice-Api-Key`. Value: your Revora API key |

> **Important: the WhatsApp Business Number must match Revora exactly.**
> On the Revora dashboard, go to **Integrations > Integrated**. The number is shown below the name of your WhatsApp channel. Copy it exactly as shown (same format, country code and no extra characters). If the number does not match, the integration will fail.

> **Where to find your Revora API key:** On the Revora dashboard, go to **Settings > General > API key**. Keep this key private.

Click **Add WSP** to save. A filled-in configuration looks like this:

![Example of a completed Private WSP configuration](https://storage.googleapis.com/myalice-live-public-bucket/misc/5ce52c32ebc111f1b9e18a5db86d9a1e.png)

Revora now appears in **Your WhatsApp Service Provider (WSP) List** as a **Private** provider:

![WSP list showing Revora as a Private provider](https://storage.googleapis.com/myalice-live-public-bucket/misc/5e399988ebc111f18f6f7a179fdaf180.png)

---

## 3. Set up delivery webhooks on Revora

WebEngage can now send messages through Revora. To get delivery notifications (sent, delivered, read, failed) back into WebEngage, set up webhooks on Revora. For details, see the [Revora webhooks documentation](https://userevora.com/docs/developers/webhooks/overview).

1. On the Revora dashboard, go to **Settings > Webhooks**.
2. Create a webhook and select the events you want to track:
- **Sent**
- **Delivered**
- **Read**
- **Failed**
3. In **Webhook URL**, enter:

```
   http://wt.webengage.com/tracking/events
```

4. Save the webhook.

> **Keep the webhook URL up to date.** WebEngage may change this URL. To check the current one, go to **Data Platform > Integrations > WhatsApp Setup > Your WhatsApp Service Provider (WSP) List**, open the actions menu (⋮) next to Revora, and select **View Webhook URL**. If it is different, update the webhook on Revora.

The integration is now complete.

---

## 4. Create templates for campaigns and journeys

For every new campaign, create the template on Revora first and add it to WebEngage afterwards.

### Step 1: Create the template on Revora

1. Create the WhatsApp template from the **Revora dashboard**.
2. Submit it for review and wait until **Meta approves** it.
3. Don't add the template to WebEngage until it shows as approved on Revora.

### Step 2: Add the approved template on WebEngage

1. In WebEngage, go to **Data Platform > Integrations > WhatsApp Setup**.
2. Next to **WhatsApp Templates**, click **+** to add a new template.
3. In **WhatsApp Service Provider (WSP)**, select the Revora configuration (e.g. **Revora (Private)**).
4. Enter the template details exactly as they were set up on Revora:
- **Template name:** the *exact same name* used on Revora.
- **Body / template text:** the same text as on Revora.
- **Buttons:** the same buttons, in the same order, with the same labels and actions.
- **Variables:** the same variables, in the same positions.
- **Other components** (header, footer, media): the same as on Revora.
5. Click **Add Template**.

![Add WhatsApp Template screen with Revora selected as the WSP](https://storage.googleapis.com/myalice-live-public-bucket/misc/5fa49b6aebc111f1bea23e090a4f301c.png)

> **Important: the template name on WebEngage MUST match the name on Revora exactly.** If the name or any component is different, the message won't match the approved template and sending will fail.

---

## 5. Use templates in campaigns and journeys

Once the template is added on WebEngage, you can select it when you create a **WhatsApp campaign** or add a WhatsApp step to a **journey**. The template text loads automatically, and the preview shows how the message will look. All messages are sent through Revora.

![Campaign Message step with a Revora template selected](https://storage.googleapis.com/myalice-live-public-bucket/misc/60fc9d6eebc111f1af25a60e3c8fddea.png)

---

## 6. Tracking and reporting

**On WebEngage:** If the webhooks from Section 3 are set up, delivery notifications flow back to WebEngage automatically. You can see campaign and journey metrics directly in WebEngage.

**On Revora:** For more detail, go to **Reports > WhatsApp Metrics** on the Revora dashboard:

- **Template Analytics:** performance metrics for each template.
- **Template History:** message-level history of the templates sent.

---

## 7. Checklists

### One-time integration setup

- [ ] WhatsApp channel connected and active on Revora
- [ ] Admin access to the Revora Integrations tab
- [ ] Private WSP added on WebEngage with a configuration name (e.g. Revora)
- [ ] WhatsApp Business Number matches Revora exactly (Integrations > Integrated)
- [ ] URL set to `https://api.myalice.ai/stable/open/whatsapp/webengage/send-template-message`
- [ ] Request Type set to **Send personalization variables**
- [ ] Custom header `X-Myalice-Api-Key` added with the Revora API key
- [ ] Webhooks set up on Revora (Sent, Delivered, Read, Failed) with the WebEngage webhook URL

### Every new campaign

- [ ] Template created on the Revora dashboard
- [ ] Template approved by Meta
- [ ] Template added on WebEngage with Revora selected as the WSP
- [ ] Template name identical to the one on Revora
- [ ] Body, buttons, variables and other components match Revora
- [ ] Template selected in the campaign or journey

---

## Troubleshooting

| Issue | What to check |
|---|---|
| Integration fails or messages aren't sent | The WhatsApp Business Number on WebEngage must exactly match the number under Revora **Integrations > Integrated**. Also check the API key in the `X-Myalice-Api-Key` header. |
| A template fails to send | The template must be approved on Revora, and its name and components on WebEngage must exactly match Revora. |
| No delivery metrics on WebEngage | Check that the webhooks are set up on Revora and that the webhook URL matches **View Webhook URL** in WebEngage. |

If you still need help, contact your Revora Customer Success Manager.

---
HTML: https://userevora.com/docs/developers/webengage
