Skip to main content
Gainsight Inc.

Tutorial: Sync Company Updates to SFDC Account using Real-Time Rules

Gainsight NXT

This article supports Gainsight NXT, the next evolution of the Customer Success platform. If you are using Gainsight CS Salesforce Edition, you can find supporting documentation by visiting the home page, and selecting CS > Salesforce Edition.

Not sure what your team is using? Click here.

 

This article explains how to sync Company changes to SFDC Account using Real-Time Rules. 

Introduction

Using the Load to SFDC Account action type in Real-Time Rules, admins can now update SFDC Account immediately when the Company stage is changed. For more information on the Real-Time Rules feature, refer to the Real-Time Rules article.

Prerequisites

A connection between Gainsight and Salesforce accounts must be established in the beginning. For more information on how to connect a Salesforce org to Gainsight, refer to the Salesforce Connector article.

Configure Real-Time Rule

This section explains how to configure a Real-Time rule to sync Company stage changes to SFDC Account.

To configure the Real-Time rule:

  1. Navigate to Administration > Rules Engine > Real-Time Rules tab. 
  2. Click New Rule. A new page appears and you can view the following three tabs:
  • Details
  • Configure 
  • Actions

RTR-CreateRule.png

Details Tab

In the Details tab. 

  1. Enter the Rule Name as Stage Sync with SFDC.
  2. In the Folder field, select the folder in which you want to add this rule (or) by default, the rule is saved to the Uncategorized folder. 
  3. (Optional) Provide a brief description of the rule.
  4. Click Configure to update the rule details, and navigate to the Configure tab.

Details Tab-Tut1.png

Configure Tab

To configure a Rule:

  1. In the Select an Event section:
    1. From the Event Topic drop-down, select Company.
    2. From the Event drop-down, select Stage Changes.
      Note: By default, the Stage field is added to the list. Additionally, you can drag and drop other event fields to be synced to SFDC Account.
  2. Click Actions to update the rule details, and navigate to the Actions tab.

Configure Tab-Tut1.png

Actions Tab

To create an Action:

  1. Click Create Action.
  2. Select Load to SFDC Object action type.
    Note: By default, the SFDC connector name is auto-populated in the Connectors field.
  3. From the Object Name drop-down, select Account.
  4. From the Operation drop-down, select Update.
  5. In the Field Mappings section:
    1. From the Event Fields drop-down, select Old SFDC Account Id.
    2. From the Action Fields drop-down, select Account Id.
    3. Select the Identifiers check box to identify the records to be updated.
  6. Click Add Field and map New Stage to Gainsight Stage.
  7. Click Save Rule.
  8. Click Close.
  9. Turn on the Status toggle switch to execute the rule.

This rule is executed when there is a change in the Company stage, and the corresponding stage changes are updated in the SFDC Account.

 

  • Was this article helpful?