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:
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:
- Log into the Zapier Dashboard and click + Create Zap.

Create a Zap on Zapier Dashboard
- Set up a Trigger. To do so, perform the following steps:
- Select Salesforce from the App dropdown. This starts the Zap when a trigger occurs on Salesforce.
- Select Trigger Event from the dropdown list and then select New contacts for this use case.
- 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.
- Click Continue.

Set up a Trigger
- Click Test Trigger. This ensures that the right account is connected and the trigger is set up correctly.
- Select relevant Salesforce objects to monitor and click Continue.
- Select the Action that the zap must perform after the trigger occurs. To do so, perform the following steps:
- Select CleverTap from the App dropdown.
- 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.
- 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.
- Click Continue after successfully connecting your account.

Select Action for Zap
- Configure the Action. Map Salesforce data fields to CleverTap fields as follows:
CleverTap Field | Salesforce Field |
---|---|
Identity | Salesforce user ID field, email ID, or any unique identity field corresponding to the user. |
Creation Date | Date of the user creation in Salesforce. |
Profile Properties | Include 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
- Click Continue and click Test Step to test the zap after mapping the files.
- 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
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:
- Log into the Zapier Dashboard and click + Create Zap.
- Set up a Trigger. For this example, perform the following steps:
- Select Salesforce as the App. This starts the Zap when a trigger event takes place in Salesforce.
- Select Trigger Event from the dropdown list and select Updated Record in this case.
- 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.
- Click Continue.

Set up a Trigger
- Click Test Trigger. This ensures that the right account is connected and the trigger is set up correctly.
- Click Continue.
- Select the Action that the zap must perform after the trigger event occurs. To do so, perform the following steps:
- Select CleverTap from the App dropdown.
- 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.
- 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.
- Click Continue after successfully connecting your account.

Select Action for Zap
- Configure the Action. Map Salesforce data fields to CleverTap fields as follows:
CleverTap Field | Salesforce Field |
---|---|
User ID | Salesforce user ID field, email ID, or any unique identity field corresponding to the user. |
Creation Date | Event creation date. |
Event Name | You can select a predefined event or create a custom event. You can also map the event name using the Salesforce data fields. |
Event Properties | Include 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
- Click Continue. Click Test Step to test the zap after mapping the files.
- 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
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.
Updated 8 days ago