Boltic

Customer Data Platform

Overview

Boltic, a powerful platform for AI-driven workflows and automation, allows you to seamlessly connect various tools and services for efficient data synchronization and automation.

Boltic offers two seamless ways to integrate with CleverTap, allowing you to push user profiles and events (custom and predefined) efficiently. You can choose between:

Boltic helps centralize user data, automate workflows, and enhance engagement campaigns in CleverTap. Common use cases include:

  • Subscription Management: Send payment and subscription events (for example, renewals, cancellations, and so on) to CleverTap to drive targeted messaging.
  • Lifecycle Marketing: Send key lifecycle events (for example, Signup, Login, Purchase, and so on) to CleverTap to trigger automated engagement workflows.
  • E-Commerce Feedback: Send events to CleverTap after closing a support ticket, enabling feedback collection and engagement.

Prerequisites for Integration

The following are the prerequisites for Boltic:

  • For API-based Integration:
    • Boltic account with Webhook and API action permissions.
    • CleverTap account with valid Account ID, Passcode, and Region.
  • For Data Hub Stream Integration:
    • A Boltic account with access to Data Hub.
    • A CleverTap account with appropriate permissions to receive streamed data.

Integrate Boltic with CleverTap

Boltic offers two methods to integrate with CleverTap, allowing you to push user profiles and event data seamlessly:

Method 1: API-based Integration

With this method, you can directly transfer event and user profile data using Webhooks and API calls. To set up this integration, perform the following steps:

  1. Create Passcode on the CleverTap Dashboard
  2. Send Data to CleverTap (Using Webhooks & API Actions)

Create Passcode on CleverTap Dashboard

CleverTap uses a header-based authentication model to authenticate requests to the API. Every CleverTap API call must include the Account ID and Passcode as the request headers. To create a passcode, refer to Create Account Passcode.

Send Data to CleverTap (Using Webhooks & API Actions)

Boltic allows you to send user profiles and event data to CleverTap using triggers such as Webhooks, Fynd, Slack, Calendly, and Webflow. These triggers help automate data flow based on predefined conditions.

For example, you want to automate user engagement with CleverTap to run an E-commerce mobile app and want to:

  • Track New User Sign-ups: Every time new users register, their profile details (such as name, email, and phone number) should be updated in CleverTap to personalize their experience.
  • Capture Purchase Events: When a user makes a purchase, the event data (such as product ID, price, and currency) should be sent to CleverTap to trigger relevant engagement campaigns such as order confirmations, loyalty rewards, or cross-sell recommendations.

For this specific use case, we will use the Webhook trigger to send real-time data updates to CleverTap, tracking new user sign-ups (user profiles) and capturing purchase data (event data). To do so, follow these steps:

  1. Go to Workflows on the Boltic dashboard and click + Create Workflow and assign it a unique name.
  2. Set Up a Trigger to initiate actions when specific criteria are met, streamlining automation processes:
    1. Select Webhook from the Trigger dropdown.
    2. Click Webhook for configuration (refer to the following GIF):
      1. Select the appropriate authentication type from the dropdown.
      2. Enter a test payload in JSON format per the use case. The following are sample JSON payloads for pushing data.
        • Sample Payload for Sending User Profile Data (Track New User Sign-ups)
          //for pushing user profile
          {
            "payload": {
              "name": "John D",
              "user_id": "1717"
            }
          }
          
        • Sample Payload for Sending Event Data (Capture Purchase Events)
          //for pushing events 
          {
            "payload": {
              "user_id": "1717",
              "event_name": "Product Purchased",
              "properties": {
                "amount": 499.99,
                "currency": "USD",
                "product_id": "98765"
              }
            }
          }
          
  3. Click Save to test and save the trigger.
Set Up a Trigger

Set Up a Trigger

  1. Select the API Action to send the events or user profiles to CleverTap from Boltic whenever the trigger event occurs. Follow these steps:
    1. Drag the API block from the Helpers panel on the left and drop it below the Webhook block in the workflow.
    2. Click API for configuration:
      1. Set the HTTP Method to POST to send the events and user profiles to CleverTap.
      2. Enter the following CleverTap API endpoint URL, where you need to replace with the region of your CleverTap account. To know the region of your account, refer to API Quick Start Guide.
        https://.api.clevertap.com/1/upload
Select the API Action

Select API Action

  1. Configure Headers to connect the CleverTap Account. To do so, perform the following steps:
    1. Enter the required details in the headers to connect the CleverTap account.
      Use the same passcode obtained during the Create a Passcode on CleverTap Dashboard step.
    2. Add the following key-value pairs in the headers:
