--- title: "Load to Cases Action Type" slug: "load-to-cases-action-type" updated: 2026-11-23T12:31:35Z published: 2026-11-23T12:31:35Z canonical: "support.gainsight.com/load-to-cases-action-type" --- > ## 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. # Load to Cases Action Type Gainsight NXT This article explains how admins can use the Load to Cases action type to Upsert/Update records in the Case Object. ## Overview The **Load to Cases** action type using Rules Engine is used to Upsert/Update the records into the Case Object. Users can either use the data that is present in a Gainsight Object or through an S3 file. Gainsight recommends reading the configuration of the Rules Details, Data Setup, and Schedule steps before reading this article. For more information, refer to the *Create New Rule* section of the [*Rules Engine Horizon Experience Overview*](/v1/docs/rules-engine-horizon-experience-overview) article. ## Load Data to Rules Engine You can load data into the Rules engine from any of the following channels. - **Any Gainsight object:** If your Data is present in an object, create a dataset to fetch data from the object. - **S3 Dataset Task:** If you store your business contacts data in a CSV file and upload it into an S3 bucket, you can create a dataset by fetching data in this CSV file. ## Configure Load to Cases Action To configure the Load to Cases action type: 1. In the **Action Setup** step, hover on the dataset. The *Add Action* icon appears. 2. Click the *Add Action* icon. The *Add Criteria* slide-out panel appears. 3. *(Optional)* Click **Add Criteria** to define a filter criteria for the dataset. 4. Click **Continue** to navigate to the *Add Actions* step. 5. From the **Create Action** drop-down list, select the **Load to Cases** action type. 6. In the *Load to Cases* section, provide the following details: ![Reuse Source field.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Reuse_Source_field.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A44%3A23Z&se=2026-11-24T17%3A44%3A23Z&sr=b&sp=r&sig=divWlRU0HKILdwSXRa9shO6uSfr2iA5SV4LWwTgPtbs%3D) [Embedded content](https://player.vimeo.com/video/778771907?h=5830980642) 1. In the **Operation** drop-down, select one of the following options: - **Update:** Use this operation type to change the existing records in the case object that satisfies the identifiers selected in the Field Mapping section. - **Upsert:** Use this operation type to update any matching records or create new records in the case object if no matching records exist. 2. *(Optional)* Enter a description for a rule action. 3. In the **Additional Information** section, select the Source Instance Id from the drop-down to add the sub-domain of the connection. 4. In the **Field Mappings** section, map the fields as required. **Note:** - Mapping of **External ID**, **Source Org ID, Case Priority, and Case Status** fields are mandatory to complete the Load to Cases action type process. - Any Bionic rules migrated to Horizon rules have to map **Case Status** and **Case Priority** (mandatory fields) while editing the **Load to Cases** action type. 1. Select the **Target Fields** where the data should be loaded. **Note:** When mandatory fields are mapped, a green tick mark appears next to them, and Customize Mapping also gets automapped. 2. *(Mandatory)* Select at least one *Include in Identifiers* checkbox. It helps to avoid data duplication. 3. *(Optional)* Add a **Default Value**. 4. **Note**: This value is loaded in the target field in case the source field value is invalid or not available. 5. Configure the **Define Lookup** operation. It fetches the source field data from an intermediate object and loads it into the target field. 5. **Custom Field:** This option lets you provide a custom value to the target field in the Case object. Click **Custom Field**. Provide the following details: 1. From the drop-down list, select **Target Fields**. 2. Enter the value that should be loaded in the selected target fields. 6. **Reuse Source Field:** This option allows you to reuse a source field from the list of source fields already selected. The configuration remains the same as the **Source Fields** that are elaborated above. **Note:** If you choose the field *Name* directly from the source, you cannot use the same source field again in the mapping process. If you need both fields, convert one of them into a lookup using the define lookup option. 7. Click **Save Actions**. ## Additional Resources - [*Rules Engine Horizon Experience Overview*](/v1/docs/rules-engine-horizon-experience-overview)