Integrate with CleverTap
Sendbird Notifications allows you to integrate with CleverTap, a multi-channel marketing tool. To send notifications using CleverTap, you must install Sendbird Notification Builder, a Chrome extension
Note : Before integrating with CleverTap, you need to create a template on Sendbird Dashboard first.
Set up your integration
To set up your CleverTap integration, turn on the Event callback option and fill in the Project ID, Passcode, and API endpoint.
List of configurations
When the following information is entered and saved, the CleverTap integration is added to your Sendbird Dashboard.
Configuration | Description |
---|---|
Event callback | Determines whether to send the delivery and read status of a notification to CleverTap. For more information, see details on CleverTap custom events |
Project details | Specifies the project ID and passcode found under Settings > Project on the CleverTap dashboard. |
CleverTap API endpoint | Specifies the CleverTap API endpoint. Copy and paste the API endpoint under API in the CleverTap documentation |
Install Sendbird Notification Builder
Install Sendbird Notification Builder as a Chrome extension
Map Sendbird user ID to CleverTap user ID
CleverTap creates a user profile for each person who uses your client app. User profiles have a set of default fields, such as email, phone number, and language. But you can also add more identifiers to the user's custom attributes. In order to map a Sendbird user ID to a CleverTap user ID, you need to add a Sendbird user ID as a custom identifier. Refer to the example code for CleverTap's Android SDK below.
To learn more about updating the user profile, see CleverTap's documentation guide
Set up campaign metrics
If you've turned on the Event callback feature on Sendbird Dashboard, a notification's delivery receipt and read receipt events can be integrated with CleverTap's custom eventsJSON
payload example of the callback. You can track the message's conversion rate with the value in the status
field.
Create a webhook template
Before sending any notifications through a Campaign or Journey, you need to add a webhook template on the CleverTap Dashboard under Settings > Engage > Channels > Webhooks in order to send a notification through Sendbird. Sendbird supports two different endpoints for sending notifications through the CleverTap integration, which are single and multi. The following table compares the different use cases between the single and multi endpoints.
single vs. multi
Endpoint | Description |
---|---|
single | Specifies the endpoint for sending a notification to users as a specific event takes place. The notification is sent directly to the target users in real-time and it's highly recommended to use the single endpoint with CleverTap Journey |
multi | Specifies the endpoint for sending a notification to a massive group of users. It's highly recommended to use the multi endpoint with CleverTap Campaign |
Once you decide which endpoint you want to use, select the + Add Webhook button and fill in the necessary information.
List of webhook parameters
Parameter | Description |
---|---|
Name | Specifies the webhook name. We recommend you name the webhook as |
Method | Specifies which action to take through the endpoint. This must be set to |
Destination URL | Specifies the CleverTap integration endpoint to use. They can be found on Sendbird Dashboard under Notifications > Integrations > CleverTap. These endpoints may look like this: |
Header parameters | Specifies the API token to authenticate. Add a key-value pair with |
Send a notification
You can now send a notification on the CleverTap dashboard. Select Sendbird as the Messaging Channel when creating a new Campaign. When creating a new Journey, select Webhook as the Messaging Channel. Then under Webhook, choose the webhook template for Sendbird. You can now go to the Editor page and select the template you created on Sendbird Dashboard to send your notification.