ServicesSalesforce consultingArchitectureImplementationOrg health checkDevelopmentIntegrations and APIsData migrationTesting and QAManaged supportSpecialist supportMarketing Cloud auditDeliverability
SolutionsMarketing Cloud EngagementMarketing Cloud NextSalesforce + BrazeAccount EngagementData Cloud (Data 360)Identity resolutionInsights and segmentsAgentforce and AIMCP integrationsSales and Service CloudReal-time personalisationIntegration solutionsEnterprise AI integrationBy industry
ArchitectureSalesforce CRMData 360Salesforce + BrazeAgentforceCustomer 360API-led integrationEvent-drivenMCP host, client and serverIdentity and consentMCP securityData governanceCI/CD and releasesOur public MCP server
ResourcesEngineering journalDecision guidesSolution blueprintsSalesforce productsProjects and achievementsSales ROI calculatorWhere we workChecklists and templatesPlanning toolsReadiness assessmentGlossaryAbout GeekMidstOur approachOur expertiseContact
CompanyAbout GeekMidstOur approachDelivery methodologyTrust and evidenceProjectsAchievementsBook a consultationContactWhere we workSecurity and data
Book a Consultation

MuleSoft Integration Services

We design and build MuleSoft integrations on Anypoint Platform, with reusable APIs, clear error handling and monitoring, connecting Salesforce to ERP and legacy systems.

Integration engineer pinning three rows of cards to a cork board as an ERP administrator links them with thread

MuleSoft is Salesforce's integration product. Its own site calls it "MuleSoft with Agent Fabric", while the salesforce.com page says "Agentforce MuleSoft"; we use MuleSoft. GeekMidst designs and builds MuleSoft integrations remotely from India, with a focus on reusable APIs and on what happens when something fails.

Not every project needs middleware. Salesforce integration services covers strategy and native options, and our guide to middleware vs point-to-point APIs helps you decide. This page is for teams that have chosen MuleSoft or are close to it.

API-led design

We organise integrations as layers of reusable APIs: system APIs that wrap each backend, process APIs that combine them into business logic such as order-to-cash, and experience APIs shaped for a consumer such as Salesforce, a portal or an agent. When a backend changes, only its system API changes. We size the layering to your needs rather than building every layer by default.

Business systems above and below a shared API layer with security and retry policies, exchanging requests and responses shown in a code panel

The MuleSoft products involved

  • Anypoint Platform for designing, building and managing APIs and integrations.
  • MuleSoft Agent Fabric, with an agent registry, AI Gateway, Model Wallet and FinOps dashboard.
  • MuleSoft Omni Gateway and Intelligent Document Processing.
  • MuleSoft RPA (page live, no end-of-sale notice) and MuleSoft Composer (still documented, release notes dated May 2026).
  • Winter '27 adds AI Cost Management, an Agent Kill Switch and MuleSoft Headless (status not stated).

Error handling we build in

  • Retries with back-off for temporary failures, and no blind retries for bad data.
  • Idempotent operations, so a replayed message doesn't create duplicates.
  • Dead-letter queues with a named owner for failed messages.
  • Alerts tied to business impact, not just error counts.
  • Replay planned around Salesforce retention: high-volume platform events and change events are kept for 72 hours.

Our integration error handling checklist goes deeper.

What's included

AreaWhat we cover
ArchitectureAPI inventory, layer design and reuse plan
BuildMule applications, connectors, data mapping and transformation
SecurityCredentials, API policies and Salesforce authentication
OperationsLogging, alerting, error queues and runbooks
HandoverDocumentation and API specifications your team can maintain

How we work

  1. 01

    Discovery

    We map systems, data flows, volumes and who owns each one.

  2. 02

    Design

    We design APIs, data contracts, security and error paths before any build.

  3. 03

    Build

    We build and unit test Mule applications in non-production environments.

  4. 04

    Test

    We test with realistic volumes and deliberate failures such as timeouts and bad records.

  5. 05

    Launch

    We deploy with monitoring and alerts switched on from day one.

  6. 06

    Support

    We watch the first weeks closely and hand over runbooks.

Prerequisites and licences

MuleSoft is licensed separately from Salesforce clouds, so confirm which Anypoint and Agent Fabric capabilities your contract includes. Salesforce authentication is also changing: connected apps support ends in Summer '27 in favour of External Client Apps, and the OAuth username-password flow retires on 20 February 2027. See connected apps and OAuth changes.

Who it suits

Organisations with several backends to connect, integrations that keep breaking, or plans to expose systems to AI agents.

Common mistakes

  • Building point-to-point flows inside MuleSoft and calling them APIs.
  • No plan for failed messages.
  • Credentials hard-coded in applications.
  • Skipping volume testing.

