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

Salesforce Integration Services

Connect Salesforce to the systems your business runs on, with integrations that are secure, observable and built to recover when something goes wrong.

On-call engineer studying a monitoring graph with one red spike at a desk at night

Salesforce rarely works alone. Orders live in an ERP, payments in a billing platform, product data in a PIM, and engagement data in a marketing platform. When these systems are connected badly, the symptoms are familiar: duplicate records, sales teams working from stale data, integrations that fail silently overnight, and an API user with far more access than it needs.

We design and build Salesforce integrations for teams that want them to be predictable. That means choosing the right pattern for each data flow, agreeing who owns each field, securing credentials properly and making failures visible so someone can act on them.

Problems we are usually asked to solve

  • Connecting Salesforce to an ERP, ecommerce platform, billing system or data warehouse for the first time.
  • Replacing nightly file transfers with near real-time updates where the business genuinely needs them.
  • Stabilising existing integrations that hit API limits, create duplicates or fail without anyone noticing.
  • Moving credentials out of code and custom settings into Named Credentials and External Credentials.
  • Synchronising CRM and marketing data so segments and journeys use current information.
Business systems above and below a shared API layer with security and retry policies, exchanging requests and responses shown in a code panel

Common integration patterns and when they fit

PatternGood fit forWatch out for
Request and reply calloutReal-time lookups such as price or stock checks from a Salesforce screenTimeouts and user experience when the external system is slow
Inbound REST or SOAP APIExternal systems creating or updating Salesforce recordsAPI consumption, upsert keys and duplicate handling
Bulk API 2.0Large scheduled loads and periodic synchronisationPartial failures that need reprocessing
Platform eventsDecoupled, event-driven updates between systemsDelivery and replay behaviour; design subscribers to be idempotent
Change Data CapturePublishing Salesforce record changes to other systemsChoosing which objects to track and handling gaps
MiddlewareMany systems, transformations, orchestration and central monitoringExtra licence and another platform to operate

There is no single right pattern. Point-to-point APIs can be perfectly sensible for one or two connections, while middleware tends to pay off as the number of systems and transformations grows. Our guide to middleware vs point-to-point APIs covers that decision. Exact API allocations and event delivery limits vary by edition and licence, so we confirm them against current limits for your org in Salesforce Help during design.

Integration engineers discussing a system connection diagram on a monitor

Our integration approach

  1. 01

    Map the data flows

    For each flow we document source, target, trigger, frequency, volume, direction and the system of record for every important field.

  2. 02

    Choose patterns

    We select a pattern per flow based on latency needs, volume and failure tolerance, and agree it with your architects.

  3. 03

    Design security

    A dedicated integration user with least-privilege access, Named Credentials and External Credentials for outbound calls, and OAuth flows suited to each inbound client.

  4. 04

    Design for failure

    Retries with backoff where safe, idempotent upserts using external IDs, a place to log failures and a defined owner who is alerted.

  5. 05

    Build and test

    We build in sandboxes against test endpoints, then test happy paths, bulk volumes, malformed payloads and outage scenarios.

  6. 06

    Go live and monitor

    Controlled cut-over, reconciliation checks after the first runs and a monitoring routine your team can keep running.

Workflow diagrams

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

Architecture

Event-driven processing with platform events

