# How do multi-org integration topologies coordinate data synchronization across distributed regional Salesforce instances?

**Topic:** Integration · **Difficulty:** Medium · **Tags:** Integration, Multi-Org Topologies, Master Data Management

Read it on the site: https://www.forcechallenges.com/interview-questions/how-do-multi-org-integration-topologies-coordinate-data-synchronization-across-distributed-regional

## Answer

**Basics:** Large companies often run several Salesforce orgs, for regions, acquisitions or business units. Customers and products can then exist in several places, so you need a plan for who is the master, how records match, and how changes flow between orgs.

**How it works:**
1. Define data ownership per domain (customer, product, pricing) and the golden record location, often an MDM platform.
2. Establish a global key such as a Global Account ID or an external ID field on each org's record.
3. Orgs publish changes (platform events, CDC, or API calls) to middleware or the MDM hub.
4. The hub matches and merges records, applies rules, then pushes updates to subscribing orgs.
5. Failures go to a dead-letter queue for retry.

**Advanced / deep dive:** Topologies:
- Point-to-point between orgs: simple for two orgs, but scales as N times (N-1).
- Hub-and-spoke through MuleSoft or another iPaaS: central transformation, monitoring and security.
- MDM-centric: the hub owns the master record and the orgs hold copies.
- Virtual access: Salesforce Connect cross-org adapter to read data in place without copying.
- Data Cloud (rebranded Data 360 in recent releases, verify) to unify profiles across orgs.

Loop prevention is critical. Mark the origin system on each change so an update synced from org A is not echoed back from org B. Handle conflicts with last-write-wins, field-level ownership or survivorship rules. Address data residency, since some data may not be allowed to cross regions. Salesforce to Salesforce (the native feature) is legacy and limited, so prefer the cross-org adapter or middleware (verify current status).

**Code / config example:**
```text
Account.Global_Id__c (External ID, unique)  -> upsert key across all orgs
Account.Source_Org__c                       -> origin marker; skip re-publishing if change came from the hub
Flow: Org A change -> CDC -> Middleware (match on Global_Id__c) -> MDM golden record -> upsert to Org B, Org C
```

**Hidden gotchas & must-remember points:**
- Without an origin marker, bidirectional sync creates infinite update loops.
- Record IDs differ per org, so never use them as cross-org keys.
- Each org has its own API limits and event allocations.
- Picklists, record types and users need mapping tables between orgs.
- Sharing and ownership do not transfer. Map owners explicitly.
- Consolidation into one org is sometimes cheaper than syncing many.

**Best practice:** Declare one system of record per data domain and sync idempotently with global keys.

---
Source: ForceChallenges · last updated 2026-11-02
