Create a Slack Channel for an Incident
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 Slack channel for an incident.
Instructions
- If you have not done so already, please follow our instructions to Create an Incident Workflow.
- When you are prompted to add actions , select this action.
- 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
Name | Description |
---|---|
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 Visibility | Select Public (default) or Private from the dropdown. |
Outputs
Name | Description |
---|---|
Channel Name | Name of the newly created Slack channel. |
Channel Link | URL that links to the newly created Slack channel. |
Result | Value that shows if the action was successful or not. Either "Success" or "Failed." |
Result Summary | Brief description of what the action did or if it failed. |
Error | Brief description that is populated if the action failed. |
Updated about 1 month ago