--- title: "Load to Cases Action Type" slug: "load-to-cases-action-type-1" updated: 2026-11-23T12:31:41Z published: 2026-11-23T12:31:41Z canonical: "support.gainsight.com/load-to-cases-action-type-1" --- > ## 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 to 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. **Business Use Case:** Admins want to update the existing data in the Case object. ![Cases AT1.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Cases_AT1.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A04%3A38Z&se=2026-11-24T18%3A04%3A38Z&sr=b&sp=r&sig=VT2UrivcoT3ui2cbV%2Bt9oFGQE43EEBJt%2FWLeZLDdhek%3D) ## Prerequisite You must install the cases object using any of the following connectors: - **ServiceNow**. For more information, refer to the [*ServiceNow Connector*](/v1/docs/servicenow-connector) article. - **FreshDesk**. For more information, refer to the [FreshDesk Connector](/v1/docs/freshdesk-connector) article. - **Zendesk**. For more information, refer to the [Zendesk Connector](/v1/docs/zendesk-connector) 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. For more information on how to create a dataset, refer to the [*Fetch Data*](/v1/docs/create-tasks-in-rules-engine#fetch-data) section of the Folder and Tasks Creation article. - **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. For the information on how to create a dataset from a CSV file in the S3 bucket, see the [*S3 Dataset Task in the Rules Engine*](/v1/docs/s3-dataset-task-in-rules-engine) article. ## Setup Action: Load to Cases To configure the Load to Cases action type: 1. Navigate to the **Setup Action** page. 2. Click **+ ACTION**. 3. From the **Action** drop-down, select the **Load to Cases** action type. 4. 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. 5. *(Optional)* Enter a description in the **Description** field. [Embedded content](https://player.vimeo.com/video/586246413?h=17edd5a610) 6. *(Optional)* In the **Lookup Field Mappings** section, click the **Import Lookup** icon to map the lookup fields. ![Cases AT3.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Cases_AT3.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A04%3A38Z&se=2026-11-24T18%3A04%3A38Z&sr=b&sp=r&sig=851FnxoCtw0NwbQ8uxY0%2FjWILuZPEEX6So3S31IDgNE%3D) 7. In the **Field Mappings** section, map the fields as required. **Note:** Mapping of **External ID** and **Source Org ID** fields is mandatory to complete the Load to Cases action type process. ![Cases AT4.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Cases_AT4.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A04%3A38Z&se=2026-11-24T18%3A04%3A38Z&sr=b&sp=r&sig=TOmDq1M2LaVZDLuCh0tTo9TbS92MhAt0CBcWzNBHt08%3D) 8. In the **Additional Information** section, select the source id instance from the drop-down to add the sub-domain of the connection. ![Cases AT5.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Cases_AT5.png?sv=2026-02-06&spr=https&st=2026-11-24T17%3A04%3A38Z&se=2026-11-24T18%3A04%3A38Z&sr=b&sp=r&sig=SIKpv4f1s3JK7PnuuacpgEb7j0oc5qFJrgQURP%2F0O8w%3D) 9. Click **SAVE** to save the Action and run the rule or configure the rule schedule. For more information on how to configure the rule schedule, refer to the [*Schedule and Execute Rules*](/v1/docs/schedule-and-execute-rules-1) article.