Slack
Workflows

Add Slack Bookmark

7min

Description

This action adds a bookmark to a specified Slack channel. Bookmarks are particularly useful for keeping track of important links. Links that are bookmarked will appear at the top of your channels.

Action Attributes

Document image


Name

This field is automatically set for you. You can rename this field to whatever best describes your action. The value in this field does not affect how the workflow action behaves.

Channel

This field specifies which Slack channel to add the bookmark in.

Some common selections:

  • Setting to {{ incident.slack_channel_id }} will set the bookmark in the Slack channel of the triggering incident.
  • The Liquid snytax {{ parent_incident.slack_channel_id }} can be used for sub incidents and it will set the bookmark in the Slack channel of the parent incident.
  • You can also set the bookmark in other static channel (e.g. #gernal, #alerts)

Playbook

Selecting a playbook in this field will attach the link to the playbook as a bookmark in the sepecified channel.

Title

This field will be the text that gets displayed in the bookmarkbar of the Slack channel.

Link

Use this field to specfify the URL for the bookmark. You can either input a hardcoded link or use Liquid variables to dynanmically set a link.

Some common examples:

  • {{ incident.url }}
  • {{ incident.jira_issue_url }}
  • {{ incident.pagerduty_incident_url }}

TIP: You can use the Incident Variable Explorer to test out what value each liquid variable returns.

Emoji

An emoji can be attached to each bookmark to help with visual identification.

All Slack emojis are supported. You can view a complete list of them here.