capabilities.work

Update Record

A 2-step recipe with Salesforce. We can help you get access.

Recipe · 2 steps

Update Record

Update fields on a Salesforce SObject record and verify the change.

  1. Patch the supplied field values onto the existing record. Returns no body on success (HTTP 204).
  2. Retrieve the updated record by SObject type and id to confirm the new field values were persisted.
What you'll need to have ready
  • sobjectType: The API name of the Salesforce SObject type (e.g. Account, Contact, MyCustomObject__c).
  • id: The 15- or 18-character Salesforce record id to update.
  • fields: Map of field API name to new value. Only the fields included are changed; omitted fields retain their current values.
For your developer

Arazzo workflow salesforce:update-record, 2 operations: updateRecord → getRecord. Specs on APIs.io.