Cross-Provider Workflow

New Support Ticket to SMS Acknowledgement

Version 1.0.0

Create a Zendesk ticket, then send the requester an SMS acknowledgement.

1 workflow 2 source APIs 2 providers
View Spec View on GitHub ArazzoWorkflowsCross-Provider

Providers Orchestrated

zendesk twilio

Workflows

ticket-to-sms-ack
Create a Zendesk ticket and text the requester an acknowledgement.
Creates a Zendesk ticket from a customer request and sends an SMS acknowledgement to the requester's phone via the Twilio Messaging API.
2 steps inputs: accountSid, description, fromNumber, requesterEmail, subject, toNumber outputs: messageSid, ticketId
1
create-ticket
$sourceDescriptions.zendeskTickets.CreateTicket
Create a Zendesk support ticket from the inbound request.
2
send-sms
$sourceDescriptions.twilioMessaging.createMessage
Send an SMS acknowledgement to the requester via Twilio.

Source API Descriptions

Arazzo Workflow Specification

itsm-new-ticket-to-sms-ack.yml Raw ↑
arazzo: 1.0.1
info:
  title: New Support Ticket to SMS Acknowledgement
  summary: Create a Zendesk ticket, then send the requester an SMS acknowledgement.
  description: >-
    A cross-provider ITSM workflow that opens a Zendesk support ticket and sends
    the requester an immediate SMS acknowledgement through the Twilio Messaging
    API so they know their request was received. Demonstrates orchestrating a
    support desk with a programmable messaging provider in a single Arazzo
    workflow.
  version: 1.0.0
sourceDescriptions:
  - name: zendeskTickets
    url: https://raw.githubusercontent.com/api-evangelist/zendesk/refs/heads/main/openapi/tickets-openapi-original.yml
    type: openapi
  - name: twilioMessaging
    url: https://raw.githubusercontent.com/api-evangelist/twilio/refs/heads/main/openapi/twilio-messaging-openapi.yml
    type: openapi
workflows:
  - workflowId: ticket-to-sms-ack
    summary: Create a Zendesk ticket and text the requester an acknowledgement.
    description: >-
      Creates a Zendesk ticket from a customer request and sends an SMS
      acknowledgement to the requester's phone via the Twilio Messaging API.
    inputs:
      type: object
      properties:
        subject:
          type: string
        description:
          type: string
        requesterEmail:
          type: string
        accountSid:
          type: string
        fromNumber:
          type: string
        toNumber:
          type: string
    steps:
      - stepId: create-ticket
        description: Create a Zendesk support ticket from the inbound request.
        operationId: $sourceDescriptions.zendeskTickets.CreateTicket
        requestBody:
          contentType: application/json
          payload:
            ticket:
              subject: $inputs.subject
              comment:
                body: $inputs.description
              requester:
                email: $inputs.requesterEmail
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          ticketId: $response.body#/ticket/id
      - stepId: send-sms
        description: Send an SMS acknowledgement to the requester via Twilio.
        operationId: $sourceDescriptions.twilioMessaging.createMessage
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            AccountSid: $inputs.accountSid
            From: $inputs.fromNumber
            To: $inputs.toNumber
            Body: Your support ticket has been received and is being worked on.
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          messageSid: $response.body#/sid
    outputs:
      ticketId: $steps.create-ticket.outputs.ticketId
      messageSid: $steps.send-sms.outputs.messageSid