--- title: "Rules Engine Horizon Experience Overview" slug: "rules-engine-horizon-experience-overview" updated: 2026-11-23T12:31:35Z published: 2026-11-23T12:31:35Z canonical: "support.gainsight.com/rules-engine-horizon-experience-overview" --- > ## 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. # Rules Engine Horizon Experience Overview Gainsight NXT This article explains the Rules Engine Horizon Experience’s overall insights and its impact on different modules. ## Overview The Rules Engine Horizon Experience helps admins create rules to trigger CTAs, update scorecard measures, load data into Gainsight objects and analyze data from Gainsight objects. Rules Engine can also perform multiple fetches and transformations in a single rule, including tasks to fetch data from multiple sources, merge, aggregate, pivot, and then load to an object. Gainsight has redesigned the Rules Engine, powered by Gainsight Horizon Experience. The new Rules Engine comes with an enriched visual experience to make it easier for the admins to build and understand rules. In addition to enhanced user experience, new features are added and the existing functionalities are improved. For more information on the changes implemented, refer to the [*Change Document for Rules Engine Horizon Experience*](/v1/docs/change-document-for-rules-engine-horizon-experience) article. ## Create a New Rule Rules Engine is a one-stop location where the admins can set up a rule with the preferred data setup, add criteria, and set up actions on the datasets and schedule rules based on time or event. To create a new rule: 1. Navigate to **Rules Engine > Rules List** tab. 2. From the **Create Rule** dropdown list, select Horizon Rules. The *Rule Details* screen appears, with the following four tabs: [Embedded content](https://player.vimeo.com/video/778889753?h=b958e07eab) ### Rule Details The Rules Details section enables admins to work with multiple data sets from multiple Objects; as well as process the data and perform actions. Provide the following details in the Rule Details tab: - **Rule For:** Select the *Company* or *Relationship* option. - **Rule Name:** Enter the name. - **Folder:** From the **Folder** dropdown list, select the desired **Folder**. - **Relationship Types** *(Optional)*: From the **Relationship Types** dropdown list, select the Relationship Type. - **Rule Description:** Enter the description and click **Continue.**The Rule Details are saved successfully and the *Data Setup* screen appears. - **Additional Options:** - **Execution Logs: Navigate to the Execution Logs page to view the details of execution.** - **Run Now: Schedule rule runs for a specific date.** For more information, refer to the *Run Now* section in the [*Rule Chain*](/v1/docs/rule-chain#run-now) article. ![New Rule Details (1) (1).jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/New_Rule_Details_(1)_(1).jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=oeV81ufqlQS1c%2Ffiu1cNwtLq6n9%2B6V8zkzubBlgHus8%3D) ### Data Setup For a new rule, data can be set up from different data sources. Following two options are available for the admins: - Import data from a single object where a data set is already created or stored. - Import data from a prepared dataset in which you can bring the data from different objects from different resources, transform them, and merge them. #### Select an Object In this section, the data is imported from a single object where a data set is already created or stored. To set up a data from a single object: 1. Navigate to **Rules List > Create Rule > Horizon Rules > Data Setup.** The *Data Setup* screen appears. 2. Select the *Select an object* option. 3. From **Select an Object** dropdown list, select the object. 4. Click **Preview Dataset**. The selected object pane appears with the data which are already stored in it. [Embedded content](https://player.vimeo.com/video/778843322?h=5100729dc4) 1. Click *plus* icon to select the columns to be displayed on the selected object pane. The *Add or Remove Columns* dialog box appears on the screen. 2. Select or Unselect the desired columns. 3. Click **Apply.** The selected columns appear on the screen. 5. Click **Continue.** The Data Setup for the Rule is saved successfully. #### Prepare Dataset In Prepare Dataset you can transform, merge, and union two different objects and create a Dataset. It helps you to explore and analyze the data to see its usability and make it permanent across Gainsight. To prepare dataset for a rule: 1. Navigate to **Rules List > Create Rule > Horizon Rules > Data Setup.** The *Data Setup* screen appears. 2. Select *Prepare Dataset* option. 3. From the **Data Source** dropdown list, select a source. [Embedded content](https://player.vimeo.com/video/778891630?h=fd07a621a7) All Salesforce connections added in Connectors are listed here, including connections that may no longer be active. Object listings are specific to the selected connection. ![Data Source dropdown in Rules Engine Data Setup showing multiple authenticated Salesforce connections available for selection.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Engine_Data_Source.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=7nx8%2B4%2BrCeKqag7WwHqom6a2dbaeOjk%2FkZN6u7UZlLY%3D) Following functionalities can be used while preparing a dataset: - [Edit Dataset](/v1/docs/rules-engine-horizon-experience-overview#edit-dataset) - [Transform](/v1/docs/rules-engine-horizon-experience-overview#transform) - [Merge](/v1/docs/rules-engine-horizon-experience-overview#merge) - [Union](/v1/docs/rules-engine-horizon-experience-overview#union) - [Pivot](/v1/docs/rules-engine-horizon-experience-overview#pivot) - [Auto Arrange Datasets](/v1/docs/rules-engine-horizon-experience-overview#auto-arrange-datasets) - [Preview Dataset](/v1/docs/rules-engine-horizon-experience-overview#preview-dataset) - [Delete](/v1/docs/rules-engine-horizon-experience-overview#delete) - [Preview Output Dataset](/v1/docs/rules-engine-horizon-experience-overview#preview-output-dataset) - [Export to S3](/v1/docs/rules-engine-horizon-experience-overview#export-to-s3) - [Save Dataset as Design Template](/v1/docs/rules-engine-horizon-experience-overview#save-dataset-as-design-templates) #### Edit Dataset To edit a Dataset, click the **Edit** icon (or) click **Options,** and then click **Edit** to edit a dataset**.** You are navigated to the page where you can see **Details & Summary**, **Fields,** and **Filters** tabs. #### Details & Summary You can see the following options in the **Details &** **Summary** tab: - **Object Name**: Displays the Original Name of the Object that specific Dataset is built on. - **Data Source Name**: Displays the name of the Data Source. - **Output Dataset Name**: In the **Output Dataset Name** text box, type In the **Dataset Name**, if you want to edit the Dataset Name. - **Description**: Enter the Description of the Dataset as required. - **Fields & Filters**: You can view a list of **Fields** (including Group By, if any) and **Filters** in the Dataset. [Embedded content](https://player.vimeo.com/video/778894182?h=d61c9e5247) #### Fields You can see the following options in the **Fields** tab: - **Search Fields**: In the **Search Fields** text box, type in the **Field Name** you want to search for. Search operation happens on the fields available in the Dataset. **Note**: When a user enters the Field name, the search functionality fetches the fields from the base object. To further extend your search on lookup objects, ensure that you expand the lookup object before you make a search. - **Add Fields:** Click **Add Fields** to select the required fields you want to add to the dataset, and then click **Select**. - **Group By**: You can select the required fields to Group By, to slice and dice the data in the dataset. Once you select a Field to Group By, all the other fields in the dataset become aggregated. **Note**: Group By only supports aggregated fields and Rich text fields do not support Group By. - **Aggregation**: You can select the required aggregation type from the **Aggregation** dropdown list. - **Display Name**: By default, **Field Name** name appears in the **Display Name** text box, if required you can modify it. Display Names are shown in the Datasets/reports. - **Settings**: [Embedded content](https://player.vimeo.com/video/778896181?h=830d835041) - For the numeric data type fields, you can set the decimal places. Click the Settings icon to enter the decimal places you want to set - If the Salesforce Picklist/Multi-picklist fields you wish to set-up has already been added to the dataset: 1. Click the Settings icon in the right corner. 2. Enable the Convert to Picklist toggle button 3. Select the required dropdown list from the Map to MDA Dropdown List. **Note:** - Before you map the Salesforce Picklist to Gainsight’s Dropdown list, ensure that you have already created an equivalent Dropdown list in Gainsight. For more information on how to create a Dropdown/Multi-select Dropdown list, refer to the Dropdown List and Multi Select Dropdown List article. - If you have not created an equivalent MDA Dropdown in Gainsight and mapped to the required Salesforce Picklist, the values are shown as null. - After the setup is complete, users can see the Picklists in Gainsight’s Filters and Global Filters. - To change the data type of a *Picklist, click Settings* and select *Duplicate Field*. The *String* data type of *Picklist* is displayed - **Delete**: Click the **Delete** icon to remove a field from the dataset. **Note**: If you try deleting a field from a dataset that is a dataspace, Data Designer displays a notification that informs you to **Check Dependencies**. This prevents you from accidentally deleting a field that is already used in a dataspace. - **Save**: Click **Save** to save the changes made in the dataset. - **HTML Tags**: The *HTML Tags* automatically detects Rich Text fields. By default the *HTML Tags* switch is Toggled On. **Note:** The HTML Tag is useful for exporting to S3 and for maintaining single data consistency. ![HTML tag.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/HTML_tag.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=GT96IKib8AIgxfRvZinDH2kQ4RfcT680LTbLIOM3f9o%3D) #### Cascade Add Cascade Add functionality allows you to add a field to a dataset, and thereafter this field automatically gets added to all of the next datasets (end tasks) in that design. > [!NOTE] > Note > > - The default aggregation of the Measure type field added using Cascade Add functionality is Sum*.* Once the field is added, you can change the aggregation based on your requirement. > - The default aggregation of the Dimension type field added using Cascade Add functionality is Count*.* Once the field is added, you can change the aggregation based on your requirement. Assume, you have a design as shown in the following image, and you might want to add a new field to the end task. Instead of adding the new field to each of the tasks separately from the starting, using Cascade Add functionality you can add the new field to all the tasks at a time by adding that field to the parent dataset. ![casscade.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/casscade.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=G%2FbEZ58Y7L9KJD3gWoYjVHyegoJQNs0BI03ToSwGtQw%3D) To perform Cascade Add: 1. Click **Add Fields**. 2. Select the required fields. 3. Click **Select**. 4. Click **Save**. The *Newly added fields* window appears. **Note**: You can see the list of new fields in this window. 5. Click **Yes Add**, to add the selected new fields to the end tasks. [Embedded content](https://player.vimeo.com/video/778900136?h=04e6a52e62) #### Cascade Delete Cascade Delete allows you to delete a field from a dataset, and thereafter this field automatically gets deleted from all of the subsequent datasets in that design. If the design is a Dataspace, and when you try deleting a field from the last dataset, a notification is displayed to *Check Dependencies* across other functionalities of Gainsight. To perform Cascade Delete (Design is a Dataset): 1. Click the **Delete** icon. 2. The **Field(s) being used in other tasks** dialog appears. 3. Click **Yes Delete** to delete the field from the subsequent datasets. 4. Click **Save**. [Embedded content](https://player.vimeo.com/video/778902302?h=08641c6e47) #### Filters To apply Filters: 1. Navigate to the **Filters** tab. 2. Click **Add Filter**. 3. Select the field you want to filter on. 4. Choose the operator and then input the data in the **Value** text box. > [!NOTE] > Note > > - You can also **Add** more filters by clicking the **+** icon next to **Value** text box. > - You can **Delete** a filter by clicking the **x** icon. > - You can add advance filters such as (A OR B) AND C, type in your desired expression in the **Advanced Logic** text box. 5. Click **Save**. ![Filters.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Filters.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=zJhO70sOPMMzv5CkCklmtHO56cdNKF7NwyMdB1si%2Fjc%3D) #### Transform Transform allows you to apply **Formula Fields** and **Case Expressions** on the fields added to the dataset. To apply Transformation on a dataset, click **Options** on the dataset you want to apply transformation, and then click **Transform.** A new window with the dataset name *Transform* appears, where you can see **Details & Summary**, **Fields** and **Filters** tabs. #### Fields After you apply Transformation on a dataset, you can create Formula Fields and Case Fields upon the fields added to the transformed dataset. Formula Fields and Case Fields in the Preparation Details of Data Designer work as the Formula Fields and Case Fields in Horizon Rules. #### Add Formula Field To create a Formula Field: 1. Click **Add Formula Field**. 2. Enter the Formula Field name in the **Label** text box. 3. Select the required Data Type (String or Date or Number). > [!NOTE] > Note > > - Select the data type, based on the output field you want. For example, if you want to see the output as the number of days/weeks/months, then select the output data type as the number. > - Functions and Fields may differ based on the selection of the data type. > - For Number data type, you can select the Expression Type as **Function or Expression** from the Expression Type dropdown list. 4. Select the required **Function** of your choice, and then select/enter the Values and/or Fields. 5. Click **Save** to save the formula field. 6. Click **Save** to save the Transform dataset. You can preview the records of the newly created formula fields, by clicking **Preview** on the Transform dataset. [Embedded content](https://player.vimeo.com/video/778907086?h=30045928d5) #### Add Case Field You can use the Case Expression formula field to categorize data, based on a specific set of requirements. You can use this Formula function **to create an output Field**. This output field has values for the records that match your specific set of requirements. Case Fields in the Preparation Details of Data Designer work as the Case Fields in Bionic Rules. To create a Case Field: 1. Click **Add Case Field**. 2. **Label**: Enter the Formula Field name in the **Label** text box. 3. Select the required **Data Type** (Number/String/Boolean). The options present in the Case Output depends on the Output data type. **Note**: If you select **Number** in the **Data Type,** select the number of decimal places up to which the output must be displayed, for floating point numbers. 4. **Case:** Case consists of the Criteria(s). You can add multiple criteria by clicking **+**. 5. **Criteria**. The various fields present in a Criteria are: 1. **Field:** Select the field on which the Criteria must be applied. All the fields included in the Dataset are displayed. 2. **Operator:** Select an Operator to be applied on the field. The operators are displayed based on the field selected. 3. **Matching Criteria:** Select the matching criteria which must be satisfied, for this criteria to be successful. You can either select: - **Value:** Enter a value which must match the field value. - **Field:** Select a field whose value must match the value of the field, selected in the first field. 6. **Advanced Logic**: When you have multiple criteria, select the logical operator to be applied between those criteria(s). By Default, the **AND** logic is applied. 7. **Then**: If all the criteria(s) are matched, the action specified in this field is executed. The options available in this field depend on the value selected in the **Output Data Type** field. 8. **Default**: This field represents the default case. There are no criteria for this case. It only has action. If all the cases fail, this case is executed. 9. Click **Save** to save the case expression. 10. Click **Save** to Transform dataset. ![case field builder.jpeg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/case_field_builder.jpeg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=sbSVy%2F%2FvzCqTA7V00rFgZQAzbd8PKqUEJokofV4yrAs%3D) **Execution of the Case Expression in detail:** 1. Execution of the Case Expression begins with the evaluation of the first case on a record. If all the criteria, in this case, are satisfied by the record, the action associated with this case is executed. The execution of Case expression halts here for this record and none of the other cases are evaluated. 2. However, if the first case is not satisfied, the system evaluates the second case on the same record, and so on. If none of the available cases are satisfied by the record, the default case is executed. #### Filters Filters in **Transform** work as Filters in **Edit Dataset.** For more information, refer to the [Filters](/v1/docs/preparation-details-in-data-designer#filters) section. #### Details & Summary Summary details in **Transform** are the same as **Details &** **Summary** details in Edit Dataset. For more information, refer to the [Details & Summary](/v1/docs/rules-engine-horizon-experience-overview#details-summary) section. #### Merge You can merge datasets in the following ways: 1. Click **Options** on the dataset you want to merge**,** and then click **Merge** and select the required dataset. (OR) 2. Drag and drop the first dataset on to the second dataset**.** After you merge the datasets, a new window with the dataset name *Merge* appears, where you can see **Details & Summary**, **Join**, **Fields** and **Filters** tabs. ![Merge (1).jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Merge_(1).jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=pYnqOQi%2Fm0SSxKuLUJx%2FBlOsxnn3Y%2FAAowY6JQ96Nfk%3D) #### Join Basic JOIN clauses are used to combine rows from two or more tables, based on a common field between them. There are four types of Joins supported in Gainsight: Inner Join, Left Join, Right Join, and Outer Join. Each join type, when used with a Merge task in Data Designer, produces a slightly different data set. - **Inner Join**: this join retains common records from both datasets. - **Left Join:** this join retains all the records from the left dataset. - **Right Join:** this join retains all the records from the right dataset. - **Outer Join:** this join Retain all records from both datasets. To Join two datasets: 1. Navigate to the **Join** tab. 2. Select the required **Join** type. 3. Select a field from each dataset to set the criteria. For example, the Company Name in the first dataset is Name*,* and Company Name in the second dataset is Company Name. 4. Click **+** to add multiple field mappings. This helps filter the records. 5. Click **Save**. [Embedded content](https://player.vimeo.com/video/778910166?h=62b377dde2) #### Fields You can see the following options in the Fields tab: - **Search Fields**: In the **Search Fields** text box, type in the **Field Name** you want to search. Search operation happens on the fields available in the Dataset. - **Select All:** Select/Deselect the checkbox to Add/Remove the fields from the merged dataset (or) You can also select/deselect the individual field checkboxes. - **Display Name:** By default, **Field Name** name appears in the **Display Name** text box, if required you can modify it. Display Names are shown in the Datasets/reports. - **Save**: Click **Save** to save the changes made in the merged dataset. ![Merge Field.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Merge_Field.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=1e0ffK5RlYVRG9JVry09GnnGuMhQRQ4PzuRDl6z0BNM%3D) #### Filters Filters in **Merge** work as Filters in **Edit Dataset.** For more information, refer to the [Filters](/v1/docs/rules-engine-horizon-experience-overview#filters) section. #### Details & Summary Summary details in **Merge** are the same as **Details & Summary** details in Edit Dataset. For more information, refer to the [Details & Summary](/v1/docs/rules-engine-horizon-experience-overview#details-summary) section. #### Union **Union** function in Data Designer combines the two datasets in a way that all the similar type fields automatically get unified into one dataset. If there are any other fields in the two datasets that are not similar, you can select and add them. **Example Business Use Case:** For example, you want to combine the data of two objects (with similar fields) that have the data from Europe and US region customers. > [!NOTE] > Note > > - Unified fields inherit the properties of Master fields such as Data Type, Decimal Points etc. > - Other than Unified fields, you can also add additional fields from the datasets. If there is no data in the columns, it is considered as Null. > - You can select either to remove or not to remove the duplicate fields in the output data. To use Union function: 1. Click **Options** on the dataset you want to apply union, and then click **Union** and select the dataset. You are navigated to the **Union** tab. 2. Select the **Union Type**. You can select from the following options: - **Union**: Select this to remove duplicates in the output data. - **Union All**: Select this to retain duplicates in the output data. 3. In the *Map Fields to Merge* section, select a field from each dataset to set the merge criteria. 4. Click **+** to add multiple field mappings, if required. This helps you filter the records. 5. Navigate to the **Fields** tab to view the Unified Fields, select the Master Field (from the datasets), select/deselect the fields, and change the Display Name of the fields. **Note**: You can also select additional fields from the dataset, if required. 6. Click **Save**. [Embedded content](https://player.vimeo.com/video/778913034?h=f58ca4ed65) #### Pivot In a dataset, the Pivot task transforms the data available in a single table column into multiple columns in one go. The Pivot task creates a column for every single data value in the table column. This enhances the data summarization process to get better insights into the data. **Pivot Function**: Pivot rotates a table-valued expression by turning the unique values from one column in the expression into multiple columns in the output. **Example Business Use Case:** A Customer Success Director wants to find patterns in CTA Type by CSM and optimize CTA Types, and so on. To use the Pivot functionality, navigate to the ***Administration > Data Designer > Open a Dataset >*** *click* ***Options >*** *click* ***Pivot****.* ![Pivot.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Pivot.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=Jul0%2BB2Q51fEOLXS%2Bt94jbaSj1zrmY4s5nSQRuqNZ80%3D) #### Auto Arrange Datasets With **Arrange Design** option, you can automatically arrange the datasets in the **Preparation** tab, with a single click. If there are numerous datasets in your design, you can make use of the options such as, *Zoom In* and *Zoom Out* and *Pan* as shown in the following image. ![Arrange data.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Arrange_data.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=nyXnEvIfK8sWpJqjTPXYpaQWIg0XcG9YyX6bzJ5Jyew%3D) #### Preview Dataset To Preview Dataset, click the **eye** icon (or) click **options**, and then click **Preview Dataset.** In Preview*,* you can view upto 2k records. Preview for *Merge* and *Transform*, will display initial 2k records and in some cases this might result in smaller datasets or no rows. **Maximize**: You can also view the sample data in a full screen view by clicking the **Maximize** icon on the **Preview** tab. **Refresh**: Click the **Refresh** icon on the **Preview** tab to refresh the sample data, if you have edited the dataset. **Sort operation**: This option enables you to sort all the records when there is a large dataset. [Embedded content](https://player.vimeo.com/video/778915066?h=80fc3b8a99) #### Delete If you wish to delete a dataset permanently from a Data Design, click **Options**, and then click the **Delete** icon. #### Preview (Output Dataset) To Preview Output Dataset: 1. Click **Preview** on the upper right corner of the Design page (or) Navigate to the output/last dataset in the design. 2. Click the **eye** icon (or) click **Options** 3. Click **Preview**. ![Preview outset.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Preview_outset.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=omi0XQGpfcYYkkKh%2F7knymEHtCw6V1E1rcSzrcj2j9A%3D) #### Export to S3 The **Export to S3** feature allows you to export output data at a dataset level directly. ![S3.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/S3.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=oQqMSqFRkrp9WuJc71SnveRpM5lvqKDcMuChXQa4uQY%3D) #### Save Dataset as Design Templates Once the dataset is created, users can save this design as Design Template, that can be used a base design for create similar dataset with variations. To save a dataset as Design Template: 1. Click **Save As**.The **Save As Design Template** dialog is displayed. 2. From **Save as Design Template** dialog, select one of the following options: - **Save as New** to save a new *Design Template*. - Select **Update Existing**, to update an already existing template. 3. Click **Save Template**. [Embedded content](https://player.vimeo.com/video/778917609?h=5f947cf11a) > [!NOTE] > Note > > For an existing rule, you are automatically directed to the **Data Setup** step, where you can make necessary changes and continue to the **Actions Setup** step. ![Edit Data set.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Edit_Data_set(1).jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=v75lRvPE8YS9GCRq6U0mwQT7AEkdJMLi%2Fs%2Bd2dWmKjk%3D) ### Action Setup Following Gainsight modules plays an important role in the Rules Engine Action Setup as: #### Success Plan #### Success Plans Action Type The update Success Plan action type enables admins to update the fields values for Success Plans automatically. For example, admins can create a rule that reassigns the ownership of all Success Plans belonging to a selected type to one user. Once the rule is triggered, all the Success Plans belonging to the selected type will be reassigned to the new owner automatically. For more information on how to configure the Success Plans action type**,** refer to the [*Success Plans Action Type*](/v1/docs/success-plan-action-type) article. [Screen Recording 2022-12-01 at 08.50.30 PM](https://player.vimeo.com/video/777019815?h=375dbf7fb2&badge=0&autopause=0&player_id=0&app_id=58479) #### Scorecard #### Load to Scorecard History The Load to Scorecard History action type allows admins to update new records or insert new records in the history of the scorecard. For more information on how to configure the *Load to Scorecard History* action type, refer to the [*Load to Scorecard History Action Type*](/v1/docs/load-to-scorecard-history-action-type) article. [Embedded content](https://player.vimeo.com/video/777307434?h=19179c6c6c) #### Set Score 2.0 The Set Score 2.0 action type allows admins to automatically update scores for selected measures. For more information on how to configure the Set Score 2.0 action, refer to the [*Set Score 2.0 Action Type*](/v1/docs/set-score-2-0-action-type) article. [Embedded content](https://player.vimeo.com/video/777307384?h=cc37044856) #### People Load #### Load to People Action Type The **Load to People** action type is used to load data into the Person, Company Person, and Relationship Person objects. For more information on *Load to People*, refer to [*Load to People Action Type*](/v1/docs/load-to-people-action-type) article. [Embedded content](https://player.vimeo.com/video/777251549?h=c2327bc7f8&title=0&byline=0&portrait=0) #### Cockpit #### Create Call to Action This action type enables admins to create CTAs automatically using Rules Engine. For example, admins can define a rule that automatically creates a CTA if there is a drop in revenue, low NPS® score etc. For more information on how to configure the Create CTA action type, refer to the [*Create CTA Action Type*](/v1/docs/create-cta-action-type) article. [Embedded content](https://player.vimeo.com/video/778852567?h=da9e296d53) #### Update Call to Action This action type enables admins to update CTAs automatically using Rules Engine. For example, admins can create a rule that updates the owner of CTAs in case the current is deactivated. The CTAs that are to be updated can be added to the dataset while configuring the rule. For more information on how to configure the Update CTA action type, refer to the [*Update CTA Action Type*](/v1/docs/update-cta-action-type) article. [Screen Recording 2022-12-01 at 08.50.30 PM](https://player.vimeo.com/video/777019815?h=375dbf7fb2&badge=0&autopause=0&player_id=0&app_id=58479) #### Close Call to Action This action type enables admins to close CTAs automatically using Rules Engine. For example, consider a scenario where CTAs were created automatically due to low usage. Once the usage increases above a certain threshold, the admin needs to close these CTAs. In such cases, the Close Call to Action action type enables admins to close CTAs automatically through Rules Engine. For more information on how to configure the Close CTA action type, refer to the [*Close CTA Action Type*](/v1/docs/close-cta-action-type) article. [Embedded content](https://player.vimeo.com/video/778853544?h=042af76063) #### Survey #### Load to Survey When the survey engagements are built for third-party applications, the responses and metrics cannot be automatically viewed in Gainsight CX. The **Load to Survey** action type in the Rules Engine allows end-users to have *automated ingestion* of such external survey responses into Gainsight in order to build enriched CX Analytics. For more information on how to configure the Load to Survey action type, refer to [*Load to Survey Action Type*](/v1/docs/load-to-survey-action-type) *article.* [Embedded content](https://player.vimeo.com/video/777244061?h=8bb2684ed2&title=0&byline=0&portrait=0) #### Connectors #### Load to Cases The Load to Cases action type allows admins to use Upsert/Update records in the case object. For more information on how to configure the Load to Cases, refer to the [*Load to Cases*](/v1/docs/load-to-cases-action-type) article. [Embedded content](https://player.vimeo.com/video/778771907?h=5830980642) #### Load to HubSpot The Load to HubSpot action enables data synchronization from Gainsight and HubSpot. Use Rules Engine to prepare the dataset from various standard and custom objects in Gainsight, followed by the Load to HubSpot Action to send the data to the Company and Contact objects in HubSpot. For more information on how to configure the Load to HubSpot action type, refer to the [*Load to HubSpot Action Type*](/v1/docs/load-to-hubspot-action-type) article. ![Load to Hubspot 11.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Load_to_Hubspot_11.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=pwukqErrNNUomeU6t8AaWtuB8VZN3f%2FTEdyQHo3CD7s%3D) #### User #### Load to User The Load to User action type enables admins to Update existing records in the user object. For more information on how to configure the Load to Cases, refer to the [*Load to User Action Type*](/v1/docs/load-to-user-action-type) article. [Rules Engine](https://player.vimeo.com/video/778437491?h=6edbc01d7d&title=0&byline=0&portrait=0&speed=0&badge=0&autopause=0&player_id=0&app_id=58479) #### PX Connection #### Load to PX The Load to PX action type allows admins to load data into PX Account and User entities. For more information on how to configure the load to PX, refer to the [*Load to PX Action Type*](/v1/docs/load-to-px-action-type) article. [Embedded content](https://player.vimeo.com/video/778793657?h=0d3eca52fa) #### Business Modeller #### Load to RelationshipV2 Load to RelationshipV2 action type helps admins to create Relationships automatically. This action type is useful when admins want to create a relationship for every new opportunity won.For more information on how to configure *Load to RelationshipV2*, refer to [*Load to RelationshipV2 Action Type*](/v1/docs/load-to-relationshipv2-action-type) article. [Embedded content](https://player.vimeo.com/video/777252804?h=0d8dd197d6&title=0&byline=0&portrait=0) #### Load to Company Load to Company action type helps admins load data into the Company standard object from the dataset created in the Setup Rule page. For more information on how to configure *Load to Company*, refer to [*Load to Company Action Type*](/v1/docs/load-to-company-action-type) article. [Embedded content](https://player.vimeo.com/video/777254784?h=7aed7d7bcf&title=0&byline=0&portrait=0) #### Revenue Optimization #### Load to GS Opportunity The Load to GS Opportunity action type enables admins to load or update the data available in any Gainsight object that is relevant to the GS Opportunity object. For more information on how to configure the *Load to GS Opportunity* action, refer to the [*Load to GS Opportunity Action Type*](/v1/docs/load-to-gs-opportunity-action-type) article. [Embedded content](https://player.vimeo.com/video/777307481?h=d80f78a774) #### Load to GS Lead Action Type The Load to GS Lead action type enables admins to load the data available in any Gainsight object to the GS Lead object. The action also enables them to import leads data available in different Customer Relationship Management (CRM) tools to Gainsight. This helps admins to maintain information about leads at one place. For more information on how to configure the *Load to GS Lead* action, refer to the [*Load to GS Lead Action Type*](/v1/docs/load-to-gs-lead-action-type) article. [Embedded content](https://player.vimeo.com/video/777307518?h=e8acae4031) #### Load to GS Company Forecast Action Type The Load to GS Company Forecast action type allows admins to load updated data in the account level view to reflect changes that happen post the initial deployment of account based forecasting. They can also use this rule action to load custom fields from the Company object. For more information on how to configure the Load to GS Company Forecast action, refer to the [*Load to GS Company Forecast Action Type*](/v1/docs/load-to-gs-company-forecast-action-type) article. ![Horizon Rules_Load to GS Company Forecast Action Type 2.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Horizon_Rules_Load_to_GS_Company_Forecast_Action_Type_2.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=H2FujphjdIRGDIbYIfIHRGANjT7ePqGZShHkqELmtq0%3D) #### Timeline #### Load to Activities The Load To Activities action type helps create rules that automatically create Milestone Activities from Rules Engine. Admins can select system-defined or custom milestone types, provided that they are currently in active state. The milestone activities appear on the Timeline list view page, once the rule is triggered. For more information on how to configure Load to Activities action type, select the [*Load to Activities*](/v1/docs/load-to-activities) article. [Embedded content](https://player.vimeo.com/video/778855746?h=87d3602462) #### Others #### Call External API The Call External API action type allows admins to establish a connection with external systems from within Gainsight and request action from the external system via an API For more information on how to configure Call External API, refer to the [*Call External API*](/v1/docs/call-external-api-action-type) article. [Embedded content](https://player.vimeo.com/video/778441351?h=e965a93ba2) #### Load to Gainsight Object The Load to Gainsight Object action type allows admins to load data into Gainsight objects. For more information on how to configure the Load to Gainsight Object , refer to the [*L oad to Gainsight Object Action Type*](/v1/docs/load-to-gainsight-object-action-type) article. [Embedded content](https://player.vimeo.com/video/778778109?h=415e2919ec) #### Load to SFDC Object The Load to SFDC action type allows admins to load Gainsight data into Salesforce objects. All Salesforce connections added in Connectors, including connections that may no longer be active, are available in the *Connectors* dropdown in the action setup. Object listings are specific to the selected connection. Admins can insert, update, or upsert records to any of the listed Salesforce instances. ![Load to SFDC Object action setup in Rules Engine showing the Connectors dropdown with a secondary Salesforce connection selected and field mapping configured.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Engine_Load_SFDC.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=4biu%2FGeqiDtie5spgIzbpWc1MN7MatwhlC39AuwOcWo%3D) For more information on how to configure the load to SFDC Object, refer to the [*Configure Load to SFDC Objects Action Type*](/v1/docs/configure-load-to-sfdc-objects-action-type) article. [Embedded content](https://player.vimeo.com/video/778466312?h=efe2c8ec6a) #### Duplicate a Branch in an Action Setup The duplicate branch feature in Horizon Rule allows admins to easily duplicate a whole branch of actions for any rule. This feature is particularly useful when admins need to implement distinct actions based on different conditions while creating rules. Instead of recreating the criteria and actions from scratch, admins can duplicate an existing set of criteria + actions that closely resemble their requirements. They can then make modifications to the duplicated branch to tailor it to their specific business needs. This not only saves admins valuable time but also ensures efficient rule creation. **Methods to Duplicate a Branch:** There are two ways to duplicate a branch **Method 1:** 1. Navigate to any existing rule **Action Setup** step. 2. From the **Criteria**, click the three vertical dots. 3. From the list, select **Duplicate Branch**. The *Criteria page* appears. 4. Rename the Criteria and Click **Continue**. The *Action page* appears. 5. Make the necessary changes on the *Action page* and Click **Save Actions**. The Duplicate Branch is created successfully. ![Duplicate Branch.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Duplicate_Branch.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=n%2B9zDOKNZuB%2FjVn0RBYMpHY0%2BMDBzAJiNI2aPvCWO5I%3D) **Method 2:** 1. Navigate to any existing rule **Action Setup** step. 2. Click Action. The *Add Actions page* appears. 3. Click the three vertical dots. 4. Select **Duplicate Branch.** 5. Make the necessary changes in the *Add Actions page* and Click **Save Actions**. The Duplicate Branch is created successfully. ![Duplicate Branch 2.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Duplicate_Branch_2.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=z7NtUjmCEhNcgTZqpRWdYzI0qlMx0tcdSPY1vRZ2Ga4%3D) #### Ranking Actions for Execution Order Admins can set the ranking order of actions based on their requirements. This empowers admins to fine-tune the **Actions Execution Order**. For instance, let's consider a scenario where admins want to optimize data management by first removing outdated scores before assigning a green status to high-usage accounts. This capability ensures that data operations align precisely with the business objectives, contributing to a more streamlined and effective workflow. ![Setting Scorecard for Sentiment 2023-12-11 at 3.40.21 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Setting_Scorecard_for_Sentiment_2023-12-11_at_3.40.21_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=4bD7DvlYalNzI%2F7iW4UYIcWk1LYnaL8IjXVKsTh7454%3D) In the following image, actions are displayed with assigned rankings. Shifting *Load to SFDC Object* from rank 4 to rank 2 causes a reorganization. The action originally at rank 2 - *Load to Company*, is subsequently positioned at rank 3, while the one initially at rank 3, *Load to Company* is now moved down to rank 4. This illustrates the dynamic impact of modifying the ranking order. ![rankActionsMigration 2023-12-06 at 11.23.54 AM (1).jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/rankActionsMigration_2023-12-06_at_11.23.54_AM_(1).jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=6erCcuzJHnv0djx971kNlnpxw%2BumAebCfPf1A%2BmettQ%3D) To reorder the ranking order of an action: 1. Navigate to any existing rule **Action Setup** step. 2. Click on any action. The *Add Action page* appears. 3. Click the three vertical dots menu. 4. Select **Actions Executions Order**. The *Actions Execution Order dialog box* appears. ![rankActionsMigration 2023-12-06 at 12.06.11 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/rankActionsMigration_2023-12-06_at_12.06.11_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=q7Upmuuhydh2DDWT2QV0d9SMchcxdEH%2BztKB%2BMlHxac%3D) 5. Click **+** icon to select either Criteria, Task, or both as additional columns. **Note:** The **Actions Execution Order** feature allows you to reorder the sequence of actions and add two additional columns, Criteria and Task, alongside the default column headings for better clarity. ![Rank Order Testdffhf 2023-12-12 at 5.11.20 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rank_Order_Testdffhf_2023-12-12_at_5.11.20_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=ix%2BJRQI63RZwe6jlrPXs409QrcH6HciEuNfolBJfNq8%3D) 6. Click **Apply**. The selected columns are added to the *Actions Execution dialog box*. ![Rank Order Testdffhf 2023-12-12 at 5.20.57 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rank_Order_Testdffhf_2023-12-12_at_5.20.57_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=J5L1ghK473onKD6crCS%2BUorT%2FyChIHVcqTtwy8zsmQo%3D) 7. To Rank an action, there are two methods: ![rankActionsMigration 2023-12-06 at 12.13.43 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/rankActionsMigration_2023-12-06_at_12.13.43_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=%2FuOsDocWG73OG3K%2B8t1OYkJdDANRowskF2uX6goebV0%3D) 1. Click on the number and change it (or) 8. Drag-and-Drop the action. ![rankActionsMigration 2023-12-06 at 12.16.55 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/rankActionsMigration_2023-12-06_at_12.16.55_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=QSe9KPb%2FmeKA4tbLaZc4FQ2zI3cVgIHH8jS9V%2FT9b2M%3D) 9. Click **Save**. The ranking order of the actions gets changed. ![rankActionsMigration 2023-12-06 at 12.23.39 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/rankActionsMigration_2023-12-06_at_12.23.39_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T17%3A17%3A33Z&se=2026-11-24T18%3A17%3A33Z&sr=b&sp=r&sig=8%2BkJwGKiaPq144ZdRl61J5j4we0mOBu192VMoW99K8I%3D) ### Schedule A particular rule can be scheduled for execution, or you can create a Rule Chain to manage running a collection of connected rules in reverse chronological order. For more information on how to schedule a rule, refer to the [*Schedule and Execute Rules*](/v1/docs/schedule-and-execute-rules) article. ## Limitation - The Rules Engine can follow the below given functions, but does not support the delete function, and should not be used to try and delete data in Gainsight. - **Insert**: It creates new records. - **Update**: Updates the existing record as per the chosen identifier. - **Upsert**: Updates any matching records, and if no matching records are found, new records are created. - Salesforce does not support retrieving data from lookup fields in the Opportunity object's Contact ID field, thus we do not provide support for this functionality. - Real-time bi-directional sync with Salesforce applies only to the primary Salesforce org. Secondary Salesforce orgs are updated based on the rule schedule you configure. - App-level integrations, including Cockpit, Timeline, and Renewal Center, continue to sync solely with the primary Salesforce org, regardless of additional Salesforce connections configured in Connectors. ## Additional Resources - [*Change Document for Rules Engine Horizon Experience.*](/v1/docs/change-document-for-rules-engine-horizon-experience) - [*Success Plans Action Type*](/v1/docs/success-plan-action-type) - [*Load to Scorecard History Action Type*](/v1/docs/load-to-scorecard-history-action-type) - [*Set Score 2.0 Action Type*](/v1/docs/set-score-2-0-action-type) - [*Load to People Action Type*](/v1/docs/load-to-people-action-type) - [*Create CTA Action Type*](/v1/docs/create-cta-action-type) - [*Update CTA Action Type*](/v1/docs/update-cta-action-type) - [*Close CTA Action Type*](/v1/docs/close-cta-action-type) - [*Load to Survey Action Type*](/v1/docs/load-to-survey-action-type) - [*Load to Cases*](/v1/docs/load-to-cases-action-type) - [*Load to User Action Type*](/v1/docs/load-to-user-action-type) - [*Load to PX Action Type*](/v1/docs/load-to-px-action-type) - [*Load to RelationshipV2 Action Type*](/v1/docs/load-to-relationshipv2-action-type) - [*Load to Company Action Type*](/v1/docs/load-to-company-action-type) - [*Load to GS Opportunity Action Type*](/v1/docs/load-to-gs-opportunity-action-type) - [*Load to GS Lead Action Type*](/v1/docs/load-to-gs-lead-action-type) - [*Load to GS Company Forecast Action Type*](/v1/docs/load-to-gs-company-forecast-action-type) - [*Load to Activities*](/v1/docs/load-to-activities) - [*Call External API*](/v1/docs/call-external-api-action-type) - [*Load to Gainsight Object Action Type*](/v1/docs/load-to-gainsight-object-action-type) - [*Configure Load to SFDC Objects Action Type*](/v1/docs/configure-load-to-sfdc-objects-action-type) - [*Schedule and Execute Rules*](/v1/docs/schedule-and-execute-rules) - [*Rule Chain*](/v1/docs/rule-chain#run-now) *Net Promoter®, NPS®, NPS Prism®, and the NPS-related emoticons are registered trademarks of Bain & Company, Inc., NICE Systems, Inc., and Fred Reichheld. Net Promoter ScoreSM and Net Promoter SystemSM are service marks of Bain & Company, Inc., NICE Systems, Inc., and Fred Reichheld.*