Salesforce Sales Cloud · Arazzo Workflow

Salesforce Sales Cloud Describe Then Create Record

Version 1.0.0

Describe an sObject to confirm it is creatable, then create a record of that type.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CloudCRMCustomer ManagementEnterpriseSalesArazzoWorkflows

Provider

salesforce-sales-cloud

Workflows

describe-then-create-record
Describe an sObject, then create a record of that type.
Calls the describe endpoint for the sObject to read its metadata, then creates a record using the supplied field map.
2 steps inputs: accessToken, fields, sObjectName outputs: objectLabel, recordId
1
describeObject
Describe the target sObject to confirm it exists and is createable.
2
createRecord
Create a record of the described sObject type.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce Sales Cloud Describe Then Create Record
  summary: Describe an sObject to confirm it is creatable, then create a record of that type.
  description: >-
    A metadata-aware create pattern over the SObject Describe and SObject Rows
    resources. The workflow describes the target sObject to confirm the type
    exists and is createable, then creates a record of that type with the
    supplied field values. Every step inlines its request and the OAuth bearer
    Authorization header.
  version: 1.0.0
sourceDescriptions:
- name: sobjectDescribeApi
  url: ../openapi/salesforce-sales-cloud-sobject-describe-api-openapi.yml
  type: openapi
- name: sobjectRowsApi
  url: ../openapi/salesforce-sales-cloud-sobject-rows-api-openapi.yml
  type: openapi
workflows:
- workflowId: describe-then-create-record
  summary: Describe an sObject, then create a record of that type.
  description: >-
    Calls the describe endpoint for the sObject to read its metadata, then
    creates a record using the supplied field map.
  inputs:
    type: object
    required:
    - accessToken
    - sObjectName
    - fields
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 access token used as the Bearer credential.
      sObjectName:
        type: string
        description: API name of the sObject to describe and create (e.g. Contact).
      fields:
        type: object
        description: Map of field name/value pairs for the new record.
  steps:
  - stepId: describeObject
    description: Describe the target sObject to confirm it exists and is createable.
    operationId: describeSObject
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: sObjectName
      in: path
      value: $inputs.sObjectName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      createable: $response.body#/createable
      label: $response.body#/label
  - stepId: createRecord
    description: Create a record of the described sObject type.
    operationId: createSObjectRecord
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: sObjectName
      in: path
      value: $inputs.sObjectName
    requestBody:
      contentType: application/json
      payload: $inputs.fields
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      recordId: $response.body#/id
      success: $response.body#/success
  outputs:
    objectLabel: $steps.describeObject.outputs.label
    recordId: $steps.createRecord.outputs.recordId

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-sales-cloud-describe-then-create-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.