capabilities.work

UI API Record Lifecycle

A 3-step recipe with Salesforce Experience Cloud. We can help you get access.

Recipe · 3 steps

UI API Record Lifecycle

Drive a record through create, read, and update using the UI API.

  1. Create a record of the given apiName with the supplied field values.
  2. Read the new record back with the requested fields and display values.
  3. Update the record with new field values and capture the updated representation.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token for the Salesforce instance.
  • apiName: API name of the sObject type for the new record.
  • createFields: Map of field API names to values for the new record.
  • updateFields: Map of field API names to values to apply on update.
  • readFields: Comma-separated field API names to return when reading the record.
For your developer

Arazzo workflow salesforce-experience-cloud:ui-record-lifecycle, 3 operations: createRecord → getRecord → updateRecord. Specs on APIs.io.