BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
13 / 18 · Module 16 — Production Engineering and Observability · filtered: cheatsheet← 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.