Territory architecture, lead routing, spatial analytics, and the automation infrastructure that turns go-to-market strategy into repeatable execution.
Production systems and proof-of-concept builds that solve real GTM problems at scale.
End-to-end architecture for territory-based account assignment across a multi-division building products manufacturer. Automated geographic and selling rep derivation, access control, and ERP synchronization for 198k+ accounts.
View Case Study
Proof-of-concept outbound system that generates hyper-localized prospecting emails for an EV charging manufacturer. Each email embeds a custom map of unfilled infrastructure demand within 10 miles of the prospect's HQ.
View Case StudyI'm a GTM Engineer focused on the intersection of revenue operations and technical execution. I design and build the systems that sales orgs run on: territory models, lead routing logic, CRM architecture, and the data pipelines that connect them.
My work sits between strategy and implementation. I take messy go-to-market problems, like multi-division territory assignment with competing ownership rules, or scaling cold outbound with spatial data, and turn them into documented, maintainable systems.
I believe the best GTM infrastructure is invisible to the reps using it and legible to the engineers maintaining it.
Salesforce, ETM, Apex, Flows, LWC, CPQ, territory modeling, lead routing
MuleSoft, REST APIs, ERP sync, platform events, batch processing
Python, SQL, spatial analysis, scikit-learn, geocoding, data enrichment
Territory planning, account segmentation, outbound automation, pipeline architecture
Interested in working together or have a question about one of my projects? Send me a message and I'll get back to you.
Replaced a manual, spreadsheet-driven territory process with a real-time automated system serving 198,000+ accounts across 6 sales divisions—eliminating days of lag on every territory change and giving reps instant access to the right accounts.
A mid-market building products manufacturer runs 6 independent sales divisions, each with its own field org, territories, and customer relationships. Two of those divisions sell to the same customers and compete for account ownership. Territory changes were a painful, manual process: sales ops would redraw boundaries in spreadsheets, then spend days running data loads to update Salesforce, the ERP, and access controls. Reps would lose visibility into their accounts for days after every territory change. New accounts sat unrouted until someone manually assigned them.
The cost was real: missed follow-ups, duplicate outreach from competing divisions, reps working accounts outside their territory, and a sales ops team spending more time on data hygiene than strategic planning.
A fully automated territory assignment and access control system inside Salesforce that propagates territory changes in real time—from the moment a territory boundary is redrawn in Salesforce Maps to the moment a rep sees updated account access in their CRM. The system handles the full lifecycle: geographic assignment, business-logic-driven ownership derivation, access control provisioning, ERP synchronization, and exception reporting.
The core architectural insight was separating two concepts the business had been conflating: geographic rep (which rep covers this zip code) and selling rep (which rep actually owns this account for a given product line). Geographic assignment is pure geometry—a 50,000-record zip-to-territory lookup. Selling rep assignment is business logic—an Apex engine that evaluates ERP sales history, customer type restrictions, manual overrides, and geographic defaults to determine the right owner across 7 business units.
The hardest problem was shared ownership between two divisions selling to the same customers. When an account has no sales history with either division, both reps need access—but when one division has an established relationship, that rep takes priority. The system resolves this through a priority chain: customer type restrictions first, then ERP-sourced account assignments, then geographic defaults. Accounts with split ownership store both reps in a comma-separated field, and Enterprise Territory Management rules use CONTAINS matching to grant access to both. Every downstream system—ETM rules, Territory Planning datasets, the account display component—was designed to handle this pattern cleanly.
Territory redraws trigger a four-case decision matrix per business unit per account: if the selling rep was in sync with geography, the system updates automatically and flags the ERP for notification. If the selling rep was an intentional override, the system skips the update and logs it to an exception report for manager review. No override goes unexamined after a territory change.
| Component | Role |
|---|---|
| Apex (triggers + batch) | Selling rep derivation engine, territory redraw cascades, ERP notification service |
| Salesforce Maps Territory Planning | Visual territory design and scenario modeling for sales ops |
| Enterprise Territory Management | Native Salesforce access control—manually configured rules matching on selling rep fields |
| Custom Zip Lookup Object | 50k records mapping every US zip to the correct territory per division |
| MuleSoft | Outbound integration to ERP when territory changes affect accounts with active sales records |
| Lightning Web Component | Account-level display showing territory and rep data per division with discrepancy highlighting |
Territory change propagation went from days of manual data loads to real-time. Rep assignment is fully automated across all 198,000+ accounts and 6 divisions. Exception reporting gives managers complete visibility into every account where an override was preserved during a territory redraw. The architecture was designed to scale from 6 to 13 divisions with no structural changes—just configuration.
Sales ops shifted from spending their time on data loads and access requests to actually planning territories and optimizing coverage.
A proof-of-concept outbound sales system that generates hyper-localized prospecting emails for an EV charging hardware manufacturer. Each email embeds a custom map showing unfilled commercial EV infrastructure demand within a 10-mile radius of the prospect's HQ.
The target persona is a commercial electrical contractor who could become a certified installation partner. The email doesn't sell hardware directly; it sells the demand signal the prospect didn't know existed in their own zip code. Every red dot on the embedded map represents a real funded commercial site that needs an installer, and the contractor's office is pinned at the center.
Example email: personalized map showing unfilled EV infrastructure demand near a prospect's HQ in the DFW metroplex.
| Layer | Tool |
|---|---|
| Grant data scraping | Python, requests, BeautifulSoup |
| Geocoding | Google Maps Geocoding API / Census TIGER |
| Spatial matching | scikit-learn BallTree, geopy |
| Map rendering | OpenStreetMap tiles, CSS grid compositing, SVG overlays |
| Email templating | Jinja2, inline CSS |
| Prospect enrichment | Clay / Apollo (optional) |
| Deliverability | Instantly, Smartlead, or custom SMTP |
Federal and state grant databases (NEVI, TCEQ, TxVEMP, VW Settlement Fund) are scraped and normalized into a table of funded commercial sites with lat/lon, grant amount, and installation status. For each prospect, a spatial query using scikit-learn's BallTree pulls all funded sites within 10 miles that have no assigned installer.
The map is rendered as a CSS grid of real OpenStreetMap tile images at zoom level 11, with absolutely-positioned red dots computed via Mercator projection math, a dashed SVG radius circle, and a blue HQ pin. Zero JavaScript dependencies. Each map is a self-contained static image that can be rasterized to PNG or embedded inline in an email.