A reliability review for a Salesforce integration checks four things: how each call fails, how long the business can wait for data to catch up, what the calling side does while the other system is unavailable, and who hears about a failed record. Working through these questions before go-live exposes gaps that happy-path testing leaves open.
Map each failure mode before judging the design
A review goes wrong when it starts from the architecture diagram and ends with a checklist. Start instead with a list of the ways each call can fail, and walk each direction of data flow separately. Writes from Salesforce to another system and reads back into Salesforce fail in different ways, and a single combined list hides that difference.
Failure modes to list for each flow
- The remote endpoint is unreachable, or the connection drops before a response arrives.
- The remote system is slow. The caller’s timeout fires, but the work still completes on the other side.
- The remote system rejects a record that was valid when it was saved, often because a rule on that side changed.
- The request succeeds but the response is lost, so the caller retries and creates a duplicate.
- Messages wait in a queue for hours because the consumer stopped and nobody was alerted.
- A credential expires or a certificate is renewed, and calls start failing at the same moment.
- A bulk job partly succeeds, and the failed rows are recorded somewhere no one reads.
Set recovery targets in business terms
Recovery targets are a business decision that engineers then design against. Ask how stale each dataset may become before someone notices, and how long a broken integration can run before it stops a process such as order handling, case routing or billing. Record the answers as two numbers for each integration: the longest acceptable gap in data freshness, and the longest acceptable time to restore normal flow after an incident.
Questions to put to the business owner
- Which records must be correct within minutes, and which can wait for the next batch?
- How long can the team keep working without data from the other system?
- Who has the authority to pause a process that depends on the integration?
Decide what the calling side does during an outage
This is the question many reviews skip. When the target cannot be reached, the calling side has a small set of options, and each one changes what users see and what support has to explain later.
Options and their trade-offs
- Reject the user’s action with a clear message and ask them to try again later. This helps keep both systems consistent and suits steps where a wrong value costs more than a delay.
- Accept the change, queue it, and send it when the target returns. The user keeps working, but the other system stays stale for as long as the queue holds, and someone has to own that queue.
- Save the change locally and flag the record as pending sync. This works when the local record is the one people read, and the flag must be visible on screen so nobody assumes the other system already has the change.
- Show the last known value from the other system on read. This is acceptable for display data and unsafe for anything used to decide money, eligibility or access.
Pick one behavior for each integration and write it into the runbook. A review that accepts “it depends” for each flow tends to leave the choice to whoever is on call that night.
Check retries for duplicates and ordering
Retries are where an integration that looks reliable starts producing bad data. A retry that repeats a create call can produce two records. A retry that resends an older update can overwrite a newer change. Ask the team to show, for each write, how a repeat is handled.
Making a retry safe
- Put a stable external identifier on each record the integration creates, so the receiving side can recognize a repeat.
- Send updates with a version marker or timestamp, and have the receiver compare it before applying the change.
- Cap the number of attempts and lengthen the gap between them, so a recovering system is not hit by a flood of queued traffic the moment it returns.
- Move messages that exhaust their attempts into a holding area that someone reads, rather than dropping them.
Ordering matters as much as duplication. Two changes to one record can travel by separate paths, and the slower one may arrive last. Decide which changes must apply in sequence, such as a status change followed by a closing change, and which can apply in any order. Test the first group by changing the same record twice in quick succession and checking the final value.
Plan monitoring and the people who respond
A reliability review should end with three lists: what alerts, who receives each alert, and what that person is expected to do first. An integration that fails quietly for three days typically causes more damage than one that fails loudly for three hours, because a loud failure is caught the same day.
Signals worth tracking
- Failed calls per hour, split by integration and by direction.
- Age of the oldest message in any queue or holding area.
- Count of records flagged as pending sync, and how long each has been pending.
- Authentication failures, which often show up before functional errors do.
- Traffic volume compared with the same hour in the previous week, which catches an integration that has silently stopped.
A team name on an alert is not an owner. A named role, such as the Salesforce administrator on call or the owner of the receiving system, is an owner. Write down the escalation path for the case where the first person does not respond.
Test the failure paths, not just the happy path
Many integration tests confirm that a record moves from one system to the other. Reliability needs tests that break the link on purpose. Run them in a sandbox that mirrors the production integration setup, and record what happened to each message so the results can be compared across runs.
Failure tests to run
- Stop the receiving endpoint for a set period while users keep creating records. Restore it, then confirm each queued change arrives once.
- Return a validation error for one record in a batch. Confirm the rest of the batch completes and that the failed record is visible to a person.
- Expire the test credential and confirm the alert fires before a user reports a problem.
- Send the same change twice and confirm that a single record results.
- Time the recovery from restoration to an empty backlog, and compare the result with the recovery target set earlier.
Sandbox data often differs from production volume. Run at least one test with a batch sized to the largest load the integration is expected to carry, because failures under volume often differ from the ones seen with ten records. Refreshing a sandbox replaces its data, so schedule failure tests around the refresh. For the refresh side of this, see sandbox refresh planning.
Confirm access and platform limits for the integration user
The integration runs as a user, and that user’s access determines which failures are possible. Confirm the integration user can create and update the objects and fields it touches, and that it cannot change fields it has no reason to own. Access problems often appear as errors that look like network faults, so include them in the failure list above. For the access model itself, see permission set design for small teams.
Bulk writes can also reach platform execution limits and produce partial failures that look like random errors. Check the batch sizes the integration uses against the limits that apply to your org, and confirm the figures with your administrator rather than relying on a number from memory. The admin view of these constraints is in governor limits for admins.
Validation rules on the receiving side can reject a write that passed on the sending side. The failure arrives as a rejected record rather than a dropped connection, so the failure list should include it. For the rule side of this, see validation rules without breaking integrations.
Before you sign off the review
Sign-off should confirm that each integration has a named owner, a written choice for outage behavior, both recovery numbers, a passed set of failure tests, and an alert with a recipient. If any of these is missing, the review is not finished, even when the happy path works. For help planning this work, see Salesforce implementation.
Questions about reviewing an integration that is already live
Can this review run after go-live?
Yes. Pull the failure history for the past month, sort it by type, and check whether the same failures recur. Compare the recovery times in that history with the targets. Any gap between the two becomes the first item on the next change list.
How often should the failure tests be repeated?
Repeat them after any change to the integration, the receiving system or the credentials. Plan a repeat after each platform upgrade as well. Retry, queue and event behavior can differ between Salesforce releases and between the features and editions in use, so confirm how your instance behaves on its current release before relying on a specific behavior.
What if the receiving system cannot recognize repeated requests?
Keep a record on the sending side of each change and its identifier, and check that record before resending. Alternatively, have the receiving side ignore a change it has already applied, using a key the sender supplies. The first option depends on the sender’s record surviving a restart, so test that as well.
Is a nightly reconciliation enough as a safety net?
A reconciliation finds records that drifted apart, but it finds them after the fact. It can meet a recovery target measured in a day and is unlikely to meet one measured in minutes. Use it to catch what the live path missed, and keep it separate from the live design.
More in this section
- Salesforce Integration Architecture with Clear Ownership
- Salesforce Integration Architect Checklist for API Call Budgets
- Reconciling the System of Record Before Choosing an Integration Pattern
- Continuation Callouts for Slow External Lookups During a Page Request
- Using the Architect Decision Guides to Frame a Salesforce Design Review