Workflow Actions
Add a Bookmark to a Slack Channel
Slack
Business
Description
Add important links to a Slack channel header.
Instructions
- If you have not done so, follow the instructions to Create an Incident Workflow.
- When the instructions prompt you to add actions, select this action.
- Enter the following Inputs and click Save.
- Continue following instructions to Publish the Workflow.
- When the action runs, you will see the Outputs listed below.
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. Refer to the Field References article for more information.
| Name | Description |
|---|---|
| Workspace | Select the name of the Slack Workspace the channel is in |
| Channel | If you select Incident Dedicated Channel, the action will attempt to use the dedicated incident channel. Otherwise, use the Select the Channel dropdown to select a channel to send the message to. To bookmark on a private channel, you must first invite the PagerDuty app (@PagerDuty) to the private channel in Slack. If you use a field reference, the value of the field must be the Slack channel ID (e.g., C1234TEST). You can find this by viewing a channel's details in Slack or from the URL path when viewing the Slack channel in your web browser. |
| Bookmark Name | The name that will be associated with the bookmark in the channel header. |
| Bookmark Link | A valid URL that the bookmark will lead to. |
| Bookmark Emoji | Optional emoji to associate with the bookmark (ex: : fire :) |
Outputs
| Name | Description |
|---|---|
| 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. |