Loading

Use Data Loader to Bulk Assign Territories to Accounts in Salesforce Sales Territories

Veröffentlichungsdatum: Oct 8, 2026
Beschreibung

In Salesforce Sales Territories (formerly Enterprise Territory Management), the ObjectTerritory2Association object represents the relationship between a territory and an account record. Data Loader is the recommended method for bulk territory assignments when managing large account sets or performing programmatic assignments.

Lösung

This article answers the question: how do you use Data Loader to assign accounts to territories in bulk in Salesforce Sales Territories? The ObjectTerritory2Association object represents an association between a territory and an object record, such as an account. Load records into this object with Data Loader to create the territory assignments.

Steps to Bulk Assign Territories to Accounts with Data Loader

  1. Prepare a CSV file with the following column headers:
    • AssociationCause: the value should be 'Territory2Manual'
    • AccountId
    • Territory2Id
  2. Open Data Loader and click Insert.
  3. Log in using your Salesforce credentials.
  4. On the 'Select Salesforce object' box, select the 'Show all Salesforce objects' box, then highlight ObjectTerritory2Association.
  5. Choose the CSV file that was created in step 1.
  6. Click Create or Edit a Map, then select Auto-Match fields to columns.
  7. Click OK.
  8. Select the directory where your success and error files will be saved, then click Finish.
Nummer des Knowledge-Artikels

000388104

 
Laden
Salesforce Help | Article