Salesforce · Arazzo Workflow

Salesforce Update Record

Version 1.0.0

Update fields on an existing SObject record then read it back to confirm.

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

Provider

salesforce

Workflows

update-record
Update fields on a Salesforce SObject record and verify the change.
Patches the supplied fields onto an existing record identified by SObject type and id, then reads the record back to confirm the persisted values.
2 steps inputs: fields, id, sobjectType outputs: record
1
updateRecord
Patch the supplied field values onto the existing record. Returns no body on success (HTTP 204).
2
getRecord
Retrieve the updated record by SObject type and id to confirm the new field values were persisted.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce Update Record
  summary: Update fields on an existing SObject record then read it back to confirm.
  description: >-
    Updates an existing Salesforce record by SObject type and id, changing only
    the fields included in the request body and leaving all other fields intact.
    Because the update endpoint returns no body on success, the workflow then
    retrieves the record by id so callers can confirm the new field values were
    persisted. 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: recordsApi
  url: ../openapi/salesforce-records-api-openapi.yml
  type: openapi
workflows:
- workflowId: update-record
  summary: Update fields on a Salesforce SObject record and verify the change.
  description: >-
    Patches the supplied fields onto an existing record identified by SObject
    type and id, then reads the record back to confirm the persisted values.
  inputs:
    type: object
    required:
    - sobjectType
    - id
    - fields
    properties:
      sobjectType:
        type: string
        description: >-
          The API name of the Salesforce SObject type (e.g. Account, Contact,
          MyCustomObject__c).
      id:
        type: string
        description: The 15- or 18-character Salesforce record id to update.
      fields:
        type: object
        description: >-
          Map of field API name to new value. Only the fields included are
          changed; omitted fields retain their current values.
  steps:
  - stepId: updateRecord
    description: >-
      Patch the supplied field values onto the existing record. Returns no body
      on success (HTTP 204).
    operationId: updateRecord
    parameters:
    - name: sobjectType
      in: path
      value: $inputs.sobjectType
    - name: id
      in: path
      value: $inputs.id
    requestBody:
      contentType: application/json
      payload: $inputs.fields
    successCriteria:
    - condition: $statusCode == 204
  - stepId: getRecord
    description: >-
      Retrieve the updated record by SObject type and id to confirm the new
      field values were persisted.
    operationId: getRecord
    parameters:
    - name: sobjectType
      in: path
      value: $inputs.sobjectType
    - name: id
      in: path
      value: $inputs.id
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      record: $response.body
  outputs:
    record: $steps.getRecord.outputs.record

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-update-record-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.