Originally published at MuleSoft Engineering Blog.

When should you virtualize external data with Salesforce Connect External Objects vs. orchestrate it through MuleSoft APIs or Data Cloud Zero Copy?

Quick Answer

Salesforce Connect virtualizes external records on-demand inside Salesforce (zero storage cost, real-time UI/SOQL reads via OData 2.0/4.0, GraphQL, or SQL adapters). MuleSoft is best when you need to expose legacy systems as OData/GraphQL APIs, run asynchronous event-driven syncs, or orchestrate multi-system writes.

When Should You Use Salesforce Connect vs. MuleSoft vs. Data Cloud Zero Copy?

Pattern Salesforce Connect MuleSoft API-Led Data Cloud Zero Copy
Data Storage Virtual (lives in external system) Orchestrates or syncs to target Federated (Snowflake, BigQuery, Databricks)
Protocols OData 2.0/4.0, GraphQL, AWS DynamoDB, SQL REST, SOAP, GraphQL, gRPC, SAP JCo, MQ, Kafka Snowflake, BigQuery, Redshift, Databricks
Best Use Case Live lookup of orders/invoices in SF UI Bi-directional ERP sync, Batch, API gateway Unified Customer 360 & AI segmentation

Combined Pattern: Expose SAP/Oracle via a MuleSoft OData/GraphQL System API, then bind it to Salesforce Connect for live UI reads.

Production Watchouts with External Objects

  • Server-Side Pagination & $top/$skip: Always implement OData server-driven pagination in your MuleSoft System API so large external tables don't time out Salesforce's 120-second callout window.
  • Governor & Callout Limits: External Objects still count toward Salesforce synchronous callout timeouts and daily OData callout allocations depending on your license tier.
  • Reporting & Triggers: Standard Salesforce triggers and native roll-up summaries do not fire on External Objects—use MuleSoft Change Data Capture (CDC) or Platform Events when downstream automation is required.

Architectural FAQ

How do Salesforce Connect and MuleSoft work together for external systems?

Salesforce Connect provides real-time virtualized External Objects inside Salesforce UI/SOQL via OData, GraphQL, or SQL adapters without storing data in Salesforce. MuleSoft often acts as the OData/GraphQL System API facade in front of legacy ERPs (SAP, Oracle, Mainframe) so Salesforce Connect can query them securely with pagination and rate protection.

When should I choose MuleSoft over Salesforce Connect?

Choose MuleSoft when you need event-driven synchronization, multi-system orchestration, high-volume batch ingestion, complex DataWeave transformations, or non-Salesforce consumers.

Interactive Guide (Jump-to-Section TOC): Read the full guide on MuleSoft Engineering Blog