Open full size
Event-driven processing with platform eventsA business change in Salesforce produces either a Change Data Capture event, for plain record changes, or a platform event published from Flow, Apex or the API. Events go onto the event bus, where each subscriber reads independently and resumes from its last replay ID if processing fails.Event-driven processing with platform eventsSalesforceEvent busSubscriberTarget systemYesNoYesNoReplayBusiness change: Record saved or action taken. Something happens that other systems need to know about. Publishing an event decouples them: Salesforce does not wait for, or need to know, every receiver.Business changeRecord saved oraction takenPlain record change?. If subscribers only need to know a record changed, Change Data Capture avoids custom code. If the event carries business meaning, such as "order approved", define a platform event.Plain recordchange?Change event (CDC): Changed fields only. Salesforce publishes a change event for selected objects with the changed fields and a header describing the change. No publishing code is needed.Change event(CDC)Changed fields onlyPlatform event: Published by Flow, Apex or API. A custom platform event carries only the fields receivers need. Decide whether it publishes immediately or after the transaction commits, so receivers never see rolled-back data.Platform eventPublished by Flow,Apex or APIEvent bus: Ordered, replayable stream. Events are kept for a retention window, each with a replay ID. A subscriber that was offline can catch up from where it stopped.Event busOrdered, replayablestreamOther receivers: Each reads independently. Flows, Apex triggers and external systems can all subscribe to the same event without affecting each other.Other receiversEach readsindependentlyEvent received: Pub/Sub API or middleware. An external subscriber, often middleware, receives events through the Pub/Sub API and stores the last replay ID it processed.Event receivedPub/Sub API ormiddlewareProcessed OK?. Processing should be idempotent: if the same event arrives twice, the result is the same. Events can be delivered more than once.Processed OK?Target updated: Replay ID saved. The change is applied in the target and the replay ID is saved only after that, so a crash never skips an event.Target updatedReplay ID savedReplay events: From last saved ID. After a failure the subscriber reconnects from the last saved replay ID. If it stays down longer than the retention window, a full resync is needed.Replay eventsFrom last saved IDStartDecisionSystem or platformProcess stepEnd or outcomeAlert or exceptionOptional or asynchronousOriginal 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. Business change SalesforceRecord saved or action taken

    Something happens that other systems need to know about. Publishing an event decouples them: Salesforce does not wait for, or need to know, every receiver.

    Next: Plain record change?

  2. Plain record change? Salesforce

    If subscribers only need to know a record changed, Change Data Capture avoids custom code. If the event carries business meaning, such as "order approved", define a platform event.

    Next: Yes: Change event (CDC); No: Platform event

  3. Change event (CDC) Event busChanged fields only

    Salesforce publishes a change event for selected objects with the changed fields and a header describing the change. No publishing code is needed.

    Next: Event bus

  4. Platform event SalesforcePublished by Flow, Apex or API

    A custom platform event carries only the fields receivers need. Decide whether it publishes immediately or after the transaction commits, so receivers never see rolled-back data.

    Next: Event bus

  5. Event bus Event busOrdered, replayable stream

    Events are kept for a retention window, each with a replay ID. A subscriber that was offline can catch up from where it stopped.

    Next: Other receivers; Event received

  6. Other receivers SubscriberEach reads independently

    Flows, Apex triggers and external systems can all subscribe to the same event without affecting each other.

    End of the flow.

  7. Event received SubscriberPub/Sub API or middleware

    An external subscriber, often middleware, receives events through the Pub/Sub API and stores the last replay ID it processed.

    Next: Processed OK?

  8. Processed OK? Subscriber

    Processing should be idempotent: if the same event arrives twice, the result is the same. Events can be delivered more than once.

    Next: Yes: Target updated; No: Replay events

  9. Target updated Target systemReplay ID saved

    The change is applied in the target and the replay ID is saved only after that, so a crash never skips an event.

    End of the flow.

  10. Replay events SubscriberFrom last saved ID

    After a failure the subscriber reconnects from the last saved replay ID. If it stays down longer than the retention window, a full resync is needed.

    Next: Replay: Event received

A business change in Salesforce produces either a Change Data Capture event, for plain record changes, or a platform event published from Flow, Apex or the API. Events go onto the event bus, where each subscriber reads independently and resumes from its last replay ID if processing fails. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Workflow

Retry and error handling

