4.17Salesforce operations usually handle collections
A major performance mistake would be:
For Each customer
↓
Salesforce Upsert one record
For 1,000 records:
1000 connector calls
Not ideal.
Better, where appropriate:
Transform 1000 records
↓
Salesforce operation
↓
collection
Example:
payload.customers map (customer) -> {
External_Id__c: customer.id,
Name: customer.name
}
Then one connector operation can process the collection according to the operation's semantics and limits.