Create Incident Dedicated Channel
Slack
Availability
This workflow action is available on our Professional, 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
Field References
Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter
{{
, and select relevant fields. Please see our Field References article for more information.
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. 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 |
Pin incident | Pin the incident notification for quick reference |
Outputs
Name | Description |
---|---|
Channel Name | Name of the newly created Slack channel. |
Channel Link | URL that links to the newly created Slack channel. |
Channel ID | ID of 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 6 days ago