Zendesk · Arazzo Workflow

Zendesk Create Macro and Preview on Ticket

Version 1.0.0

Create a macro, then preview the changes it would make to a sample ticket.

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

Provider

zendesk

Workflows

create-macro-and-preview
Create a macro and preview its effect on a sample ticket.
Creates a macro, then dry-runs it against a sample ticket to confirm the changes it would produce.
2 steps inputs: actions, sampleTicketId, title outputs: macroId, proposedStatus
1
createMacro
Create the macro from the supplied title and actions.
2
previewOnTicket
Preview the changes the new macro would make to the sample ticket without persisting them.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Zendesk Create Macro and Preview on Ticket
  summary: Create a macro, then preview the changes it would make to a sample ticket.
  description: >-
    A macro authoring-and-validation pattern for Zendesk Support. The workflow
    creates a macro with the supplied title and actions, captures its id, and
    then requests a preview of the changes that macro would make to a sample
    ticket without persisting them. The create body uses the documented
    {macro:{...}} envelope and is spelled out inline.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-430
  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-430
      capability_name: Customer Service Management
      spec: zendesk-macros-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: macrosApi
  url: ../openapi/zendesk-macros-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-macro-and-preview
  summary: Create a macro and preview its effect on a sample ticket.
  description: >-
    Creates a macro, then dry-runs it against a sample ticket to confirm the
    changes it would produce.
  inputs:
    type: object
    required:
    - title
    - actions
    - sampleTicketId
    properties:
      title:
        type: string
        description: The title of the macro to create.
      actions:
        type: array
        description: >-
          The macro actions, each an object with field and value, e.g.
          [{"field":"status","value":"solved"}].
        items:
          type: object
      sampleTicketId:
        type: integer
        description: The id of a ticket to preview the macro against.
  steps:
  - stepId: createMacro
    description: Create the macro from the supplied title and actions.
    operationId: CreateMacro
    requestBody:
      contentType: application/json
      payload:
        macro:
          title: $inputs.title
          actions: $inputs.actions
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      macroId: $response.body#/macro/id
  - stepId: previewOnTicket
    description: >-
      Preview the changes the new macro would make to the sample ticket without
      persisting them.
    operationId: ShowTicketAfterChanges
    parameters:
    - name: ticket_id
      in: path
      value: $inputs.sampleTicketId
    - name: macro_id
      in: path
      value: $steps.createMacro.outputs.macroId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      proposedStatus: $response.body#/result/ticket/status
      proposedComment: $response.body#/result/ticket/comment/body
  outputs:
    macroId: $steps.createMacro.outputs.macroId
    proposedStatus: $steps.previewOnTicket.outputs.proposedStatus

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-create-macro-and-preview-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.