--- title: "Tutorial: Sync Company Updates to SFDC Account using Real-Time Rules" slug: "tutorial-sync-company-updates-to-sfdc-account-using-real-time-rules" updated: 2026-11-23T12:31:35Z published: 2026-11-23T12:31:35Z canonical: "support.gainsight.com/tutorial-sync-company-updates-to-sfdc-account-using-real-time-rules" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Tutorial: Sync Company Updates to SFDC Account using Real-Time Rules Gainsight NXT 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*](/v1/docs/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*](/v1/docs/salesforce-connector-2) 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](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/RTR-CreateRule(2).png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A05%3A05Z&se=2026-11-24T19%3A05%3A05Z&sr=b&sp=r&sig=xro0Llsmr3ew3t1ev5W%2F58yUGE6la0lUUgO3lwLNNig%3D) ### 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](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Details_Tab-Tut1.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A05%3A05Z&se=2026-11-24T19%3A05%3A05Z&sr=b&sp=r&sig=GaepLAdjQP%2Bs1uj67YzpFdX6E3r1C2J4Fo08Ev7zgtY%3D) ### 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](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Configure_Tab-Tut1.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A05%3A05Z&se=2026-11-24T19%3A05%3A05Z&sr=b&sp=r&sig=3tynYPcZovyGX%2B2yzF9LmqLKwdaoe6MqK%2BNy6pERtQ8%3D) ### 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. [Embedded content](https://player.vimeo.com/video/485910605) This rule is executed when there is a change in the Company stage, and the corresponding stage changes are updated in the SFDC Account. [Embedded content](https://player.vimeo.com/video/485910656)