Cross-Provider Workflow

Incident Bridge Slack Channel Provisioning

Version 1.0.0

Log a ServiceNow incident, create a dedicated Slack channel, and post details.

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

Providers Orchestrated

servicenow slack

Workflows

incident-bridge
Create an incident, open a Slack channel, then post incident details.
Creates a ServiceNow incident record, creates a dedicated Slack channel for the incident bridge, and posts the incident details into that channel.
3 steps inputs: channelName, description, shortDescription outputs: channelId, incidentNumber, messageTs
1
create-incident
$sourceDescriptions.servicenowTable.createRecord
Create a ServiceNow incident record.
2
create-channel
$sourceDescriptions.slackConversations.postConversationsCreate
Create a dedicated Slack incident-bridge channel.
3
post-details
$sourceDescriptions.slackChat.postChatPostmessage
Post the incident details into the new Slack channel.

Source API Descriptions

Arazzo Workflow Specification

itsm-incident-bridge-slack-channel.yml Raw ↑
arazzo: 1.0.1
info:
  title: Incident Bridge Slack Channel Provisioning
  summary: Log a ServiceNow incident, create a dedicated Slack channel, and post details.
  description: >-
    A cross-provider ITSM workflow that records a ServiceNow incident, spins up a
    dedicated Slack incident-bridge channel for responders, and posts the incident
    details into the new channel. Demonstrates orchestrating an enterprise ITSM
    platform with a team messaging provider to stand up real-time incident
    coordination in a single Arazzo workflow.
  version: 1.0.0
sourceDescriptions:
  - name: servicenowTable
    url: https://raw.githubusercontent.com/api-evangelist/servicenow/refs/heads/main/openapi/servicenow-table-api-openapi.yml
    type: openapi
  - name: slackConversations
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-conversations-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: incident-bridge
    summary: Create an incident, open a Slack channel, then post incident details.
    description: >-
      Creates a ServiceNow incident record, creates a dedicated Slack channel for
      the incident bridge, and posts the incident details into that channel.
    inputs:
      type: object
      properties:
        shortDescription:
          type: string
        description:
          type: string
        channelName:
          type: string
    steps:
      - stepId: create-incident
        description: Create a ServiceNow incident record.
        operationId: $sourceDescriptions.servicenowTable.createRecord
        requestBody:
          contentType: application/json
          payload:
            short_description: $inputs.shortDescription
            description: $inputs.description
            impact: '2'
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          incidentNumber: $response.body#/result/number
      - stepId: create-channel
        description: Create a dedicated Slack incident-bridge channel.
        operationId: $sourceDescriptions.slackConversations.postConversationsCreate
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            name: $inputs.channelName
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          channelId: $response.body#/channel/id
      - stepId: post-details
        description: Post the incident details into the new Slack channel.
        operationId: $sourceDescriptions.slackChat.postChatPostmessage
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            channel: $steps.create-channel.outputs.channelId
            text: Incident bridge open. Posting incident details for responders.
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          messageTs: $response.body#/ts
    outputs:
      incidentNumber: $steps.create-incident.outputs.incidentNumber
      channelId: $steps.create-channel.outputs.channelId
      messageTs: $steps.post-details.outputs.messageTs