Chapter 18% of the exam35 min
Evaluate the Current System Landscape
Understanding what already exists before designing anything: the systems, middleware, protocols, data formats and standards in the landscape, the limits and pain points that constrain a new integration, and the authentication and authorization each connection will need.
By the end of this chapter you can
- Given a set of business requirements, identify the current system landscape and determine what standards, limitations, boundaries, and protocols exist
- Given an existing system landscape, analyze for constraints and/or pain-points to satisfy a business requirement(s)
- Given a set of requirements, evaluate the authentication and authorization needs based on the system landscape
Mapping the system landscape
Scenario: A retailer wants Salesforce to talk to its ERP, e-commerce platform and logistics partner. Before choosing a pattern, the architect documents what already exists.
What to capture
| Element | What to record |
|---|---|
| Systems | Every source and target system, and which one starts each interaction |
| System of record | Which system owns each kind of data: the single source of truth |
| Middleware | Any ESB or iPaaS, such as MuleSoft, that already sits between systems |
| Connectors and protocols | HTTP and REST, SOAP, JMS, FTP or SFTP, JDBC databases, OData |
| Data formats | JSON, XML, CSV, binary (Avro) |
| Data model | Objects, fields, keys and relationships, including those outside Salesforce |
| Existing API consumers | How many integrations already call the org, and how close it is to its limits |
| Security standards | SAML, OAuth, OpenID Connect, certificates, SSO |
| Network boundaries | Firewalls, IP restrictions, private connections, remote site settings |
| Volumes and timing | Rows and size per hour, at peak and in total; real time or batch |
Salesforce protocols at a glance
| Interface | Protocol | Format | Timing |
|---|---|---|---|
| REST API | REST | JSON, XML | Synchronous |
| SOAP API | SOAP with a WSDL contract | XML | Synchronous |
| Bulk API 2.0 | REST | CSV | Asynchronous |
| Pub/Sub API | gRPC over HTTP/2 | Binary Avro | Asynchronous stream |
| Streaming API | CometD (Bayeux) | JSON | Asynchronous |
| Outbound messaging | SOAP over HTTPS | XML | Asynchronous |
| Salesforce Connect | OData 2.0 or 4.0, cross-org REST, custom Apex | Varies | Synchronous |
Middleware and API-led connectivity
- Middleware sits between systems, avoiding point-to-point links and decoupling them. MuleSoft connectors reach on-premises and cloud systems, by system or by protocol (HTTP, FTP, JMS, JDBC).
- API-led connectivity organizes APIs in three layers:
- System APIs connect to back-end systems, with no business logic.
- Process APIs hold business logic and orchestration.
- Experience APIs shape data for each channel, such as mobile or web.
- Integrations should use the org's My Domain URL, which stays the same through instance refreshes and migrations.
Exam tip: "The ERP only supports JMS" means a protocol Salesforce doesn't speak natively, so middleware is in the landscape. Always identify the system of record before deciding which way data should flow.
Constraints and pain points
Scenario: The retailer's current integrations poll Salesforce every minute, run three nightly jobs in parallel and sometimes fail with lock errors.
Salesforce API limits
Salesforce applies three types of API limits:
| Type | Limit |
|---|---|
| Concurrent requests | 25 API calls lasting 20 seconds or more can run at once in production (5 in Developer Edition); more fail with REQUEST_LIMIT_EXCEEDED |
| Timeouts | REST and SOAP calls time out after 10 minutes |
| Total allocation | Daily, over a rolling 24 hours, per org, not per user. Enterprise Edition: 100,000 plus 1,000 per Salesforce licence |
- Managed packages' calls count too. Paid orgs can go a little over, up to a hard cap, but designs mustn't rely on it.
- Governor limits, such as records per DML statement, can't be raised. Allocations, such as API calls, can be extended with licences or add-ons.
Other constraints
| Constraint | Impact |
|---|---|
| SOAP and REST write up to 200 records per call | Chatty integrations use many calls |
| Apex callouts: 100 per transaction, 120-second maximum, none after uncommitted DML | A slow remote system blocks users |
| Bulk API: 15,000 batches and 150 million records a day | Large nightly syncs can reach the allocation |
| Event delivery to external subscribers is limited per day | Many subscribers multiply usage |
| Salesforce Connect OData: 20,000 callouts per hour | Heavy virtualized use is throttled |
| Read-only periods during maintenance | Writes fail while callouts still run |
| Pub/Sub API isn't available in Government Cloud | Some regulated orgs need another option |
Common pain points
| Pain point | Better approach |
|---|---|
| Point-to-point integrations | Middleware or API-led layers, loosely coupled |
| Polling for changes | Change Data Capture or platform events |
| Parallel jobs updating the same parent records | Sequence jobs and sort child records by parent |
| SOAP API for loads of hundreds of thousands of rows | Bulk API |
| Legacy system with no modern API | A system API or connector (database, FTP, JMS) |
| Expecting a strict time for async jobs | Async work has no guaranteed completion time |
Exam tip: "Calls fail with REQUEST_LIMIT_EXCEEDED during the day" points to too many long-running calls or an exhausted allocation. The daily allocation belongs to the whole org, so one noisy integration can block the others.
Authentication and authorization needs
Scenario: The e-commerce platform must create orders in Salesforce, and Salesforce must call the ERP through MuleSoft with OAuth.
Inbound: other systems calling Salesforce
- Every API call needs authentication: an OAuth 2.0 flow, or a session ID from SOAP
login(), which is retiring in Summer '27 and is off by default in new orgs. - The user needs the API Enabled permission.
- Register the client as an external client app. Creating connected apps is restricted from Spring '26. Developers own its Settings, and admins own its Policies, such as who may use it.
- Server-to-server, no user: the client credentials flow, running as a dedicated, least-privilege integration user.
- On behalf of a user: the authorization code (web server) flow.
- Salesforce offers an API-only integration user licence for this kind of user.
Outbound: Salesforce calling other systems
- Named credentials hold the endpoint; external credentials hold the authentication, granted through permission sets. Code never contains secrets, and no remote site setting is needed.
- Two-way SSL (mutual TLS): Salesforce sends a client certificate so the other system can verify it. Self-signed certificates last 1 year (2048-bit keys) or 2 years (4096-bit).
- Named credentials can route calls over a private connection.
Network rules
| Setting | Effect |
|---|---|
| Profile login IP ranges | Block logins from outside the range |
| Trusted IP ranges (Network Access) | Let users skip identity verification, but don't block other locations |
| App IP relaxation policy | Enforce or relax IP rules for one app |
Exam tip: "A backup service with no user context" points to the client credentials flow with an integration user. "Lock the integration user to the data centre's addresses" means profile login IP ranges, not trusted IP ranges.
Hands-on exercise
Assess a retailer's landscape
Document a retailer's systems and find the constraints and security needs a new integration must respect.
Use a free Salesforce Developer Edition org — never a production org.
0 of 5 steps done
How to check your work: The ERP and FTP feeds go through MuleSoft connectors; e-commerce uses REST with OAuth through an external client app; the inventory notes the daily API allocation, 25 concurrent long-running calls and the 10-minute timeout; polling is replaced with events; Salesforce calls out with named and external credentials, and the integration user is least privilege with API access.
Domain quiz: Evaluate the Current System Landscape
10 questions from the 19 in this domain, different each time and checked as you go. Anything you miss is saved to Mistakes review.
- Questions
- 10
- Time
- Untimed
- Feedback
- After each answer
New questions each time you start, drawn from the bank, unseen ones first.