☰ Menu

Territory Assignment

Last update: August 13, 2025

In this article:

To assign an Account record (or any app record) to a specific territory, follow these steps:

Create the Territory Field

  • Field Name: Territory

  • Type: Reference field pointing to the Territories app.

  • Purpose: Stores the territory name.

  • In the Territories app, include a Regex field to handle the complex U.S. ZIP code patterns and map them to their corresponding U.S. state.

Set Up the Automation

Use an Assign Record automation on the Accounts app.
Trigger: After Create/Update on the Location.Zip Code field.

Configuration:

  • Style: Select Territory.

  • Territory App: Choose the app containing the ZIP code Regex patterns.

  • Matching Rules:

    • Field: Location.Zip Code (from Accounts)

    • Operator: Contains

    • From: Triggering Record

    • Value: Location.Zip Code (from Territories)

Note: These are two different fields—one in Accounts, one in Territories.

  • Rule Evaluation Order:

    • Sort By: ID

    • Direction: Ascending

Set Fields for the Assignment

Assign two fields in the automation:

  1. Territories – Merge with the ID of the matching record from the Territory field in the Territories app.

  2. Name – Pull the territory name from the Territories app and display it in the Territory field in Accounts.

This setup ensures that when an account’s ZIP code matches a pattern in the Territories app, it is automatically assigned to the correct territory.

Picture of Manuel Saucedo
Manuel Saucedo

Technical Writer

🙄

😐

😊

😍

0

Welcome to servis.ai Free Edition

Link your email to begin

Continue with Google

Continue with Microsoft

By continuing, you agree to servis.ai Terms of Use. Read our Privacy Policy.

Get Started with servis.ai

30-minute demo where you see servis.ai in action.

Unlock the essential servis.ai features at no cost.

servis-logo

How can I be of servis?

How can I be of servis?