- 22 Aug 2025
- 4 Minutes To Read
- Print
- DarkLight
- PDF
Salesforce Lightning Integration
- Updated On 22 Aug 2025
- 4 Minutes To Read
- Print
- DarkLight
- PDF
Integrating Whatfix and Salesforce Lightning requires backend configuration that only Whatfix performs. Contact support@whatfix.com. to set up the integration.
Overview
The integration of Salesforce Lightning and Whatfix enables data sharing between applications, displaying contextual and targeted content to end users.
Each Salesforce Lightning user has a unique username (email address) used to identify end users at Whatfix.
Use cases
The integration enables the following use cases:
- Display Pop-ups to users who have not completed the demo, utilizing a custom variable from the Opportunity object.
- Auto-trigger a Flow for users in the next billing cycle.
- Display content based on users' lifecycle, department, and lead type, utilizing variables from multiple objects.
- Analyze search usage for users who provided an NPS score of 6 or less, identifying unsuccessful search terms to map knowledge gaps.
- Track new users' completion of onboarding tasks in the Task List and map their created support tickets.
- Analyze the usage of recently added features as part of the onboarding process.
- Track task usage and completion by users and generate a report on the Salesforce Lightning Dashboard.
How it works
Create an Integration
The Salesforce Lightning quick integration capability enables instant mapping of user fields available in Salesforce Lightning with Whatfix attributes for basic content segmentation.
Use the following steps to create a Salesforce Lightning quick Integration:
On the Whatfix Analytics dashboard, click Settings.
Under Integrations, click App integrations.
On the Dashboard tab, click the Salesforce tile.
Click Quick Integration.
Select the Salesforce environment that you want to integrate, and then click Sign in to Salesforce.
When the Salesforce Lightning login page loads, enter the login credentials and then click Log In.
If you're integrating Salesforce with Whatfix for the first time, click Allow to provide Whatfix access to the Salesforce account.
- To use the connection established between Whatfix and Salesforce Lightning, under Choose existing connection, select the connection that is generated using the dropdrown menu and enter a description.
The connection is automatically generated once you log in to Salesforce Lightning.
Click Next.
In the Choose Account tab, enter the account name.
Under Select User Identifier, select how you want to identify your users using the dropdown menu.
Click Next.
In the Map Salesforce Fields tab, the available Salesforce Lightning fields automatically map with Whatfix attributes.
Click Test to check if the integration is valid.
Once the test is completed, click Save & Schedule.
In the pop-up, click Edit Schedule.
Configure the following options:
- Start On: Set the start date and time period.
- Timezone: Specify the time zone from the dropdown for the specified dates to follow.
- Repeat: Configure the frequency of the Integration run during the selected time period.
- Ends
a. Never: This option runs the Integration forever.
b. On: This option lets you specify the end date and
time period for the Integration.
Click Save.
Use the following steps to create a Salesforce Lightning Integration:
On the Whatfix Analytics dashboard, click Settings.
Under Integrations, click App integrations.
On the Dashboard tab, click the Salesforce tile.
In the use case section, click Try it on the available template to get data from Salesforce Lightning.
If this template does not suit your use case, contact support@whatfix.com and try creating a custom integration using the Advanced Integration option.
Select the Salesforce Lightning environment that you want to integrate, and then click Sign in to Salesforce.
When the Salesforce Lightning login page loads, enter the login credentials and then click Log In.
If you're integrating Salesforce with Whatfix for the first time, click Allow to provide Whatfix access to the Salesforce account.
- To use the connection established between Whatfix and Salesforce Lightning, under Choose existing connection, select the generated connection from the dropdown menu and enter a description.
The connection auto-generates upon logging into Salesforce Lightning.
Click Next.
In the Choose Account tab, enter the account name.
Under Select User Identifier, select how you want to identify your users using the dropdown menu.
Click Next.
In the Map Salesforce Fields tab, select the fields that you want to map with Whatfix attributes.

- Click Done.
Click the Edit Mappings button to map additional fields.
Click Test to check if the integration is valid.
Once the test is completed, click Save & Schedule.
Configure the following options:
Start On: Set the start date and time period.
Timezone: Specify the time zone from the dropdown for the specified dates to follow.
Repeat: Configure the frequency of the Integration run during the selected time period.
Ends:
a. Never: This option runs the Integration indefinitely.
b. On: This option lets you specify the end date and
time period for the Integration.
Click Save.
Use User Attributes as Visibility Rules
The main objective of the Whatfix-Salesforce Lightning integration is to get data from Salesforce Lightning and map the available Salesforce Lightning fields as Whatfix user attributes for segmentation purposes.
On completion of the first integration run, these attributes are available in the Visibility Rules section of widgets under the User Attribute condition.
Use the following steps to add user attributes as Visibility Rules:
- Go to the Visibility Rules section of any widget.
If you're using the Advanced Visibility Rules, see Set Who can see your widget.
Select the User Attribute condition from the dropdown menu.
Select the attributes you want as part of the Visibility Rules, and then enter its value.
Complete the widget creation and then save the widget.