Salesforce CRM (via Zapier)

Customer Relationship Management

Overview

Salesforce is a leading CRM platform that helps businesses manage customer relationships, track sales activities, and automate workflows. By integrating Salesforce with CleverTap via Zapier, businesses can automatically sync customer data, track engagement, and trigger personalized campaigns based on sales interactions.

The following are some of the use cases that the CleverTap-Salesforce integration can address:

  • Automatically Sync Salesforce Contacts: When a new contact is added to Salesforce, create a user profile in CleverTap with details such as name, email, phone number, and lead status.
  • Update User Profiles with Sales Activities: When a lead progresses to a new stage in the sales pipeline (For example, from Prospect to Qualified Lead or Negotiation to Closed-Won) in Salesforce, update the user profile in CleverTap with the latest insights.
  • Trigger Personalized Campaigns: When a deal is closed in Salesforce, upload an event in CleverTap with event details such as deal value, close date, and salesperson information to trigger automated engagement workflows.

Prerequisites for Integration

The following are the prerequisites for Salesforce:

  • Ensure you have admin access to your Salesforce account.
  • Ensure you have an active Zapier account to create the CleverTap app.
  • Ensure you have a CleverTap account with valid Account ID, Passcode, and Region.

Integrate Salesforce with CleverTap using Zapier

The integration process involves the following two major steps:

  1. Create Passcode on CleverTap Dashboard.
  2. Create/Update User Profiles.
    OR
    Upload Event.

Create Passcode on CleverTap Dashboard

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

Create/Update User Profiles

Consider an example where you want to automatically sync new Salesforce contacts with CleverTap to trigger personalized engagement campaigns. This automation ensures that new contacts in Salesforce are added to CleverTap while existing profiles are updated when details change. To do so, perform the following steps:

  1. Log into the Zapier Dashboard and click + Create Zap.
Create a Zap on Zapier Dashboard

Create a Zap on Zapier Dashboard

  1. Set up a Trigger. To do so, perform the following steps:
    1. Select Salesforce from the App dropdown. This starts the Zap when a trigger occurs on Salesforce.
    2. Select Trigger Event from the dropdown list and then select New contacts for this use case.
    3. Select Account and sign in using your Salesforce account credentials. You can also connect a new account if your account does not appear in the dropdown.
    4. Click Continue.
Set up a Trigger

Set up a Trigger

  1. Click Test Trigger. This ensures that the right account is connected and the trigger is set up correctly.
  2. Select relevant Salesforce objects to monitor and click Continue.
  3. Select the Action that the zap must perform after the trigger occurs. To do so, perform the following steps:
    1. Select CleverTap from the App dropdown.
    2. Select Create/Update User Profile from the Action event dropdown. This implies that whenever a new contact is added in Salesforce, a new user profile is created, or an existing user profile is updated with the new information.
    3. Select Account to connect the CleverTap account. The Zapier window opens. Enter all the required details to connect to the CleverTap account. Enter the same passcode you obtained during the Create a Passcode on CleverTap Dashboard step.
    4. Click Continue after successfully connecting your account.
Select Action for Zap

Select Action for Zap

  1. Configure the Action. Map Salesforce data fields to CleverTap fields as follows:
CleverTap FieldSalesforce Field
IdentitySalesforce user ID field, email ID, or any unique identity field corresponding to the user.
Creation DateDate of the user creation in Salesforce.
Profile PropertiesInclude user properties in JSON format (such as name, email, role, and other custom properties).

🚧

Mapping Identity and Object ID

You can keep the Identity field blank if you provide an Object ID, and vice versa.

Configure the Action

Configure the Action

  1. Click Continue and click Test Step to test the zap after mapping the files.
  2. Click Publish.

After publishing this zap, a new user is created, or an existing user is updated on the CleverTap dashboard every time a trigger occurs. CleverTap uses the Identity field to identify if it is a new user or an existing user. You can verify this by checking your CleverTap dashboard to confirm the user profile has been created or updated.

Verify user in CleverTap

Verify user in CleverTap

Upload Event

Consider an example where you want to track key sales activities or the status of sales records in CleverTap, this automation helps by seamlessly syncing sales interactions from Salesforce to CleverTap. This enables real-time tracking, better visibility into customer touchpoints, and the ability to trigger personalized engagement strategies based on sales progress. To do so, perform the following steps:

  1. Log into the Zapier Dashboard and click + Create Zap.
  2. Set up a Trigger. For this example, perform the following steps:
    1. Select Salesforce as the App. This starts the Zap when a trigger event takes place in Salesforce.
    2. Select Trigger Event from the dropdown list and select Updated Record in this case.
    3. Select Account and sign in using your Salesforce account credentials. You can also connect a new account if your account does not appear in the dropdown.
    4. Click Continue.
Set up a Trigger

Set up a Trigger

  1. Click Test Trigger. This ensures that the right account is connected and the trigger is set up correctly.
  2. Click Continue.
  3. Select the Action that the zap must perform after the trigger event occurs. To do so, perform the following steps:
    1. Select CleverTap from the App dropdown.
    2. Select Upload Event from the Action event dropdown. This implies that whenever a record is updated, an existing user profile is updated with the new information.
    3. Select Account to connect the CleverTap account. For more information about how to do this, refer to step 5 (iii) under Create or Update User Profiles.
    4. Click Continue after successfully connecting your account.
Select Action for Zap

Select Action for Zap

  1. Configure the Action. Map Salesforce data fields to CleverTap fields as follows:
CleverTap FieldSalesforce Field
User IDSalesforce user ID field, email ID, or any unique identity field corresponding to the user.
Creation DateEvent creation date.
Event NameYou can select a predefined event or create a custom event. You can also map the event name using the Salesforce data fields.
Event PropertiesInclude metadata in JSON format (for example, event type, priority, event properties).

🚧

Mapping Identity and Object ID

You can keep the Identity field blank if you provide an Object ID, and vice versa.

Configure the Action

Configure the Action

  1. Click Continue. Click Test Step to test the zap after mapping the files.
  2. Click Publish.

After publishing this zap, an event is uploaded to the CleverTap dashboard every time a trigger occurs.
CleverTap uses the Identity field to identify if it is a new user or an existing user. You can verify this by checking your CleverTap dashboard to confirm if the event has been logged.

Verify Events in CleverTap

Verify Events in CleverTap

FAQs

What happens if I do not map the required fields?

Not mapping required fields may result in incomplete data transfer or failure to update user profiles and events correctly.