Core banking integration
How to choose between real time and batch, which Salesforce API fits the shape of the data, and which limits to check before committing to a latency.
Integration between Salesforce and a core banking system is where a platform holds together or falls apart. The data model can be impeccable and the sales process perfect, but if the position a relationship manager sees arrives late, incomplete or duplicated, the platform loses credibility on day one.
This page collects the decisions worth closing before writing the first line of a banking integration, and the criteria that hold them up in front of the business, the security team and the core banking team.
Latency first, technology second
The opening question is not “REST or Bulk?”. It is “how stale can this data get before someone makes a bad decision with it?”. The answer orders everything else.
In banking, three categories usually appear:
- Synchronous, real time. Positions, balances, operational limits, risk checks. The user is waiting on screen and the data is not replicated: it is queried and displayed.
- Asynchronous, near real time. Client onboarding, contact-detail changes, case milestones. A few seconds of delay is acceptable; losing a message is not.
- Batch. Portfolios, historical transactions, product hierarchies, initial loads. A processing window, high volume and tolerance for hours of lag.
A Customer 360 on Financial Services Cloud mixes data that expires in seconds with data that expires in a day, so core integrations usually combine real time and batch over the same intermediate layer. Classifying every data element into one of those three categories, and writing it down, removes a large share of the arguments that follow.
The API follows the shape of the data
Once latency is fixed, the choice of interface is almost mechanical.
REST API is the default for single records or small groups: JSON, clear verbs, and composite requests to chain several related operations into one call. It fits a form, a digital onboarding screen or a single action by a relationship manager.
SOAP API is not a relic. When the core already publishes WSDL contracts, strong typing and an explicit schema save a lot of agreement work between teams. In those cases the interface is not chosen as an aesthetic preference: it is chosen because the contract already exists.
Bulk API 2.0 is about volume, not urgency. It works asynchronously, takes CSV files, splits the work into batches and returns successes and failures separately. It is the right interface for the initial load and for periodic reconciliation. It is the wrong interface for a handful of records: creating, feeding, closing and polling the job costs more than a direct REST call.
Rule of thumb: if the data arrives through a screen, REST; if the contract is imposed by the source, SOAP; if the data arrives through a processing window, Bulk API 2.0.
Events propagate changes, they do not answer questions
When the core needs to learn what happened in Salesforce — or the other way round — request and response runs out of road. That is where events belong.
Change Data Capture publishes changes to Salesforce records onto an event bus with no trigger code: you pick the objects, and creates, updates, deletes and undeletes come out with the detail of the changed fields. It is the natural route for keeping an external system aligned when that system only needs to react.
Platform Events covers the opposite direction and the business case: you define the event, its schema and its semantics, and both Salesforce and external systems publish it. It also decouples heavy internal processing.
Consumers subscribe through the Pub/Sub API and move forward with a replayId, which lets them resume from the last processed event after an outage. Two cautions are worth designing in from the start: bus retention is limited, so a consumer that stays down too long needs a batch reconciliation process; and delivery order is not guaranteed, so the authoritative timestamp must come from the source system, not from the moment of consumption.
The general rule: events propagate changes; they do not replace a query. If you need the authoritative state of an account, ask the core.
Data that should not be copied
Not every piece of core data belongs inside Salesforce. Transactions, documents and operational history tend to combine high volume, occasional lookup and data-minimisation constraints.
Salesforce Connect (OData 4.0) exposes that data as external objects: read at query time, with no storage footprint. The cost is in the small print. Every read is an outbound call subject to limits and latency, SOQL support over external objects is partial, relationships are indirect or lookup-based, and the reports and automation the business takes for granted cannot always be built on top of them.
The criterion: if the data is looked up occasionally, in the context of a record, and nobody is going to filter, aggregate or segment on it at scale, it is a candidate for an external object. If somebody will segment on it, replicate it.
Middleware is not a luxury
Wiring Apex straight into the core is a decision you pay for over years. An intermediate layer — MuleSoft with API-led connectivity, an API gateway, or both — provides three things Salesforce should not take on: it decouples the core’s contract from Salesforce’s contract, it centralises authentication, traceability and transformation, and it lets both sides be versioned and released independently.
The specific products matter less than the principle: the core speaks its own language, Salesforce speaks its own, and the translation lives in between. What that layer buys is decoupling, not a brand.
Idempotency, errors and replay
Every integration fails sooner or later. The difference between a solid platform and a fragile one is what happens next.
- Cheap idempotency. A stable business key from the source system, published as an External ID in Salesforce, turns every write into an
upsert. Resending the same message stops being a problem. - End-to-end correlation. A correlation identifier that travels from the core to the Salesforce record and back into the middleware logs. Without it, diagnosing a mismatch is archaeology.
- Recoverable versus unrecoverable errors. A timeout is retried with exponential backoff; a payload that breaks a validation rule is not. Mixing them produces retry loops that burn limits without resolving anything.
- A failed-message queue and auditable replay. Messages that exhaust their retries go to a separate queue, with their reason, and are reprocessed explicitly and on the record. That queue belongs in the messaging layer, not in Apex.
Limits are part of the design
Platform limits are not an implementation detail: they shape the architecture.
Before committing to a latency, put in front of you the number of outbound calls allowed per transaction, the cumulative time those calls may take, the org’s daily API request limit, the limit on concurrent long-running requests and the quotas specific to Bulk API 2.0. Each pattern draws on a different bucket, and the bucket that empties first is rarely the one being watched.
Three habits help: consolidate calls with composite requests instead of chaining small ones; move anything that does not have to happen inside the user’s transaction into Queueable or Batch Apex; and use Platform Events to decouple rather than stretching a synchronous transaction.
Five questions before you start
- How stale can this data get?
- Which system is authoritative and which one holds the copy?
- Which business key makes the write idempotent?
- What happens when the core stops responding for an hour?
- Which limit runs out first at next year’s volume?
Once all five have a written answer, the choice between REST, SOAP, Bulk API 2.0, events and external objects stops being an opinion and becomes a consequence.
Official sources
- About REST API — REST API Developer Guide (opens in a new tab)
- Composite — REST API Developer Guide (opens in a new tab)
- Insert or Update (Upsert) a Record Using an External ID — REST API Developer Guide (opens in a new tab)
- About SOAP API — SOAP API Developer Guide (opens in a new tab)
- Bulk API 2.0 — Bulk API 2.0 and Bulk API Developer Guide (opens in a new tab)
- Change Data Capture — Change Data Capture Developer Guide (opens in a new tab)
- Platform Events Developer Guide (opens in a new tab)
- Get Started — Pub/Sub API (opens in a new tab)
- Access External Data with OData Adapters for Salesforce Connect — Salesforce Help (opens in a new tab)
- API Request Limits and Allocations — Salesforce Developer Limits and Allocations Quick Reference (opens in a new tab)