Top
Salesforce Lightning Integration
  • 27 Aug 2024
  • 4 Minutes To Read
  • Dark
    Light
  • PDF

Salesforce Lightning Integration

  • Dark
    Light
  • PDF

Article summary

Note

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

salesforce_integration_how_it_works 1


Create an Integration

Salesforce Lightning quick 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:

  1. On the Whatfix Guidance dashboard, click Settings.
    ia_left_nav_settings

  2. Click App integrations.
    ia_left%20nav_app%20integrations

  1. On the Dashboard tab, click the Salesforce tile.
    Salesforce_tile

  2. Click Quick Integration.
    salesforce_quick_integration

  3. Select the Salesforce environment that you want to integrate, and then click Sign in to Salesforce.
    sign_in_to_salesforce

  4. Once the Salesforce Lightning login page loads, enter the login credentials and then click Log In.
    SF_INT_Login

  5. 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.
    2022-07-20_15-28-09

your title goes here

The connection is auto generated once you log in to Salesforce Lightning.

  1. Click Next.
    salesforce_next

  2. In the Choose Account tab, modify the auto-populated account name, if required.
    account_name

  3. Under Select User Identifier, select how you want to identify your users using the dropdown menu.
    select_user_identifier

  4. Click Next.
    2022-07-20_16-28-48

your title goes here

In the Map Salesforce Fields tab, the available Salesforce Lightning fields are automatically mapped with Whatfix attributes.
map_salesforce_fields

  1. Click Test to check if the integration is valid.
    SF_test

  2. Once the test is completed, click Save & Schedule.
    sf_save_schedule

  3. In the pop-up, click Edit Schedule
    2022-07-20_16-53-081

  4. 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.

    2022-07-20_16-53-28

  5. Click Save.

Salesforce Lightning Integration

Use the following steps to create a Salesforce Lightning Integration:

  1. On the Whatfix Guidance dashboard, click Settings.
    ia_left_nav_settings

  2. Click App integrations.
    ia_left%20nav_app%20integrations

  1. On the Dashboard tab, click the Salesforce tile.
    Salesforce_tile

  2. Under the use case section, to get data from Salesforce Lightning, click Try it on the available template.
    salesforce_try_it

your title goes here

If this template does not suit your use case, contact support@whatfix.com and try creating a custom integration using the Advanced Integration option.

  1. Select the Salesforce Lightning environment that you want to integrate, and then click Sign in to Salesforce.
    sign_in_to_salesforce

  2. Once the Salesforce Lightning login page loads, enter the login credentials and then click Log In.
    SF_INT_Login

  3. 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.
    2022-07-20_15-28-09

your title goes here

The connection is auto generated once you log in to Salesforce Lightning.

  1. Click Next.
    salesforce_next

  2. In the Choose Account tab, modify the auto-populated account name, if required.
    account_name

  3. Under Select User Identifier, click the dropdown and choose how you want to identify your users.
    select_user_identifier

  4. Click Next.
    2022-07-20_16-28-48

  5. In the Map Salesforce Fields tab, select the fields that you want to map with Whatfix attributes.

  1. Click Done.

2022-07-20_17-22-28

your title goes here

Click the Edit Mappings button to map additional fields.
edit_mappings

  1. Click Test to check if the integration is valid.
    SF_test

  2. Once the test is completed, click Save & Schedule.
    save_and_schedule

  3. 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.

      2022-07-20_16-53-28

  4. 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:

  1. Go to the Visibility Rules section of any widget.
    2022-07-20_19-55-16

  2. Select the User Attribute condition using the dropdown menu.
    int_user_attribute

  3. Select the attributes you want as part of the Visibility Rules, and then enter its value.
    user_attribute

  4. Finish creating the widget.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.