Salesforce · Arazzo Workflow

Salesforce Get a Record UI Representation

Version 1.0.0

Fetch a record's UI API representation with its object metadata and layout fields.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Fortune 500Artificial IntelligenceAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSalesArazzoWorkflows

Provider

salesforce

Workflows

get-record-ui
Retrieve a Salesforce record's UI representation with object metadata.
Reads the object metadata for the supplied object, then loads the record's UI API representation using the requested layout so a client can render the record with the correct fields, labels, and metadata.
2 steps inputs: layoutTypes, modes, objectApiName, recordId outputs: objectFields, recordFields, recordId
1
getObjectMetadata
Read the object metadata to confirm the object exists and to learn its fields, labels, and CRUD permissions before loading the record.
2
getRecordUi
Load the record's UI API representation using the requested layout so the client receives field values alongside their display metadata.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce Get a Record UI Representation
  summary: Fetch a record's UI API representation with its object metadata and layout fields.
  description: >-
    A foundational Salesforce UI API pattern used by Lightning components to
    render a record. The workflow first reads the object's metadata to confirm
    the object exists and to learn its fields, then retrieves the record itself
    formatted for display, including field values, labels, editability, and the
    record type info. Every step spells out its request inline so the flow can
    be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: objectInfoApi
  url: ../openapi/salesforce-object-info-api-openapi.yml
  type: openapi
- name: recordsApi
  url: ../openapi/salesforce-records-api-openapi.yml
  type: openapi
workflows:
- workflowId: get-record-ui
  summary: Retrieve a Salesforce record's UI representation with object metadata.
  description: >-
    Reads the object metadata for the supplied object, then loads the record's
    UI API representation using the requested layout so a client can render the
    record with the correct fields, labels, and metadata.
  inputs:
    type: object
    required:
    - objectApiName
    - recordId
    properties:
      objectApiName:
        type: string
        description: The API name of the Salesforce object (e.g. Account, Contact, MyObject__c).
      recordId:
        type: string
        description: The 18-character Salesforce record ID to retrieve.
      layoutTypes:
        type: string
        description: Layout type used to determine which fields to return (Full or Compact).
        default: Full
      modes:
        type: string
        description: View mode for the layout (View, Edit, Create).
        default: View
  steps:
  - stepId: getObjectMetadata
    description: >-
      Read the object metadata to confirm the object exists and to learn its
      fields, labels, and CRUD permissions before loading the record.
    operationId: getObjectInfo
    parameters:
    - name: objectApiName
      in: path
      value: $inputs.objectApiName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      apiName: $response.body#/apiName
      fields: $response.body#/fields
      recordTypeInfos: $response.body#/recordTypeInfos
  - stepId: getRecordUi
    description: >-
      Load the record's UI API representation using the requested layout so the
      client receives field values alongside their display metadata.
    operationId: getRecord
    parameters:
    - name: recordId
      in: path
      value: $inputs.recordId
    - name: layoutTypes
      in: query
      value: $inputs.layoutTypes
    - name: modes
      in: query
      value: $inputs.modes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      id: $response.body#/id
      apiName: $response.body#/apiName
      fields: $response.body#/fields
      recordTypeId: $response.body#/recordTypeId
      lastModifiedDate: $response.body#/lastModifiedDate
  outputs:
    recordId: $steps.getRecordUi.outputs.id
    recordFields: $steps.getRecordUi.outputs.fields
    objectFields: $steps.getObjectMetadata.outputs.fields

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/salesforce-get-record-ui-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.