Concept 17 of 18Integrate and scale

Sales integration patterns: ERP, marketing, partners and data

The integrations every Sales Cloud estate needs (ERP customer, price, credit and orders; marketing automation; enrichment; product usage; partner portal; commission) and which integration pattern fits each.

Your confidence:Not rated

Simple explanation

Sales Cloud is rarely the system of record for everything a seller needs. The usual integrations, and the pattern that fits each:

IntegrationTypical patternWhy
Customer master (ERP or MDM ↔ Accounts)Batch Data Sync or event-driven syncLarge volumes, needs reconciliation and survivorship rules
Price and availability, credit checkRequest and ReplyThe seller needs the current answer now
Order creation on closed-wonFire and Forget (Platform Event) with confirmationDon't block the save; ERP processes asynchronously
Invoices and order history in SalesforceData Virtualization (Salesforce Connect) or batchLarge, read-only, changes in the ERP
Marketing automation (Account Engagement, Marketing Cloud)Connector syncLeads, campaigns and engagement in both directions
Enrichment (firmographics, intent)Request and Reply at capture plus periodic batch refreshFresh data at creation, decay handled in batches
Product usage (SaaS)Data 360 ingestion, or batch into custom objectsHigh volume; aggregate signals into scores
Partner portal (PRM)Experience Cloud on the same orgPartners use Salesforce records directly
Commission (Spiff or other)Batch or event-drivenNeeds closed deals and splits, reconciled with Finance
Data warehouseBatch (Bulk API, CDC streams)Analytics and finance reporting

Partner channel (PRM) deserves a note: Experience Cloud partner portals let partners register deals (a lead or opportunity with a registration status and approval), receive distributed leads, and collaborate on opportunities. Access is controlled through partner accounts, partner roles and sharing βš‘ verify current partner licence types.

Real-world analogy

A department store's sales floor.

  • The shop assistant (Salesforce) checks stock in the warehouse system while the customer waits (request and reply).
  • When the customer buys, the order slip goes to the warehouse to be fulfilled (fire and forget).
  • The customer's purchase history is looked up in the loyalty system rather than copied onto every receipt (virtualisation).
  • Concession brands within the store sell on the same floor using the store's tills (partner portal).

Worked example

A manufacturer's Sales Cloud integration landscape.

  • SAP β†’ Accounts: nightly customer master sync through MuleSoft, with SAP customer number as the external ID and reconciliation reports.
  • Price and availability: Apex callout through a Named Credential to a MuleSoft process API when the rep adds products; timeout falls back to list price with a warning.
  • Closed-won β†’ sales order: Platform Event consumed by MuleSoft, which creates the SAP sales order and calls back with the order number.
  • Invoices: external object via Salesforce Connect on the account page.
  • Distributors: Experience Cloud partner portal for deal registration and lead distribution.
  • Account Engagement for marketing, with the standard connector.

Diagram

Rendering diagram…

Key points

  • Name the system of record for each data set: customer master, price, credit, orders, invoices, usage.
  • Request and Reply for answers the seller needs now; Fire and Forget with confirmation for orders.
  • Data Virtualization for large, read-only ERP history.
  • Batch for master data and warehouse feeds, with reconciliation.
  • PRM on Experience Cloud for distributors and resellers: deal registration, lead distribution, partner sharing.
  • Use external IDs, idempotency and correlation IDs throughout.

Limits and gotchas

  • Synchronous callouts in the save path make Salesforce availability depend on the ERP. Use timeouts and graceful fallbacks, and never block a save on a non-critical lookup.
  • Customer master conflicts: both systems editing account addresses or names. Define field-level ownership.
  • External objects have reporting and automation limitations compared with native records.
  • Partner portal licences and sharing are their own design topic; partner users can hit role and sharing limits at scale βš‘ verify current limits.
  • Marketing connector sync has its own field mapping and duplicate behaviour. Align it with duplicate rules.
  • Integration users must avoid ownership skew (don't let them own all created accounts).

🎀 How to say this in an interview

"I start by naming the system of record for each piece of data a seller touches, then choose the pattern from the user's need: request and reply for price and credit while they wait, fire and forget with confirmation for orders, virtualisation for large read-only history, and batch with reconciliation for master data. Partners get Experience Cloud on the same org, and I design external IDs and field ownership so systems never fight over the same field."

Common follow-ups

How should a closed-won opportunity create an order in the ERP?

Asynchronously. On closed-won, publish a Platform Event (or use Change Data Capture) with the opportunity ID and an idempotency key. Middleware validates, creates the ERP sales order and calls back with the order number and status. The opportunity shows Order pending until confirmed. Failures go to an error queue with alerting and a retry path. Never make the ERP call synchronously in the save, because an ERP outage would block sellers from closing deals.

When would you virtualise invoices instead of copying them into Salesforce?

When invoices are high-volume, owned and changed only in the ERP, and needed read-only in context. Salesforce Connect shows them on the account without storage cost or sync lag. Copy them (batch) instead if you need standard reporting, automation on invoice data, offline access, or the ERP can't support the query load or availability needed.