Salesforce · Arazzo Workflow

Salesforce Create Case for Contact

Version 1.0.0

Create a support Case associated with an existing Contact and Account.

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

Provider

salesforce

Workflows

create-case-for-contact
Create a Case linked to a Contact and Account.
Inserts a Case record that references a supplied Contact and Account so the new Case is associated with both on the standard related lists.
2 steps inputs: accountId, contactId, description, origin, priority, subject outputs: case, caseId
1
createCase
Insert a new Case record referencing the supplied Contact and Account so the Case is linked to both.
2
getCase
Read back the newly created Case to confirm it was stored and to surface its fields for downstream use.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce Create Case for Contact
  summary: Create a support Case associated with an existing Contact and Account.
  description: >-
    A common service-process pattern: log a new Case and tie it to the Contact
    who raised it and the Account they belong to. The workflow inserts a Case
    record whose ContactId and AccountId reference existing records, so the Case
    appears under both the Contact and the Account. 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: create-case-for-contact
  summary: Create a Case linked to a Contact and Account.
  description: >-
    Inserts a Case record that references a supplied Contact and Account so the
    new Case is associated with both on the standard related lists.
  inputs:
    type: object
    required:
    - contactId
    - subject
    properties:
      contactId:
        type: string
        description: The 18-character Id of the Contact the Case is for.
      accountId:
        type: string
        description: The 18-character Id of the Account the Case is associated with.
      subject:
        type: string
        description: A short summary of the Case.
      description:
        type: string
        description: The detailed description of the issue.
      priority:
        type: string
        description: The Case priority (e.g. High, Medium, Low).
      origin:
        type: string
        description: How the Case was received (e.g. Phone, Email, Web).
  steps:
  - stepId: createCase
    description: >-
      Insert a new Case record referencing the supplied Contact and Account so
      the Case is linked to both.
    operationId: createRecord
    parameters:
    - name: sobjectType
      in: path
      value: Case
    requestBody:
      contentType: application/json
      payload:
        ContactId: $inputs.contactId
        AccountId: $inputs.accountId
        Subject: $inputs.subject
        Description: $inputs.description
        Priority: $inputs.priority
        Origin: $inputs.origin
        Status: New
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      caseId: $response.body#/id
  - stepId: getCase
    description: >-
      Read back the newly created Case to confirm it was stored and to surface
      its fields for downstream use.
    operationId: getRecord
    parameters:
    - name: sobjectType
      in: path
      value: Case
    - name: id
      in: path
      value: $steps.createCase.outputs.caseId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      case: $response.body
  outputs:
    caseId: $steps.createCase.outputs.caseId
    case: $steps.getCase.outputs.case

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-create-case-for-contact-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.