# How to Integrate CleverTap with DoubleTick

{% embed url="<https://youtu.be/5KRp7ImJh4E?si=Y0faosCucoBdwDzr>" %}

\
DoubleTick is a WhatsApp Business API platform, while CleverTap is a powerful customer engagement and marketing automation tool.

By integrating both platforms, you can:

* Send WhatsApp messages directly from CleverTap campaigns
* Automatically sync approved WhatsApp templates into CleverTap
* Track message delivery status in real time
* Capture and manage customer replies inside CleverTap

This guide walks you through the complete setup process in a simple, easy-to-understand manner.

***

#### <mark style="color:$primary;">**Before You Begin**</mark>

Make sure you have the following ready:

* Your DoubleTick API Key
* Your WABA Number (WhatsApp Business Account number)

If you don’t have your API Key yet, refer to this guide:\
<https://docs.doubletick.io/docs/quickstart-guide#step-2-generate-your-api-key>

***

#### <mark style="color:$primary;">**Configure DoubleTick as WhatsApp Provider in CleverTap**</mark>

<figure><img src="/files/o4NvJhWXbDs9VCKM8XU6" alt=""><figcaption></figcaption></figure>

This step connects CleverTap with DoubleTick so that it can send WhatsApp messages.

* Log in to your CleverTap Dashboard
* Navigate to:\
  Settings → Channels → WhatsApp → WhatsApp Connect
* Click **+ Provider Configuration**

Fill in the required details such as:

<table><thead><tr><th width="162.79998779296875">Field</th><th>Value</th></tr></thead><tbody><tr><td>Provider</td><td>Generic (Other)</td></tr><tr><td>Mobile Number</td><td>WABA Number</td></tr><tr><td>HTTP Endpoint</td><td><a href="https://public.doubletick.io/whatsapp/message/clevertap">https://public.doubletick.io/whatsapp/message/clevertap</a></td></tr></tbody></table>

***

#### <mark style="color:$primary;">**Add Authorization Header**</mark>

<figure><img src="/files/y7ke33oRAG8g0SoHg1Qm" alt=""><figcaption></figcaption></figure>

This is required to authenticate requests from CleverTap to DoubleTick.

* Scroll to the Headers section
* Add the following:

Key: Authorization\
Value: Bearer YOUR\_API\_KEY

Replace `YOUR_API_KEY` with your actual DoubleTick API Key.

***

#### <mark style="color:$primary;">**Enable Template Import Setup**</mark>

<figure><img src="/files/9TIRB2JhCvuybRnMZBca" alt=""><figcaption></figcaption></figure>

This step allows CleverTap to fetch your approved WhatsApp templates from DoubleTick.

* In the provider configuration screen, locate **Template Import Setup**
* Enable (check) this option
* In the Endpoint field, enter:

```
https://public.doubletick.io/templates/import?wabaNumber=YOUR_WABA_NUMBER
```

Replace `YOUR_WABA_NUMBER` with your actual number (example: 919XXXXXXXXX)

* Add the same Authorization header again:\
  Key: Authorization\
  Value: Bearer YOUR\_API\_KEY

***

#### <mark style="color:$primary;">**Send a Test WhatsApp Message**</mark>

<figure><img src="/files/84TBMPreO8BtDuaRFMxq" alt=""><figcaption></figcaption></figure>

Before proceeding further, verify that everything is configured correctly.

* Click **Send Test WhatsApp** in CleverTap
* Open DoubleTick and keep the chat window open for your test number
* Confirm that the test message is received successfully

***

#### <mark style="color:$primary;">**Import WhatsApp Templates into CleverTap**</mark>

<figure><img src="/files/WjOfQQUynDaRxUbeXRHL" alt=""><figcaption></figcaption></figure>

Now that the connection is working, you need to bring your approved templates into CleverTap.

* Go to the **Templates tab** in the provider configuration screen
* Click **Import Template**
* Click **Import**

All your approved templates will now appear in CleverTap and will be ready for campaign use.

***

#### <mark style="color:$primary;">**Set Up Delivery Status Webhook**</mark>

This step ensures CleverTap receives real-time updates about message delivery.

* In CleverTap, copy the **Delivery Report Callback URL**
* Log in to DoubleTick Dashboard
* Go to **Webhooks section**
* Click **Create New Webhook**

**Configure:**

* Webhook URL: Paste the CleverTap Callback URL
* Event Type: Message Delivery Updates
* Save the webhook

Now CleverTap will automatically receive updates for delivered and failed messages.

***

#### <mark style="color:$primary;">**Set Up Incoming Message Webhook**</mark>

This step allows CleverTap to receive customer replies from WhatsApp.

* In CleverTap, copy the **Inbound Message Callback URL**
* Go to DoubleTick Dashboard → Webhooks
* Click **Create New Webhook**

**Configure:**

* Webhook URL: Paste the Inbound Callback URL
* Event Type: Incoming Messages
* Save the webhook

Now, whenever a customer replies on WhatsApp, it will be captured inside CleverTap.

***

#### <mark style="color:$primary;">**How the Integration Works (End-to-End Flow)**</mark>

<figure><img src="/files/I4iQVAZGp2BxlEQynAAV" alt=""><figcaption></figcaption></figure>

Once everything is set up:

* You create a campaign in CleverTap
* CleverTap sends the WhatsApp message via DoubleTick
* DoubleTick delivers the message to the customer
* Delivery status is sent back to CleverTap via webhook
* Customer replies are also sent back to CleverTap
* You can track and trigger further actions inside CleverTap

***

#### <mark style="color:$primary;">Quick Troubleshooting Tips</mark>

**Test message not delivered**\
Double-check API Key in Authorization header and verify HTTP endpoint

**Templates not appearing**\
Ensure templates are approved in DoubleTick and WABA number is correct

**Delivery updates not showing**\
Verify webhook URL and event type selection

**Customer replies not received**\
Ensure a separate webhook is created for Incoming Messages


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.doubletick.io/automations-and-integrations/how-to-integrate-clevertap-with-doubletick.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
