- 27 Aug 2024
- 4 Minutes To Read
-
Print
-
DarkLight
-
PDF
Salesforce Lightning Integration
- Updated On 27 Aug 2024
- 4 Minutes To Read
-
Print
-
DarkLight
-
PDF
Integrating Whatfix and Salesforce Lightning requires backend configuration that can only be done by Whatfix. Contact support@whatfix.com. to set up the integration.
Overview
With Salesforce Lightning and Whatfix integration, share data between applications to show contextual and targeted content to users.
Each Salesforce Lightning user has a unique username (email address) used to identify end users at Whatfix.
Use cases
Here are some use cases that are possible using this integration:
- Show Pop-ups to users who have not taken the demo yet using a custom variable from the Opportunity object.
- Auto-trigger a Flow to users who are in the next billing cycle.
- Show content based on the users' lifecycle, department, lead type using variables from multiple objects.
- Check the search usage for users who have given an NPS score of 6 or less and get all unsuccessful search terms to selectively map the knowledge gaps.
- Track how new users are completing the onboarding tasks in the Task List and map the support tickets created by them.
- Check the usage of recently added features and their usage as part of the onboarding process.
- Track the usage and completion of tasks by your users and create a report on the Salesforce Lightning Dashboard.
How it works
Create an Integration
With the Salesforce Lightning quick integration capability, user fields available in Salesforce Lightning are instantly mapped with Whatfix attributes for basic content segmentation.
Use the following steps to create a Salesforce Lightning quick Integration:
-
On the Whatfix Guidance dashboard, click Settings.
-
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.
-
Once the Salesforce Lightning login page loads, enter the login credentials and then click Log In.
-
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 auto generated once you log in to Salesforce Lightning.
-
Click Next.
-
In the Choose Account tab, modify the auto-populated account name, if required.
-
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 are automatically mapped 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
-
The following are various options that you can configure.
- Start On: Set the start date and time period.
- Time zone: Specify the time zone from the drop-down 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 Guidance dashboard, click Settings.
-
Click App integrations.
-
On the Dashboard tab, click the Salesforce tile.
-
Under the use case section, to get data from Salesforce Lightning, click Try it on the available template.
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.
-
Once the Salesforce Lightning login page loads, enter the login credentials and then click Log In.
-
To use the connection established between Whatfix and Salesforce Lightning, under Choose existing connection, select the connection that is generated using the drop-drown menu and enter a description.
The connection is auto generated once you log in to Salesforce Lightning.
-
Click Next.
-
In the Choose Account tab, modify the auto-populated account name, if required.
-
Under Select User Identifier, click the dropdown and choose how you want to identify your users.
-
Click Next.
-
In the Map Salesforce Fields tab, select the fields that you want to map with Whatfix attributes.
![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Map%20fields.gif?sv=2022-11-02&spr=https&st=2024-09-08T00%3A55%3A36Z&se=2024-09-08T01%3A05%3A36Z&sr=c&sp=r&sig=hB7UCQX%2FIjHs7mQVTU2lZyzp8y%2BCZGsmazmJ4Pf93mI%3D)
- 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.
-
The following are the options that you can configure,
-
Start On: Set the start date and time period.
-
Time zone: Specify the time zone from the drop-down 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 User Attributes as Visibility Rules
The main objective of 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.
-
Select the User Attribute condition using the dropdown menu.
-
Select the attributes you want as part of the Visibility Rules, and then enter its value.
-
Finish creating the widget.