Point-to-point callouts from Salesforce, or an integration layer such as MuleSoft?
Your confidence:Not rated
Model answer
| Direct (Named Credential callouts) | Integration layer (MuleSoft or another iPaaS) |
|---|---|
| One or two well-behaved APIs | Many back ends and many consumers |
| Little transformation | Mapping, enrichment, orchestration |
| Salesforce-only consumer | Same APIs reused by web, mobile, partners |
| Low cost, fewer moving parts | Central retries, throttling, monitoring, security policies |
| Cloud APIs | On-premises systems behind firewalls |
API-led connectivity (system, process and experience APIs) pays off when reuse is real. Don't introduce a platform for one integration, and don't build ten point-to-point links that each reimplement retries and mappings.
โ Key points to hit
โ Red-flag answers
- 'Always use MuleSoft'
- 'Middleware is just extra latency'
- No mention of monitoring
โช Follow-ups
What belongs in Salesforce and what in middleware?
Business rules about Salesforce data in Salesforce; transformation, routing, protocol translation and back-end orchestration in middleware. Keep business decisions in one place.
How do you secure Salesforce-to-middleware calls?
Named Credentials with External Credentials (OAuth client credentials or mutual TLS), IP allowlisting where possible, and least-privilege scopes on the middleware side.