Enterprise Territory Management
To retrieve the Users assigned to an Account via Territory Management, use Get Records with
the AccountUserTerritory2View Object. This will return a List that includes UserIds.
To view the Territories associated with an Account via Territory Management, use Get Records to query for Object Territory Associations (ObjectTerritory2Association) Object. Pass in your ObjectId and also provide the SobjectType. This will return a Territory ID (Territory2Id).