Merge · Arazzo Workflow

Merge CRM Create an Account with a Contact

Version 1.0.0

Create a CRM account, attach a primary contact to it, and confirm the contact was written.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub IntegrationPlatformUnified-APIAgent HandlerLLM GatewayArazzoWorkflows

Provider

merge

Workflows

create-account-and-contact
Create a CRM account and attach a primary contact to it.
Creates an account, creates a contact tied to that account, and confirms the contact.
3 steps inputs: accountName, accountToken, authorization, contactFirstName, contactLastName, industry, website outputs: accountId, contactId
1
createAccount
{$sourceDescriptions.subpackageAccountsApi.url}#/paths/~1crm~1v1~1accounts/post
Create the CRM account from the supplied name and optional firmographics.
2
createContact
{$sourceDescriptions.subpackageContactsApi.url}#/paths/~1crm~1v1~1contacts/post
Create a contact linked to the newly created account.
3
confirmContact
{$sourceDescriptions.subpackageContactsApi.url}#/paths/~1crm~1v1~1contacts~1{id}/get
Read the created contact back to confirm it was persisted with the correct account association.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Merge CRM Create an Account with a Contact
  summary: Create a CRM account, attach a primary contact to it, and confirm the contact was written.
  description: >-
    A common CRM write pattern for standing up a new customer record. The
    workflow creates an account, then creates a contact linked to that account,
    and finally reads the created contact back to confirm it was persisted with
    the correct account association. 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: subpackageAccountsApi
  url: ../openapi/merge-subpackage-accounts-api-openapi.yml
  type: openapi
- name: subpackageContactsApi
  url: ../openapi/merge-subpackage-contacts-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-account-and-contact
  summary: Create a CRM account and attach a primary contact to it.
  description: >-
    Creates an account, creates a contact tied to that account, and confirms
    the contact.
  inputs:
    type: object
    required:
    - authorization
    - accountToken
    - accountName
    - contactFirstName
    - contactLastName
    properties:
      authorization:
        type: string
        description: Production access token with the required "Bearer " prefix.
      accountToken:
        type: string
        description: The account token identifying the linked CRM end user.
      accountName:
        type: string
        description: The name of the account to create.
      industry:
        type: string
        description: The account's industry.
      website:
        type: string
        description: The account's website URL.
      contactFirstName:
        type: string
        description: The primary contact's first name.
      contactLastName:
        type: string
        description: The primary contact's last name.
  steps:
  - stepId: createAccount
    description: >-
      Create the CRM account from the supplied name and optional firmographics.
    operationPath: '{$sourceDescriptions.subpackageAccountsApi.url}#/paths/~1crm~1v1~1accounts/post'
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Account-Token
      in: header
      value: $inputs.accountToken
    requestBody:
      contentType: application/json
      payload:
        model:
          name: $inputs.accountName
          industry: $inputs.industry
          website: $inputs.website
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      accountId: $response.body#/model/id
  - stepId: createContact
    description: >-
      Create a contact linked to the newly created account.
    operationPath: '{$sourceDescriptions.subpackageContactsApi.url}#/paths/~1crm~1v1~1contacts/post'
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Account-Token
      in: header
      value: $inputs.accountToken
    requestBody:
      contentType: application/json
      payload:
        model:
          first_name: $inputs.contactFirstName
          last_name: $inputs.contactLastName
          account: $steps.createAccount.outputs.accountId
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      contactId: $response.body#/model/id
  - stepId: confirmContact
    description: >-
      Read the created contact back to confirm it was persisted with the
      correct account association.
    operationPath: '{$sourceDescriptions.subpackageContactsApi.url}#/paths/~1crm~1v1~1contacts~1{id}/get'
    parameters:
    - name: id
      in: path
      value: $steps.createContact.outputs.contactId
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Account-Token
      in: header
      value: $inputs.accountToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      contactId: $response.body#/id
      account: $response.body#/account
  outputs:
    accountId: $steps.createAccount.outputs.accountId
    contactId: $steps.confirmContact.outputs.contactId

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/merge-crm-create-account-and-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.