Workflow diagrams

Explore how the pieces fit together. Select a step to read what happens there.

Architecture

API integration architecture

Open full size
API integration architectureA client calls an API gateway or middleware layer, which checks the token and forwards valid requests to Salesforce APIs. Flow or Apex logic runs, calls the system of record through a named credential, and the result is returned to the client.API integration architectureClientAPI gatewaySalesforceSystem ofrecordYesNoClient request: Web, mobile or partner app. The client sends a request with an access token and a correlation ID, so the call can be traced through every system it touches.Client requestWeb, mobile orpartner appGateway or middleware: Auth, rate limits. A gateway or middleware layer such as MuleSoft gives clients one stable API, applies rate limits and shapes payloads, so clients are not tied to Salesforce internals.Gateway ormiddlewareAuth, rate limitsToken valid?. Check the token, its scopes and the client identity before anything reaches Salesforce. Each client should have its own credentials so access can be revoked separately.Token valid?Request rejected: Clear error code returned. Return a clear 401 or 403 with no internal detail. Log the attempt; repeated failures from one client are worth an alert.Request rejectedClear error codereturnedSalesforce API: REST, Composite or Bulk. Pick the API for the job: REST for single records, Composite to group related calls, Bulk for large volumes. The wrong choice shows up as API limit pressure.Salesforce APIREST, Composite orBulkBusiness logic: Flow or Apex rules. Business rules run inside Salesforce with the integration user's permissions. Give that user only the objects and fields the integration needs.Business logicFlow or Apex rulesNamed credential: Stored auth for callouts. Outbound calls use a named credential and external credential, so endpoints and secrets are not written into code and can be rotated without a deployment.Named credentialStored auth forcalloutsSystem of record: ERP, billing, core. The system that owns the data applies the change or returns it. Agree which system is the master for each field to avoid two systems overwriting each other.System of recordERP, billing, coreResponse sent: Result plus correlation ID. The client gets the result, or a clear error, along with the correlation ID for support. Keep response shapes stable when versions change.Response sentResult plus correlationIDStartSystem or platformDecisionAlert or exceptionProcess stepEnd or outcomeOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. Client request ClientWeb, mobile or partner app

    The client sends a request with an access token and a correlation ID, so the call can be traced through every system it touches.

    Next: Gateway or middleware

  2. Gateway or middleware API gatewayAuth, rate limits

    A gateway or middleware layer such as MuleSoft gives clients one stable API, applies rate limits and shapes payloads, so clients are not tied to Salesforce internals.

    Next: Token valid?

  3. Token valid? API gateway

    Check the token, its scopes and the client identity before anything reaches Salesforce. Each client should have its own credentials so access can be revoked separately.

    Next: Yes: Salesforce API; No: Request rejected

  4. Request rejected ClientClear error code returned

    Return a clear 401 or 403 with no internal detail. Log the attempt; repeated failures from one client are worth an alert.

    End of the flow.

  5. Salesforce API SalesforceREST, Composite or Bulk

    Pick the API for the job: REST for single records, Composite to group related calls, Bulk for large volumes. The wrong choice shows up as API limit pressure.

    Next: Business logic

  6. Business logic SalesforceFlow or Apex rules

    Business rules run inside Salesforce with the integration user's permissions. Give that user only the objects and fields the integration needs.

    Next: Named credential

  7. Named credential SalesforceStored auth for callouts

    Outbound calls use a named credential and external credential, so endpoints and secrets are not written into code and can be rotated without a deployment.

    Next: System of record

  8. System of record System of recordERP, billing, core

    The system that owns the data applies the change or returns it. Agree which system is the master for each field to avoid two systems overwriting each other.

    Next: Response sent

  9. Response sent ClientResult plus correlation ID

    The client gets the result, or a clear error, along with the correlation ID for support. Keep response shapes stable when versions change.

    End of the flow.

A client calls an API gateway or middleware layer, which checks the token and forwards valid requests to Salesforce APIs. Flow or Apex logic runs, calls the system of record through a named credential, and the result is returned to the client. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Architecture

Integration monitoring and observability

