> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connectly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# WebEngage

> Send WhatsApp campaigns and automated messaging flows from WebEngage using Connectly as your WhatsApp channel 🔗

WebEngage is a marketing automation and customer engagement platform. With this integration, you can trigger WhatsApp messages through Connectly directly from WebEngage campaigns and automation flows.

## Prerequisites

* A fully onboarded Connectly account with a working WhatsApp business number.
* Contact your Account Manager to enable WebEngage integration permissions for your business ID before starting setup.

You'll need three values from Connectly:

* **Business ID**
* **API key**
* **WhatsApp phone number**

***

## Step 1: Set up the integration in WebEngage

<Steps>
  <Step title="Open Integrations in WebEngage">
    Go to your WebEngage dashboard and navigate to **Integrations**.
  </Step>

  <Step title="Configure your WhatsApp channel">
    Select **WhatsApp** from the channel list and choose **Private WhatsApp integration**.
  </Step>

  <Step title="Enter your Connectly credentials">
    On the configuration page, provide your **Business ID**, **API key**, and **WhatsApp phone number**.

    Set the endpoint URL to:

    ```text theme={null}
    https://api.connectly.ai/proxy/businesses/<BUSINESS_ID>/send_whatsapp_templated_message
    ```

    Replace `<BUSINESS_ID>` with your Connectly business ID.
  </Step>
</Steps>

***

## Step 2: Configure delivery status webhooks

To receive delivery analytics back in WebEngage, register a Connectly webhook using the [Create webhook](/webhooks/create-webhook) endpoint with the following body:

<Info>
  You'll need a WebEngage token — contact your WebEngage account manager or reach them at [webengage.com/contact-us](https://webengage.com/contact-us/).
</Info>

```json theme={null}
{
  "topic": "messages",
  "address": "http://wt.webengage.com/tracking/events",
  "type": "webengage",
  "configuration": {
    "webengageConfiguration": {
      "timezone": "<AREA/CITY>",
      "webengage_token": "<YOUR_WEBENGAGE_TOKEN>",
      "webengage_webhook_url": "http://wt.webengage.com/tracking/events"
    }
  }
}
```

Replace `<AREA/CITY>` with your timezone in `Area/City` format (e.g. `Asia/Riyadh`) and `<YOUR_WEBENGAGE_TOKEN>` with the token from your WebEngage account manager.
