# CleverTap

### Overview

CleverTap Integration with Gallabox will help you to effortlessly send WhatsApp campaigns, track stats, and set up automated workflows for personalized engagement in turn transforming your marketing strategy.&#x20;

### Configuring CleverTap in Gallabox

1. From the left navigation go to **Integration** in your Gallabox and Click on **CleverTap** from the available apps.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FgcjpG810r2U5eCE1juRy%2FClever%20Tap%20Integration%20in%20Gallabox.gif?alt=media&#x26;token=6c5c0790-2243-43ed-b56a-3cea85bd9eb0" alt=""><figcaption></figcaption></figure>

2. Click on Connect, provide the integration name, and click on Submit.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FkUUqBZdtPrHqseYBi3f3%2FCleverTap%20Integration%20Name.gif?alt=media&#x26;token=11ba6f97-db5c-42f0-8b14-1d02dd02d55c" alt=""><figcaption></figcaption></figure>

3. Gallabox will generate a **"Webhook URL End Point"** which has to be pasted in the CleverTap Application. Choose the **"Channel Name"** you would like to connect with CleverTap. Update the configuration.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F6wTawRRbrmxjt29w5ETh%2FCleverTap%20Channel%20Name.gif?alt=media&#x26;token=3b3e274c-42ea-4b4b-8af2-74beadbf0a1c" alt=""><figcaption></figcaption></figure>

4. Sign in on your **CleverTap** account, from the left navigation go to settings. Under the Channels, go to WhatsApp. Click on WhatsApp Connect to add the configuration.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FkwCkh7LnUoW30hWUTilC%2FCleverTap%20WhatsApp%20Connect.gif?alt=media&#x26;token=c00f6dac-5669-4dba-8037-4a069761bd2e" alt=""><figcaption></figcaption></figure>

5. Click on **+Provider Configuration** to connect your Gallabox Account with your CleverTap Account. The setup page will open up.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FLswHDXPB5KyIzQ9xAN0c%2FCleverTap%20Provider%20Configuration.gif?alt=media&#x26;token=57e67c59-8d3a-40ea-a3b5-95e1b0680d15" alt=""><figcaption></figcaption></figure>

6. To set the Provider Configuration, select Generic (other) from the drop-down or Provider Option. Provide a name and the phone number of your Gallabox Account.&#x20;

{% hint style="info" %}
When providing the phone number, make sure to type or paste the number using country code. For instance, If you are residing in India, paste or copy the number as 9198XXXXXXXX.&#x20;
{% endhint %}

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F560WcpqUfbwXwBvz1KWl%2FCleverTap%20Provider%20Setup.gif?alt=media&#x26;token=2df1fab0-d631-4e9a-aa2d-58ff18e483f0" alt=""><figcaption></figcaption></figure>

7. Copy the Delivery Report Callback URL and Inbound Message Callback URL from CleverTap Account to your Gallabox Account in the CleverTap Configuration page.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FOwzCSXB9fdR1QXVtugOL%2FCleverTap%20Callback%20URLs.gif?alt=media&#x26;token=730e1fbd-53e8-4e56-b29c-4265e46ee140" alt=""><figcaption></figcaption></figure>

8. Copy and paste Webhook URL End Point from your CleverTap Configuration Page in Gallabox to WhatsApp Setup page on CleverTap.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FmW1OQretPCozRkhbMKLr%2FCleverTap%20HTTP%20End-Point.gif?alt=media&#x26;token=ddc6e858-efbf-48ac-bac2-c6daebe49d4c" alt=""><figcaption></figcaption></figure>

9. Save the WhatsApp Setup details on CleverTap and update the configuration in your Gallabox Account to connect CleverTap with Gallabox.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fwpo5rowxm1PfhB2CTcMn%2FCleverTap-Save%20the%20details.gif?alt=media&#x26;token=ed983c04-a708-4be4-b47c-c15f29f4d611" alt=""><figcaption></figcaption></figure>

#### ***Your  configuration is ready. You can now start using CleverTap to send WhatsApp messages via Gallabox***

### Adding WhatsApp Templates

To send WhatsApp Messages via Gallabox, you need to copy and paste the Verified WhatsApp Templates on CleverTap. To do so:

1. Select the Provider you created from the list and select Templates.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FGRZSrfFAMP9o9cj2tcdJ%2FCleverTap-WhatsApp%20Templates.gif?alt=media&#x26;token=0a3ce993-d95e-4721-a404-ff5866a98489" alt=""><figcaption></figcaption></figure>

2. Click on **+Template** to paste the verified template from Gallabox.&#x20;

{% hint style="info" %}
A Tip: Open your Gallabox Account on other tab to copy and paste all the Template fields correctly.&#x20;
{% endhint %}

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FLDQltkg0ADpFQSKTCIXR%2FCleverTap-Add%20Template.gif?alt=media&#x26;token=600d7ee5-7461-48c8-9548-4074a8a19f8d" alt=""><figcaption></figcaption></figure>

3. Paste the Template Name, Header, Body, Buttons, and language to CleverTap.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FXle5B9D6dbaXi7Xs1VEW%2FCleverTap%20-%20Paste%20the%20Template.gif?alt=media&#x26;token=1f20de05-2406-4267-bdd9-d5e0537209d4" alt=""><figcaption></figcaption></figure>

4. Click on **SAVE TEMPLATE** to add the template in your CleverTap Account.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fgy53WG5rbLkwoj0qY9Uc%2FCleverTap%20-%20Save%20Template.gif?alt=media&#x26;token=337d9560-bcaf-46d7-a1ac-13ba00a290eb" alt=""><figcaption></figcaption></figure>

Get Ready to Launch your first WhatsApp Campaign on CleverTap! :thumbsup:

### Error Handling in CleverTap Logs

Below tables lists down the errors you might encounter in the logs and how to resolve them.&#x20;

<table><thead><tr><th width="330.25">Error</th><th>What to do</th></tr></thead><tbody><tr><td>The channel number specified in the integration does not match the channel number in the request. </td><td>Make sure to copy and paste the channel number from the configuration. </td></tr><tr><td>Parameter mismatch: The request has a different number of parameters than the template variables </td><td>Check if the number of variables in the template in Gallabox is same in CleverTap also. Since CleverTap does not allow duplication of variables, make sure not to reuse variables in your templates in Gallabox as well.</td></tr><tr><td>The processed template message does not match the request message body.</td><td>Check if the template body content is the same as the Gallabox template body.</td></tr></tbody></table>

### Performance Metrics

1. **Qualified:**\
   Number of contacts that met the criteria and were eligible to receive the campaign.
2. **Sent:**\
   Number of messages successfully dispatched from Gallabox.&#x20;
3. **Delivered:**\
   Number of messages that reached the recipient's WhatsApp inbox.

   > **Note:** If this count remains zero, it could mean the delivery status update hasn't been received from WhatsApp. Make sure the **Status Callback** is correctly configured with your WhatsApp provider.
4. **Viewed:**\
   Number of recipients who opened/read the message.&#x20;
5. **Clicks:**\
   Number of times users clicked on a CTA (call-to-action) in your message.

> If you've enabled **Track Link Clicks** in the Gallabox WhatsApp template and added the **"Visit Website"** Call-To-Action button with **Provider click tracking** enabled in CleverTap’s WhatsApp template, then any clicks will be tracked and reflected in the campaign's performance metrics within CleverTap.

7. **Converted Users:**\
   Users who completed the defined conversion action within the window.