Header KeyDescription
Content-Typeapplication/json
X-CleverTap-Account-IdYour CleverTap Account ID
X-CleverTap-PasscodeYour CleverTap Passcode
Configure Headers

Configure Headers

  1. Configure the Request Body. Based on your use case, you can send user profiles or events (custom/predefined). Use the following payload structure in the API body:
{
  "d": [
    {
      "identity": "{{payload.user_id}}",
      "type": "profile",
      "profileData": {
        "Name": "{{payload.name}}",
        "Email": "{{payload.email}}"
      }
    }
  ]
}
{
  "d": [
    {
      "objectId": "{{payload.user_id}}",
      "type": "event",
      "evtName": "{{payload.event_name}}",
      "evtData": {
        "Product ID": "{{payload.properties.product_id}}",
        "Amount": "{{payload.properties.amount}}",
        "Currency": "{{payload.properties.currency}}"
      }
    }
  ]
}
  1. Click Save to save the API configuration.
Save API configuration

Save API Configuration.

  1. Click Test to verify the workflow. Check the inputs, outputs, and logs to verify:
    • Successful API requests.
    • Data reflecting accurately in CleverTap.
Test and Publish

Test and Publish

  1. Click Publish to activate the workflow after testing is successful.

After publishing the workflow for updating user profiles or uploading events, a new user is created, an existing user is updated, or an event is uploaded to the CleverTap dashboard every time a trigger occurs. CleverTap uses the Identity field to determine whether the action applies to a new or existing user.

Method 2: Data Hub Stream Integration

This method leverages Boltic Data Hub to automate event and user profile data flow from various sources to CleverTap.

To integrate using this method, perform the following steps:

  1. Create and Configure Data Stream
  2. Install and Verify the Data Flow

Create and Configure Data Stream

Setting up a data stream in Boltic allows you to collect, process, and forward data to CleverTap. This method is ideal for handling large-scale event flows without manual intervention. To do so, follow these steps:

  1. Go to your Boltic Dashboard and select Data Hub > Streams from the left navigation panel.
  2. Click + Create Stream to start setting up a new data stream.
Create Stream

Create Stream

  1. Select the data source you want to connect from the Select source dropdown to create for stream.
  2. If the source is not yet configured, click Add Source and follow the setup instructions.
Add Source

Add Source

  1. For this case, use the Javascript Source Integration.
Select type of source

Select the type of source

Install and Verify Data Flow

Once your stream is configured, the next step is to install the stream snippet at the source and verify that data is successfully flowing to CleverTap. This ensures a seamless integration with real-time event tracking. To do so, follow these steps:

  1. From the Destination dropdown, select CleverTap.
  2. If CleverTap is not yet configured, click Add Destination and enter your CleverTap account details.
Add Destination

Add Destination

  1. Click Test and Save to validate the configuration.
  2. After selecting the Source and Destination, click Create Stream. The newly created stream will now be visible in the Streams list in Boltic.
Stream

Create Stream

  1. Open the stream you created and scroll down to find the Install the stream snippet on your website for your selected source.
  2. Follow the installation instructions carefully, as steps vary depending on the source type.
Install the stream snippet on your website

Install Stream Snippet on your Website

Once the stream snippet is installed, real-time event data flows from the source to CleverTap.

Stream data

Stream Data

  1. To ensure the data is successfully reflected in CleverTap, go to the CleverTap Dashboard and check if the events and user profiles are updating as expected.
Verify data uploaded in CleverTap

Verify Data Uploaded in CleverTap

This alternative integration method offers an automated and scalable way to sync user data and events between Boltic and CleverTap, enabling enhanced tracking and engagement workflows.

FAQs

What are the key differences between API-based integration and Data Hub Stream integration?

Integration TypeBest ForProsCon
API-based (Webhooks & API Actions)Real-time event-driven automationProvides instant updates and requires a simple setupRequires API familiarity and may need rate-limiting
Data Hub Stream IntegrationBulk data synchronization from multiple sourcesScales well for large datasets and does not require API callsIt may introduce slight latency and require a more complex initial setup

Choosing the right method:

Why is data not appearing in CleverTap?

Check the following if the data is not appearing in CleverTap:

  • Ensure the CleverTap API keys (Account ID and Passcode) are correct.
  • Verify that the endpoint URL is correct for API-based integration (https://<region>.api.clevertap.com/1/upload).
  • Confirm that the source is correctly configured in Boltic for Data Hub Stream integration.
  • Activate the workflow after testing.