Zendesk · Arazzo Workflow

Zendesk Upsert Organization by Name

Version 1.0.0

Find an organization by exact name and update it if found, otherwise create it.

1 workflow 1 source API 1 provider
View Spec View on GitHub ChatCRMHelp CenterSellSupportT1TalkTicketingTicketsArazzoWorkflows

Provider

zendesk

Workflows

upsert-organization-by-name
Upsert a Zendesk organization keyed on its unique name.
Searches for an existing organization by name and either updates the matched organization or creates a new one.
3 steps inputs: details, name, notes outputs: createdOrganizationId, updatedOrganizationId
1
findOrganization
Search for an organization whose name exactly matches the input.
2
updateExisting
Update the matched organization with the supplied fields.
3
createNew
Create a new organization when no existing one matched the name.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Zendesk Upsert Organization by Name
  summary: Find an organization by exact name and update it if found, otherwise create it.
  description: >-
    A deduplicating provisioning pattern for Zendesk Support organizations. The
    workflow searches for an organization by exact name, then branches: when a
    match is found it updates the existing organization, and when none is found
    it creates a new one. Request bodies use the documented {organization:{...}}
    envelope and every step spells out its request inline.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-420.10
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-420.10
      capability_name: Customer Data Management
      spec: zendesk-organizations-api-openapi.yml
      confidence: 0.8
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: organizationsApi
  url: ../openapi/zendesk-organizations-api-openapi.yml
  type: openapi
workflows:
- workflowId: upsert-organization-by-name
  summary: Upsert a Zendesk organization keyed on its unique name.
  description: >-
    Searches for an existing organization by name and either updates the matched
    organization or creates a new one.
  inputs:
    type: object
    required:
    - name
    properties:
      name:
        type: string
        description: The exact organization name to search for and set.
      details:
        type: string
        description: Optional details text to set on the organization.
      notes:
        type: string
        description: Optional internal notes to set on the organization.
  steps:
  - stepId: findOrganization
    description: Search for an organization whose name exactly matches the input.
    operationId: SearchOrganizations
    parameters:
    - name: name
      in: query
      value: $inputs.name
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      matchedOrganizationId: $response.body#/organizations/0/id
    onSuccess:
    - name: organizationExists
      type: goto
      stepId: updateExisting
      criteria:
      - context: $response.body
        condition: $.organizations.length > 0
        type: jsonpath
    - name: organizationMissing
      type: goto
      stepId: createNew
      criteria:
      - context: $response.body
        condition: $.organizations.length == 0
        type: jsonpath
  - stepId: updateExisting
    description: Update the matched organization with the supplied fields.
    operationId: UpdateOrganization
    parameters:
    - name: organization_id
      in: path
      value: $steps.findOrganization.outputs.matchedOrganizationId
    requestBody:
      contentType: application/json
      payload:
        organization:
          details: $inputs.details
          notes: $inputs.notes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      organizationId: $response.body#/organization/id
    onSuccess:
    - name: done
      type: end
  - stepId: createNew
    description: Create a new organization when no existing one matched the name.
    operationId: CreateOrganization
    requestBody:
      contentType: application/json
      payload:
        organization:
          name: $inputs.name
          details: $inputs.details
          notes: $inputs.notes
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      organizationId: $response.body#/organization/id
  outputs:
    updatedOrganizationId: $steps.updateExisting.outputs.organizationId
    createdOrganizationId: $steps.createNew.outputs.organizationId

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/zendesk-upsert-organization-by-name-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.