LeadSquared Export

Learn how to export lead data from CleverTap to LeadSquared.

Overview

LeadSquared allows you to receive lead data from CleverTap, enabling automated lead capture and CRM updates in real time.

๐Ÿšง

Support for Integration

This integration is managed and continuously improved by LeadSquared. The CleverTap and LeadSquared integration has undergone stringent testing to ensure seamless functionality. For any questions or issues, contact LeadSquared for support and resolution.

Export Lead Data from CleverTap to LeadSquared

To push lead data from CleverTap to LeadSquared using webhooks. To do so, follow these steps:

  1. Install the CleverTap Connector in LeadSquared
  2. Generate a Webhook URL in LeadSquared
  3. Configure Webhook in CleverTap
  4. Create Webhook Campaign

Install the CleverTap Connector in LeadSquared

Install the CleverTap connector to start capturing leads from CleverTap into LeadSquared. To do so, follow these steps:

  1. Go to Apps > Apps Marketplace in LeadSquared.
  2. Search for CleverTap and click Install.
  3. After installation, click Configure.
Install the CleverTap Connector in LeadSquared

Install the CleverTap Connector in LeadSquared

  1. Grant connector access by role or user-level settings:
    • Based on Role: Choose roles from the Specify Roles dropdown.
    • Advanced (User Level): Select a user boolean field that controls access.
User-level settings

User-level settings

  1. Click Save Details to apply settings.

๐Ÿ“˜

Note

All Admin users have access to the connector by default.

Generate a Webhook URL in LeadSquared

Generate a webhook URL in LeadSquared to push lead data into CleverTap. To do so, follow these steps: in LeadSquared that can be used to automate the data push into CleverTap.

  1. Go to Apps > CleverTap.
  2. Enter the following details:
PropertyDescription
Lead SourceDefine the lead source (for example, CleverTap).
Default Country CodeAdds country code if missing in leads.
Select Time ZoneAligns with your CleverTap account time zone.
Lead Capture Search By CriteriaPrimary lead identifier (for example, email or mobile).
Lead Capture Secondary Search By CriteriaFallback identifier if the primary fails.
Select User to Notify on FailureSelect the user who receives sync failure alerts.
Enable NotificationToggle to send failure alerts via email.
  1. Configure Entity Options to define sync behavior:

    • Capture (Create and Update existing)
    • Create only new record
    • Update only existing record
Configure Entity Options

Configure Entity Options

  1. On the Mapping screen:
    • Review auto-mapped CleverTap to LeadSquared fields.
    • To set default values, click the edit icon, enter value, and save.
    • Disable any fields not needed.
    • Use the search key icon to mark a unique identifier.
    • Add custom fields if required and map them accordingly.
Mapping

Mapping

  1. Click Save & Next to generate the webhook URL.
  2. Copy the webhook URL for use in CleverTap.
  3. Go to More Actions > Enable Sync Job to activate data flow.
Copy Webhook URL

Copy Webhook URL

๐Ÿ“˜

Note

To view job history, Go to More Actions > View Logs.

Configure Webhook in CleverTap

To enable real-time lead capture, create and configure the CleverTap webhook using the URL generated in LeadSquared. To do so, follow these steps:

  1. Go to Settings > Channels > Webhook in the CleverTap dashboard.
  2. Click + Add Webhook.
  3. Enter the following configuration:
FieldValue
NameEnter a unique nickname for your webhook (for example, LeadSquared)
HTTP MethodPOST
Endpoint URLPaste the URL copied in step 6 of Generate a Webhook URL in LeadSquared.
AuthenticationSelect No Authentication.
HeadersAdd a Key/Value pair to the events that trigger this webhook.
Configure Webhook in CleverTap

Configure Webhook in CleverTap

  1. Click Save to validate the configuration.

Once saved and tested successfully, the webhook can export lead data from CleverTap to LeadSquared.

Create Webhook Campaign

After configuring your webhook in CleverTap, you must create a campaign that triggers the webhook and sends data to LeadSquared. To do so, follow these steps:

  1. Go to the Campaigns page, click + Campaign, and select Webhook from the list of messaging channels.
  2. Under the What section, select the Webhook created in the Configure Webhook in CleverTap section.
    • Select JSON as the content format.
    • Select Custom Body.
Webhook Content

Webhook Content

  1. In the Webhook Content, paste the following sample payload:
{
  "RelatedProspectId": "{{ Profile.Identity | default: 'NULL' }}",
  "ActivityEvent": 201,
  "ActivityNote": "Lead has read the email at {{ Profile.data | default: '0' }} tracked via MoEngage",
  "ActivityDateTime": "{{ Profile.purchase_date | default: '0' }}",
  "Fields": [
    {
      "SchemaName": "Platform",
      "Value": "Email"
    },
    {
      "SchemaName": "mx_Custom_2",
      "Value": "{{ Profile.QualtricID | default: 'N/A' }}"
    },
    {
      "SchemaName": "mx_Custom_3",
      "Value": "custom_value"
    }
  ]
}

You can dynamically personalize values using Liquid tags ({{ }}). For example, {{ Profile.Identity }} picks the LeadSquared prospect ID of the user, and {{ Profile.purchase_date }} dynamically fills in the userโ€™s last purchase date.

  1. Click Preview and Test to validate the payload and campaign behavior.
  2. If everything works as expected, click Publish.

Once launched, CleverTap will trigger the webhook to LeadSquared when the specified event and audience conditions are met, ensuring real-time data sync.