Slack
Workflows

Invite To Slack Channel

4min

Description

This action invites Slack users and user groups into the specified Slack channel.

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 invite the user(s)/user group(s) to.

Some common selections:

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

Slack Users

This field sets the user(s) you wish to invite to the specified channel. User(s) can either be hard-coded to specific persons within your team or set dynamically via Liquid variables. For example, you can use the snytax {{ incident.creator }} to invite the person who originally declared the incident.

Slack User Groups

This field sets the Slack user group(s) you wish to invite to the specified channel. All users part of the specified user group will be invited. You can read more about Slack user groups here.