BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
59 / 81 · Module 16 — Production Engineering and Observability · filtered: interview← prev⊞ allnext →

16.21Reduce Salesforce calls

Remember our earlier rule:

Bad:

For Each customer
  Query Salesforce
  Upsert Salesforce

Better where possible:

batch query
use IN
batch records
upsert by External ID
cache stable lookup data

One of the best reliability improvements is simply:

Make fewer unnecessary downstream calls.