Create Incident Dedicated Channel

Slack

📘

Availability

This workflow action is available on our Business and Enterprise for Incident Management pricing plans. Please contact our Sales Team to upgrade to an account with this action.

Description

Create a new dedicated Slack channel for an incident.

Instructions

  1. If you have not done so already, please follow our instructions to Create an Incident Workflow.
  2. When you are prompted to add actions , select this action.
  3. Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.

📘

Channel Name Formatting

Slack channel names must be 80 characters or less, and can only contain lowercase letters, numbers, hyphens and underscores. When the Incident Workflow runs, PagerDuty will reformat any uppercase letters to lowercase, and replace invalid characters with a hyphen.

PagerDuty can truncate channel names that are longer than 80 characters. If the channel name already exists, PagerDuty will truncate the name to 75 characters and append a unique digit, (e.g., channel-name-1, channel-name-2, etc. ).

Inputs

NameDescription
Workspace- Select the Slack Workspace with your desired channel from the list in the dropdown, or click Connect Another Slack Workspace to add a new one.
Channel Name(optional): Enter the name of the channel to create in Slack. You may optionally add Field References to the channel name by clicking {+}, or entering {{, and selecting your preferred field. If you do not enter a channel name, it will default to incident_{incident-number}.
Channel VisibilitySelect Public (default) or Private from the dropdown.
Pin incidentSelect Yes (default) or No from the dropdown. If Yes, PagerDuty will pin the incident notification card to your newly created channel.

Outputs

NameDescription
Channel NameName of the newly created Slack channel.
Channel LinkURL that links to the newly created Slack channel.
ResultValue that shows if the action was successful or not. Either "Success" or "Failed."
Result SummaryBrief description of what the action did or if it failed.
ErrorBrief description that is populated if the action failed.