Skip to content
Techila Global Services
Techila/Integrations/Salesforce MuleSoft integration
Integration PlatformAnypoint Connector for SalesforceVersion 12.1

Salesforce
MuleSoft integration.

How MuleSoft connects to Salesforce through the Anypoint Connector, which Salesforce APIs it uses, and what it leaves out.

A Salesforce MuleSoft integration links Salesforce to other systems through Mule apps on MuleSoft's Anypoint Platform. The Anypoint Connector for Salesforce, version 12.1, lets those apps create, update, upsert and query records, run Bulk API jobs, call Apex, and react when Salesforce records are added, changed or deleted.

How it works

Which Salesforce APIs does the MuleSoft connector use?

MuleSoft says most operations map to the SOAP API. The connector also uses the Bulk API for batches, the Streaming API for change notifications, the Metadata API, and Apex SOAP and REST for custom Apex services. It does not give access to the Chatter or Tooling API.

The connector

Salesforce at the center, MuleSoft in between.

Techila Global Services is a Salesforce Summit Partner. On this kind of project we design the Mule apps, configure the Salesforce Connector and its authentication, map the data, and test volumes against your API limits.

Looking for MuleSoft consulting and delivery? See our MuleSoft services page.

Salesforce integration guide

What can the MuleSoft Salesforce Connector do?

Salesforce APIs used by the Anypoint Connector for Salesforce
Salesforce APIWhat the connector uses it for
SOAP APIMost connector operations, such as Create, Update, Upsert, Delete, Merge, Convert Lead and Search
Bulk APILoading batches of data, including Bulk API v2 jobs and query jobs
Streaming APIChange notifications: Subscribe Topic, Subscribe Streaming Channel and replay listeners
Metadata APICreating, reading, updating, deploying and retrieving metadata
Apex SOAP and Apex RESTCalling custom Apex web services
Chatter and Tooling APINot available through the connector

What moves between Salesforce and a Mule app?

Salesforcevia Anypoint Connector for SalesforceMule app
  • Create, update, upsert, delete (from Mule app to Salesforce)
  • New, modified or deleted objects (from Salesforce to Mule app)
  • Query and Bulk API v2 results (from Salesforce to Mule app)
  • Platform event messages published (from Mule app to Salesforce)
  • Apex REST and SOAP methods called (from Mule app to Salesforce)
Shows operations and triggers from MuleSoft's Salesforce Connector 12.1 reference (read 10 November 2026).

Its triggers include On New Object, On Modified Object, On Deleted Object, Replay Channel Listener and Replay Topic Listener.

What do you need to connect MuleSoft to Salesforce?

  • Salesforce credentials: MuleSoft lists a Salesforce developer account and a security token, plus a consumer key and secret.
  • An authentication type: Basic, OAuth 2.0, OAuth JWT, OAuth Client Credentials or OAuth SAML.
  • For OAuth: a namespace and schema location.
  • Anypoint Platform: Salesforce offers a 30-day free trial and does not list prices on its MuleSoft page.

Salesforce MuleSoft integration use cases

MuleSoft's Salesforce Connector documentation names four common uses. Each one is a different shape of project:

Salesforce MuleSoft integration use cases named in MuleSoft's Salesforce Connector documentation
Use caseWhat MuleSoft describesWhat it looks like in Salesforce
ERP integrationSyncing Salesforce with ERP systems such as SAP and NetSuiteAccounts and products from the ERP, orders from won opportunities, invoice status back on the account. See our Salesforce SAP and NetSuite Salesforce guides.
Data aggregationBringing data together from several Salesforce orgs and databasesOne customer view across business units, or reporting that spans orgs without manual exports
Legacy modernization and migrationMoving data from older systems into SalesforceBulk API jobs for the initial load, then ongoing flows while the old system is retired
Customer experience integrationConnecting Salesforce with tools such as ServiceNow and MarketoIncidents linked to cases, or marketing activity on the lead. See our ServiceNow Salesforce integration guide.

Our case studies show two of these in practice: St. James's Place kept Sales Cloud and Marketing Cloud in step through MuleSoft, and a leading bank connected Salesforce with MuleSoft. The pattern is the same each time: one integration layer, reusable APIs, and Salesforce as the system of engagement.

