WebEngage x DoubleTick
Learn how to connect WebEngage with DoubleTick so you can send WhatsApp campaigns from WebEngage through your DoubleTick WABA number and get delivery updates back.
The WebEngage x DoubleTick integration is a native integration that lets you run WhatsApp campaigns from WebEngage while DoubleTick sends the messages through your WhatsApp Business API number. Delivery status updates flow back to WebEngage, so your campaign reports stay accurate.
This guide walks you through the full setup, from creating an API key to launching a test campaign.
What's covered
Before you start
Make sure you have the following ready:
An active DoubleTick account with a WhatsApp Business API (WABA) number connected.
Admin access to your DoubleTick account.
Admin access to your WebEngage dashboard.
Access to Postman, which you will use once to register the delivery token.
The setup has four parts: creating an API key, adding DoubleTick as a provider in WebEngage, connecting delivery updates back to WebEngage, and creating your templates. Do them in this order.
How to create a DoubleTick API key

Log in to DoubleTick and go to Settings → Developer API.
Click Create new key.
Give the key a name you will recognise later, for example "webengage".
Click Copy key and save it somewhere safe. DoubleTick shows the key only once, so if you lose it you will need to regenerate it.
Keep this key handy. You will paste it into WebEngage in the next section and into Postman later.
How to add DoubleTick as a WhatsApp provider in WebEngage

Log in to WebEngage and go to Integrations → Channels → WhatsApp.
Scroll to Available WhatsApp Service Providers (WSP) and click Private WSP.
In the Add WhatsApp Service Provider (WSP) window, fill in the fields as follows:
WhatsApp Service Provider: Private WSP.
Configuration Name: DoubleTick.
WhatsApp Business Number: your WABA number with the country code.
URL:
https://public.doubletick.io/whatsapp/message/webengageRequest Type: Send personalization variables.
Click Add Header and enter Authorization as the key and your DoubleTick API key as the value.
Click Add WSP to save.
WebEngage now shows a pop-up titled Webhook URL for Delivery Reports. Copy this URL, because you need it in the next section. It looks like
http://wt.in.webengage.com/tracking/events.Click OK. DoubleTick now appears in your WhatsApp Service Provider (WSP) list as a Private provider.
How to set up the delivery report webhook in DoubleTick

To set up the delivery report webhook, you need a DSN token from WebEngage. You request this token from WebEngage support, then use it in a cURL request that registers the Delivery Report URL you copied from WebEngage with DoubleTick.
Email the WebEngage support team and ask for the DSN token for your private WhatsApp service provider setup. They will send you the token.
Copy the following cURL command:
Open Postman, click Import, paste the cURL command and press Enter. Postman fills in the method, URL, headers and body for you.
Replace the placeholders with your own details:
<ORG_PUBLIC_API_KEY>: the DoubleTick API key you created earlier.<WEBENGAGE_DSN_URL>: the Delivery Report URL you copied from WebEngage.<WEBENGAGE_DSN_TOKEN>: the token WebEngage support sent you.<YOUR_WABA_NUMBER>: your WABA number with the country code and no plus sign.
Click Send. A successful call means DoubleTick will now deliver message status updates to WebEngage with the token attached.
If you see a
403 Forbiddenresponse, check that the Authorization header holds your full, valid DoubleTick API key.
How to create templates in WebEngage
WebEngage needs its own copy of every template you want to send. Your template must already be approved in DoubleTick first. The template you create in WebEngage must be identical to the one in DoubleTick. If anything differs, the message will fail to send.
Create and get your template approved in DoubleTick as usual.
In WebEngage, go to Integrations → Channels → WhatsApp, and click Add WhatsApp Template under WhatsApp Templates.
Enter the same template name you used in DoubleTick.
Select DoubleTick (Private) as the WhatsApp Service Provider.
Choose the template type (Text, Image, Video, and so on), the category and the language to match your DoubleTick template.
Add the template text, footer and buttons exactly as they appear in DoubleTick. The name, category, language, text, footer and buttons must all match exactly.
Click Submit to save the template.
Repeat for every template you plan to use in campaigns.
How to send a test campaign
To send a test campaign, follow the steps in the official WebEngage documentation: Creating WhatsApp campaigns.
Key takeaways
The integration sends WhatsApp campaigns from WebEngage through your DoubleTick WABA number.
Create the DoubleTick API key first, then use it as the Authorization header in WebEngage.
Copy the Delivery Report URL from WebEngage.
Ask WebEngage support for the DSN token, then register the webhook in DoubleTick once with the Postman request.
Create every template in both DoubleTick and WebEngage. The two templates must be exactly identical, or the message will fail to send.
Send a test campaign before you launch to your full audience, using the official WebEngage documentation.
Frequently asked questions
Related articles
How to Create and Manage Your API Key in DoubleTickHow to use Message Status Update WebhookUnderstanding and Using Webhooks in DoubleTickHow to Create a Message TemplateCleverTap x DoubleTickLast updated