Cross-Provider Workflow

Zendesk Ticket to Jira Issue to Slack Alert

Version 1.0.0

Open a Zendesk support ticket, mirror it as a Jira issue, then alert a Slack channel.

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

Providers Orchestrated

zendesk jira slack

Workflows

ticket-to-issue-to-slack
Create a Zendesk ticket, open a Jira issue, and post a Slack alert.
Creates a Zendesk ticket from a customer request, opens a Jira issue that references the ticket, and posts the combined references to a Slack channel.
3 steps inputs: description, jiraProjectKey, requesterEmail, slackChannel, subject outputs: issueKey, messageTs, ticketId
1
create-ticket
$sourceDescriptions.zendeskTickets.CreateTicket
Create a Zendesk support ticket from the inbound request.
2
create-issue
$sourceDescriptions.jiraApi.createIssue
Open a Jira issue that mirrors the Zendesk ticket.
3
notify-slack
$sourceDescriptions.slackChat.postChatPostmessage
Post the new ticket and issue references to a Slack channel.

Source API Descriptions

Arazzo Workflow Specification

itsm-zendesk-ticket-to-jira-issue-to-slack.yml Raw ↑
arazzo: 1.0.1
info:
  title: Zendesk Ticket to Jira Issue to Slack Alert
  summary: Open a Zendesk support ticket, mirror it as a Jira issue, then alert a Slack channel.
  description: >-
    A cross-provider ITSM workflow that captures an inbound support request as a
    Zendesk ticket, escalates it into engineering by creating a linked Jira issue,
    and notifies the on-call Slack channel with the new ticket and issue
    references. Demonstrates orchestrating a support desk, an issue tracker, and a
    team 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: jiraApi
    url: https://raw.githubusercontent.com/api-evangelist/jira/refs/heads/main/openapi/jira-cloud-platform-rest-api-openapi.yml
    type: openapi
  - name: slackChat
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-chat-openapi.yml
    type: openapi
workflows:
  - workflowId: ticket-to-issue-to-slack
    summary: Create a Zendesk ticket, open a Jira issue, and post a Slack alert.
    description: >-
      Creates a Zendesk ticket from a customer request, opens a Jira issue that
      references the ticket, and posts the combined references to a Slack channel.
    inputs:
      type: object
      properties:
        subject:
          type: string
        description:
          type: string
        requesterEmail:
          type: string
        jiraProjectKey:
          type: string
        slackChannel:
          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
          ticketSubject: $response.body#/ticket/subject
      - stepId: create-issue
        description: Open a Jira issue that mirrors the Zendesk ticket.
        operationId: $sourceDescriptions.jiraApi.createIssue
        requestBody:
          contentType: application/json
          payload:
            fields:
              project:
                key: $inputs.jiraProjectKey
              summary: $steps.create-ticket.outputs.ticketSubject
              description: $inputs.description
              issuetype:
                name: Bug
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          issueKey: $response.body#/key
          issueId: $response.body#/id
      - stepId: notify-slack
        description: Post the new ticket and issue references to a Slack channel.
        operationId: $sourceDescriptions.slackChat.postChatPostmessage
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            channel: $inputs.slackChannel
            text: New support ticket and linked Jira issue created.
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          messageTs: $response.body#/ts
    outputs:
      ticketId: $steps.create-ticket.outputs.ticketId
      issueKey: $steps.create-issue.outputs.issueKey
      messageTs: $steps.notify-slack.outputs.messageTs