Salesforce MuleSoft integration best practices

MuleSoft's own documentation for the Salesforce Connector and Anypoint Monitoring sets out most of these:

  1. Use the Pub/Sub Connector for new event integrations. MuleSoft says that if you are adding a new connector for platform events and Change Data Capture events, you can use the Salesforce Pub/Sub Connector, which is based on the Pub/Sub API.
  2. Run event sources on the primary node. MuleSoft says the source must run on the primary node; in non-cluster multi-worker mode it runs on every node and consumes duplicate events.
  3. Keep one flow per channel. When several flows listen to the same channel or topic, MuleSoft suggests putting that logic in a single flow instead.
  4. Give flows their own connector configuration. MuleSoft recommends different Salesforce Connector configurations with different Salesforce usernames when flows use different sources, to avoid performance issues. Use dedicated integration users, not personal accounts.
  5. Persist replay IDs. MuleSoft recommends persisting replay IDs across application restarts so no message is processed twice. Salesforce stores events for 72 hours, or 24 hours for legacy PushTopic and generic events, so an app down longer than that misses events.
  6. Use Bulk API for volume. The connector uses the Bulk API to load batches of data; reserve record-by-record operations for small, real-time changes.
  7. Plan API limits. Every connector call counts against your Salesforce API allowance, so size volumes before go-live.
  8. Monitor from day one. Anypoint Monitoring provides built-in dashboards, alerts, log search and traces; MuleSoft lists custom dashboards, alerts and custom metrics in Integration Advanced rather than Integration Starter.

When does a team need MuleSoft rather than a direct connection?

MuleSoft and other integration routes compared
RouteFits whenTrade-off
A vendor's own Salesforce appOne system, standard objects, a ready-made syncLimited to what the app maps
MuleSoft Anypoint PlatformSeveral systems, reusable APIs, bulk loads or event-driven flowsA platform to license, build on and run
Custom code on Salesforce APIsOne narrow flow you are happy to maintainMonitoring, retries and changes are yours

This page covers how the two connect. For the basics, see what MuleSoft is and how API-led connectivity works, and for alternatives, our MuleSoft vs Boomi comparison. For MuleSoft design, build and support, see our MuleSoft services or our wider Salesforce integration services. To scope a project, book a discovery call.

Architecture

How does Salesforce connect to MuleSoft?

Salesforce

Records, events, Apex services

Anypoint Connector for Salesforce

Operations and triggers in a Mule app

Other systems

ERP, databases, APIs

What's included

What does Techila set up for Salesforce and MuleSoft?

/01
Connector configuration
Authentication, connected app and permissions for the Salesforce Connector.
/02
Record and bulk flows
Create, upsert and query flows, and Bulk API v2 jobs for large loads.
/03
Event-driven flows
Triggers on new, changed or deleted records, and replay listeners for events.
/04
Apex and metadata calls
Mule apps that call custom Apex services or deploy metadata.
/05
API limit planning
Call volumes sized against your Salesforce API allowance before go-live.

FAQ

Frequently asked questions.

What architects ask before commissioning a Techila integration.

Sources

Last reviewed:

  1. MuleSoft Documentation, Salesforce Connector 12.1 (read 10 November 2026)
  2. MuleSoft Documentation, Salesforce Connector reference (read 10 November 2026)
  3. Salesforce, MuleSoft (read 10 November 2026)
  4. MuleSoft Documentation, Processing events with Salesforce Connector 12.1 (read 11 November 2026)
  5. MuleSoft Documentation, Anypoint Monitoring overview (read 11 November 2026)
  6. MuleSoft, MuleSoft pricing (read 11 November 2026)

Talk to an expert about MuleSoft Salesforce integration

Tell us what you need. We reply within 1 business day.

All fields are required unless marked optional.

We reply within 1 business day.

By sending this form, you agree that Techila Global Services may contact you by email or phone about your request. We do not sell your personal information. See our Privacy Policy.

Let's plan your next Salesforce program.

We reply within 1 business day · +1 617-777-9873

See case studies