SALES-Q20Design AdvancedSales Cloud#integration#data-model

Design the integration between Sales Cloud and ERP for customers, prices, credit and orders.

Your confidence:Not rated

Model answer

FlowPatternWhy
Customer master ERP โ†’ Salesforce (or MDM โ†’ both)Batch data sync (daily or near real time with events), upsert by external IDERP or MDM owns legal entities, sold-to and ship-to. Salesforce needs them for selling.
New prospect โ†’ customer creation Salesforce โ†’ ERPFire and forget on closed-won (or on request), with a callback carrying the ERP numberCustomer creation in ERP has its own checks, and the rep shouldn't wait for it
Net price and availabilityRequest-reply at quote time, with a timeout and a cached fallbackCustomer-specific conditions live in ERP and change often
Credit checkRequest-reply before proposal or orderIt's a decision that needs current exposure
Order submission Salesforce โ†’ ERPFire and forget through middleware, with an acknowledgement and status updates backThe order process is ERP's. Salesforce tracks the status.
Order and invoice historyData virtualisation (external objects or an LWC calling an API), or a summary syncHigh volume, rarely needed in full in CRM

Cross-cutting design

  • Middleware (MuleSoft or similar) owns transformation, retries and monitoring. Salesforce calls APIs with Named Credentials and OAuth.
  • Idempotency: external IDs and correlation IDs so retries don't duplicate customers or orders.
  • Errors: a dead-letter queue in middleware, plus an integration log object or Platform Event in Salesforce, so failures are visible to support and to the rep.
  • Field ownership matrix: for each field, who masters it and who may write it, including AI agents.
  • Volumes and limits: bulk API for loads, and event-driven updates where near real time matters.

โœ” Key points to hit

โœ– Red-flag answers

  • Copying every ERP price condition into Salesforce
  • Synchronous order creation blocking the rep
  • No external IDs, so retries create duplicates
  • Point-to-point callouts without monitoring

โ†ช Follow-ups

ERP is down during quarter end. What do reps see?

Price lookups time out and fall back to list price with a clear warning, or a cached net price with its timestamp. Orders queue in middleware and are submitted when ERP returns. Status shows 'pending submission'. Nobody re-keys orders.

Why not use Salesforce as the customer master?

Sometimes it is, for prospects. Once a customer has legal, tax and credit data, ERP or MDM usually masters it because finance processes depend on it. The key is one master per attribute, documented in the ownership matrix.