Open full size
Retry and error handlingAn outbound change gets an idempotency key before the target API is called. Successful calls are marked as synced; retryable failures back off and retry with the same key, and permanent failures or exhausted retries go to a dead-letter queue, alert the support team and are replayed once fixed.Retry and error handlingSalesforceSupport teamError storeIntegration layerYesNoYesNoRetryChange to send: Record or event. An outbound integration starts from a record change or an event. Record the attempt against the source record so users can see sync status.Change to sendRecord or eventIdempotency key: Same key on retries. A unique key per business change lets the target ignore duplicates, so a retry after a timeout cannot create a second order or payment.Idempotency keySame key on retriesCall target API: With a timeout. Set an explicit timeout. A timeout does not mean the call failed; the target may have applied it, which is why the idempotency key matters.Call target APIWith a timeoutCall succeeded?. Treat a success response as success only after checking the body; some APIs return 200 with an error inside.Call succeeded?Marked synced: Status saved. The source record is marked as synced with the target ID and time, which makes support questions quick to answer.Marked syncedStatus savedRetryable, tries left?. Timeouts, rate limits and server errors are worth retrying. Validation errors are not; retrying them only fills logs. Cap the number of attempts.Retryable, triesleft?Back off, retry: Exponential, jitter. Wait longer after each failure and add some randomness, so many failed calls do not all retry at once and overload the target again.Back off, retryExponential, jitterDead-letter queue: Payload and error kept. Failed messages are parked with the payload, error, attempt count and correlation ID. Nothing is lost, and the queue can be replayed after a fix.Dead-letter queuePayload and errorkeptAlert support: With correlation ID. Alert on a growing queue or on critical failures, not on every single error, so alerts stay meaningful.Alert supportWith correlation IDFix cause, replay: Same key reused. Support fixes the data or configuration and replays from the queue. The original key means replays are safe even if some calls already landed.Fix cause, replaySame key reusedReplayed: Queue item closed. The record is synced and the queue item is closed with a note of the cause, which helps spot repeating problems.ReplayedQueue item closedStartProcess stepSystem or platformDecisionEnd or outcomeWaitDataAlert 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. Change to send SalesforceRecord or event

    An outbound integration starts from a record change or an event. Record the attempt against the source record so users can see sync status.

    Next: Idempotency key

  2. Idempotency key Integration layerSame key on retries

    A unique key per business change lets the target ignore duplicates, so a retry after a timeout cannot create a second order or payment.

    Next: Call target API

  3. Call target API Integration layerWith a timeout

    Set an explicit timeout. A timeout does not mean the call failed; the target may have applied it, which is why the idempotency key matters.

    Next: Call succeeded?

  4. Call succeeded? Integration layer

    Treat a success response as success only after checking the body; some APIs return 200 with an error inside.

    Next: Yes: Marked synced; No: Retryable, tries left?

  5. Marked synced SalesforceStatus saved

    The source record is marked as synced with the target ID and time, which makes support questions quick to answer.

    End of the flow.

  6. Retryable, tries left? Integration layer

    Timeouts, rate limits and server errors are worth retrying. Validation errors are not; retrying them only fills logs. Cap the number of attempts.

    Next: Yes: Back off, retry; No: Dead-letter queue

  7. Dead-letter queue Error storePayload and error kept

    Failed messages are parked with the payload, error, attempt count and correlation ID. Nothing is lost, and the queue can be replayed after a fix.

    Next: Alert support

  8. Back off, retry Integration layerExponential, jitter

    Wait longer after each failure and add some randomness, so many failed calls do not all retry at once and overload the target again.

    Next: Retry: Call target API

  9. Alert support Support teamWith correlation ID

    Alert on a growing queue or on critical failures, not on every single error, so alerts stay meaningful.

    Next: Fix cause, replay

  10. Fix cause, replay Support teamSame key reused

    Support fixes the data or configuration and replays from the queue. The original key means replays are safe even if some calls already landed.

    Next: Replayed

  11. Replayed SalesforceQueue item closed

    The record is synced and the queue item is closed with a note of the cause, which helps spot repeating problems.

    End of the flow.

An outbound change gets an idempotency key before the target API is called. Successful calls are marked as synced; retryable failures back off and retry with the same key, and permanent failures or exhausted retries go to a dead-letter queue, alert the support team and are replayed once fixed. 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.

Deliverables

  • An integration inventory and data flow map covering every connection in scope.
  • Field-level mapping with system-of-record decisions and transformation rules.
  • Security design: integration users, permission sets, credentials and authentication flows.
  • Built and tested integration components in your version control.
  • An error handling and monitoring runbook, including who is alerted and how to reprocess failures.

Dependencies and risks

Integration work depends on systems we do not control. To keep it on track, we need API documentation and test environments for every connected system, a contact on each system's team who can answer questions, and agreement on data ownership before build starts. The most common delays come from test environments that do not exist or do not resemble production, and from field ownership disputes discovered late. We raise both early.

Questions we hear

Do you work with MuleSoft or other middleware?
We can design integrations that use your existing middleware, and we will tell you honestly when a direct API connection is enough. Middleware choice is yours; we design around what you have or plan to buy.
Can you fix an integration someone else built?
Yes. We start by reviewing how it works today, where it fails and what it logs, then propose fixes in priority order.
How do you avoid duplicate records from integrations?
We use external ID fields and upsert operations, agree matching rules up front and test with repeated and out-of-order messages.
Should everything be real time?
Usually not. Real time adds cost and complexity. We match latency to the business need, and many flows work well on a schedule.
Who monitors integrations after go-live?
Your team, ideally, with a clear runbook. If you prefer, ongoing monitoring can be part of our managed support.

Planning a new integration or fixing an unreliable one?

Share the systems involved and what needs to move between them. We will help you choose the right patterns and identify the risks before anything is built.

Discuss your integration →

Go deeper: Integration

Next step: Salesforce 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