Most Salesforce integration challenges come down to a handful of data flow problems: API limits, duplicate records, mismatched data models, sync timing and silent failures. Each one has a known fix, and the fix is far cheaper when it is designed in from the start.
Salesforce rarely works alone. It exchanges data with ERP, marketing automation, billing, support desks, data warehouses and custom applications. Every connection is another place where records can be lost, duplicated, delayed or overwritten. Users notice when a sales rep sees the wrong invoice status or a customer gets an email meant for someone else.
This article walks through the most common problems in Salesforce data integration, explains how to fix each one, and shows how to choose the right Salesforce API integration approach. It also covers when it makes sense to bring in Salesforce integration services.
How data flows in and out of Salesforce
Understanding the integration patterns makes it easier to see where problems start. Most Salesforce integrations use one or more of these:
- Request and reply. Salesforce calls an external system and waits for an answer, such as a real-time credit check or a tax calculation.
- Fire and forget. Salesforce sends an event or message and moves on, often using Platform Events or Change Data Capture.
- Batch synchronisation. Large volumes move on a schedule, typically through the Bulk API or an ETL tool, such as a nightly sync with a data warehouse.
- Remote call-in. An external system creates or updates Salesforce records through the REST or SOAP API.
- Data virtualisation. Salesforce displays external data without storing it, using Salesforce Connect and external objects.
These patterns typically run directly between systems or through middleware such as MuleSoft, Boomi or another iPaaS. The more point-to-point connections you have, the harder they are to monitor and change.
Common data flow problems and how to address them
1. Hitting API limits
Salesforce enforces daily API request limits and concurrency limits, which vary by edition and licence count. Chatty integrations that make one call per record can exhaust the allowance by midday and stop data flowing.
How to fix it: Use the Composite API to bundle related calls, and the Bulk API 2.0 for large volumes. Replace polling with event-driven updates through Change Data Capture or Platform Events. Monitor API usage, and set alerts well before you reach the limit.
2. Duplicate and conflicting records
When several systems create accounts, contacts or leads, the same customer often appears more than once. Updates then land on the wrong record, and reports double-count.
How to fix it: Use External ID fields and upsert operations rather than blind inserts. Turn on Salesforce matching and duplicate rules, and decide which system is the source of truth for each object.
3. Mismatched data models and field mapping
Salesforce objects, picklists and field types rarely match the other system exactly. Values get truncated, picklists reject unknown entries and date formats or time zones shift.
How to fix it: Keep a documented field-mapping specification. Translate values in middleware rather than in custom code scattered across systems, and validate data before it is sent.
4. Sync timing and data latency
Nightly batches leave users working with yesterday's data, while real-time sync everywhere drives up API usage and complexity.
How to fix it: Match the pattern to the business need. Use real time for order status and case escalations, near-real time through events for most operational data, and batch for reporting and history.
5. Two-way sync conflicts and loops
If both systems can update the same field, they can overwrite each other or trigger endless update loops.
How to fix it: Define field-level ownership, so only one system can update each field. Use last-modified timestamps for conflict rules, and tag integration-user updates so triggers and flows can ignore them.
6. Silent failures and poor error handling
Many integrations fail quietly. A rejected record is logged nowhere, and nobody notices until a customer complains.
How to fix it: Log every failed transaction with the payload and the error. Add retries with back-off for temporary errors, route permanent failures to a queue for review, and alert the support team automatically.
7. Large data volumes and performance
Millions of records, data skew (one parent with thousands of children) and complex triggers can cause timeouts and record locking.
How to fix it: Use the Bulk API for loads, and process records in sensible batch sizes. Avoid ownership and parent skew, and review triggers and flows that fire on integration updates.
8. Security and authentication issues
Hard-coded credentials, over-privileged integration users and expired tokens are common causes of both outages and audit findings.
How to fix it: Use OAuth 2.0 flows, such as the JWT bearer flow for server-to-server connections. Store credentials in Named Credentials, and give each integration its own least-privilege integration user.
9. Breaking changes and upgrades
Salesforce releases three times a year, and connected systems change too. An integration that relies on a retired API version or an altered field can break without warning.
How to fix it: Pin API versions, and review the release notes before each Salesforce release. Keep an automated regression test suite for your integrations, and run it in a sandbox before each release.
Choosing the right Salesforce API integration approach
Many data flow problems start with the wrong tool for the job. Use this table to match each Salesforce API integration option to its use case:
| API or Tool | Best For | Watch Out For |
|---|---|---|
| REST API | Real-time reads and writes of individual records; web and mobile apps | One call per record uses up API limits quickly |
| Composite API | Several related operations in a single call | Request size and sub-request limits |
| Bulk API 2.0 | Loading or extracting thousands to millions of records | Asynchronous, so not suited to real-time needs |
| SOAP API | Legacy and enterprise systems that need strict contracts | More verbose and harder to work with than REST |
| Change Data Capture | Streaming record changes out of Salesforce in near-real time | Event retention window; subscribers must keep up |
| Platform Events | Event-driven messaging between Salesforce and other systems | Event publishing and delivery allocations |
| Salesforce Connect | Viewing external data without copying it into Salesforce | Depends on the external system's speed and uptime |
| Middleware (MuleSoft, Boomi, etc.) | Many systems, complex mapping, central monitoring | Licence cost and the skills to run it |
Best practices for Salesforce data integration
These practices prevent most of the problems above before they reach production:
- Define a source of truth for every object and key field before any build starts.
- Document the data contract, covering field mappings, formats, validation rules and ownership.
- Prefer events over polling to cut API usage and keep data fresh.
- Use External IDs and upserts so that retries never create duplicates.
- Centralise integrations in middleware once you have more than a few connected systems.
- Build in observability with logging, dashboards, alerts and a clear process for handling errors.
- Secure every connection using OAuth, Named Credentials and least-privilege integration users.
- Test with realistic data volumes in a full or partial copy sandbox, not only with a handful of records.
- Govern changes with version control, release reviews and regression tests aligned to Salesforce's release calendar.
When to bring in Salesforce integration services
Simple, single-system integrations are often manageable in-house. Specialist Salesforce integration services are worth considering when:
- You are connecting three or more systems, or replacing a tangle of point-to-point links.
- You regularly hit API limits, see duplicate data or have unexplained sync failures.
- You are planning a migration, a merger of Salesforce orgs or a move to an event-driven architecture.
- You need middleware such as MuleSoft but lack the skills in-house.
- Compliance requirements such as GDPR, HIPAA or SOC 2 demand stronger security and audit trails.
A good partner should start with an integration assessment covering data flows, API usage, error rates and security. Then they should propose a target architecture and a phased plan, not just more custom code.
Conclusion
Most Salesforce integration challenges are predictable, so they are preventable. API limits, duplicates, mapping errors, sync conflicts and silent failures each have proven fixes, and those fixes work best when they are designed in from the start.
Treat Salesforce data integration as an architecture decision, not a one-off connector. Choose the right Salesforce API integration pattern for each flow, and invest in monitoring and governance. When the landscape grows complex, experienced Salesforce integration services can help your data flow reliably as your business grows.