Open full size
Integration monitoring and observabilityEvery integration call or job carries a correlation ID and writes structured logs, from which latency, error and backlog metrics are computed. Breached thresholds alert the on-call team, who trace the issue by correlation ID; otherwise trends are reviewed on dashboards.Integration monitoring and observabilityIntegrationsObservabilityOps teamYesNoIntegration run: API, event or job. Monitoring covers API calls, event subscribers and scheduled batch jobs alike. Batch jobs that silently do not run are the easiest failure to miss.Integration runAPI, event or jobTag correlation ID: Passed across every hop. One ID travels from the first system to the last, in headers and logs, so a single request can be followed end to end.Tag correlation IDPassed across everyhopStructured logs: No secrets or personal data. Log in a consistent structure: time, system, operation, outcome, duration and correlation ID. Mask tokens and personal data before they are written.Structured logsNo secrets orpersonal dataMetrics computed: Latency, errors, limits. Track request latency, error rate, queue backlog and Salesforce API usage against limits. Trends warn earlier than single failures.Metrics computedLatency, errors, limitsThreshold breached?. Thresholds should reflect business impact, for example orders not synced for 15 minutes, rather than a single failed call.Thresholdbreached?Trend review: Capacity, drift. Regular review of dashboards catches slow growth in volume, latency or API usage before it becomes an incident.Trend reviewCapacity, driftAlert on-call: Names the impact. The alert names the integration, the impact and a link to the logs, so the person on call can start straight away.Alert on-callNames the impactTrace by correlation ID: Across systems. The on-call engineer follows the correlation ID through gateway, Salesforce and target logs to find where the request stopped.Trace bycorrelation IDAcross systemsFixed, reviewed: Runbook updated. After the fix, update the runbook and tune the alert if it fired late or too often. Short reviews keep the same incident from repeating.Fixed, reviewedRunbook updatedStartProcess stepDataSystem or platformDecisionEnd or outcomeAlert or exceptionPerson or teamOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. Integration run IntegrationsAPI, event or job

    Monitoring covers API calls, event subscribers and scheduled batch jobs alike. Batch jobs that silently do not run are the easiest failure to miss.

    Next: Tag correlation ID

  2. Tag correlation ID IntegrationsPassed across every hop

    One ID travels from the first system to the last, in headers and logs, so a single request can be followed end to end.

    Next: Structured logs

  3. Structured logs ObservabilityNo secrets or personal data

    Log in a consistent structure: time, system, operation, outcome, duration and correlation ID. Mask tokens and personal data before they are written.

    Next: Metrics computed

  4. Metrics computed ObservabilityLatency, errors, limits

    Track request latency, error rate, queue backlog and Salesforce API usage against limits. Trends warn earlier than single failures.

    Next: Threshold breached?

  5. Threshold breached? Observability

    Thresholds should reflect business impact, for example orders not synced for 15 minutes, rather than a single failed call.

    Next: Yes: Alert on-call; No: Trend review

  6. Alert on-call Ops teamNames the impact

    The alert names the integration, the impact and a link to the logs, so the person on call can start straight away.

    Next: Trace by correlation ID

  7. Trend review ObservabilityCapacity, drift

    Regular review of dashboards catches slow growth in volume, latency or API usage before it becomes an incident.

    End of the flow.

  8. Trace by correlation ID Ops teamAcross systems

    The on-call engineer follows the correlation ID through gateway, Salesforce and target logs to find where the request stopped.

    Next: Fixed, reviewed

  9. Fixed, reviewed Ops teamRunbook updated

    After the fix, update the runbook and tune the alert if it fired late or too often. Short reviews keep the same incident from repeating.

    End of the flow.

Every integration call or job carries a correlation ID and writes structured logs, from which latency, error and backlog metrics are computed. Breached thresholds alert the on-call team, who trace the issue by correlation ID; otherwise trends are reviewed on dashboards. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Start with the integration complexity assessment, read our Salesforce integration whitepaper, or see the order-to-cash integration blueprint.

Questions we hear

Do we need MuleSoft, or will native integration do?
For a few simple connections, native options are often enough. MuleSoft makes more sense with many systems, shared APIs or strict monitoring needs. The integration complexity assessment helps you judge.
Is MuleSoft Composer still available?
It is still documented, with release notes dated May 2026 and no retirement notice found.
How do you handle failed messages?
Each integration gets defined retries, idempotency, a dead-letter queue, alerts and a runbook naming who acts.
Will the Salesforce OAuth changes affect our integrations?
Possibly. Integrations using the username-password flow or connected apps need a plan before the published dates.

Scope your MuleSoft integration

Share the systems you need to connect and we will suggest an architecture and first release.

Request a consultation →

Next step: MuleSoft Integration Services

  1. We read it A practitioner reads your message and replies by email.
  2. Short call We confirm goals, constraints and what success looks like.
  3. Written scope You get a scope and estimate before any work starts.

Tell us what you are trying to fix.

Share your Salesforce setup, goals and constraints. A practitioner reads every message and replies with questions, first thoughts or an honest view of whether you need outside help at all.

Talk to a Salesforce Expert
Book a Consultation