Create Customer Location when Opportunity closes

CRMMarketing

What it does

When an opportunity stage changes to Closed Won in Salesforce, this automation searches for related accounts and their locations. It then creates a customer location record for each matching location.

Who it's for

Sales operations teams who need to automatically track customer locations when deals close.

Apps used

How teams use this

Populate locations on closed deals

When an opportunity reaches Closed Won, the system automatically creates customer location records for every location the account operates from. Sales has a complete picture without manual data entry.

Track multi-location customer footprint

Capture all locations for accounts with multiple sites so the sales team can see the full scope of where the customer does business. This helps with upsell and expansion planning.

Filter locations by record type only

Only create customer location records for locations with a specific record type ID, so the automation skips inactive or test locations. Set additional conditions to filter by location attributes as needed.

How it works

  1. Detect opportunity closed. Monitor Salesforce for a new opportunity where the stage equals Closed Won in real time.
  2. Find related accounts. Search Salesforce for all accounts linked to that opportunity so the automation knows which customer to work with.
  3. Retrieve account locations. Search Salesforce for all location records tied to each account found in the previous step.
  4. Create customer location per match. For each account location where the record type ID equals 0125g000000pDQxAAM, create a customer location record in Salesforce.