Slack
  • 25 Oct 2023
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Slack

  • Dark
    Light
  • PDF

Article Summary

Slack Integration Guide

Slack Integration Update

AlertOps has updated the Slack integration. If you have an older version of the Slack integration, you may update your existing integration by clicking the Update button at the top of your Slack Escalation Policy. This update will allow you to use buttons in the Slack message to take action on alerts. 

Slack Configuration

  1. Sign into your Slack workspace.
  2. Create a channel to associate AlertOps.

AlertOps Configuration

  1. From the AlertOps main menu, click on Configuration and select Integrations.
  2. In the Inbound Integrations section, select CHAT from the integration type dropdown menu.
  3. Click the 'ADD CHAT' button.
  4. Once redirected, select Slack from the pre-built Integration Templates.
  5. Enter a name for the integration. Select an escalation rule to determine the integration's escalation policy.
  6. Enter the names of recipient groups and/or recipient users. You can create a group to match the name of your Slack channel as we have done here, but these do not have to match.
  7. Click Submit to save. 
  8.  Once saved, you will be redirected to the Integration detail page. From here select the Escalation Policy you just associated to this integration. 
  9. This will redirect you to the Escalation Policy where we can make sure it is set up for Slack. Scroll down to Group Contact Methods and click "Add Group Contact Method"
  10. From the Methods dropdown select "Slack Group" and click the green checkmark to save.
  11. Now that the Escalation Policy is set up for Slack, return to the Integration we just created. and click the "Add to Slack" button.
  12. You will be redirected to a Slack permissions page where you will select the channel we created in slack earlier from the dropdown. Then click Allow.
  13. Once you click allow, you will be prompted to add an AlertOps Group Webhook. Select the same group as the integration. Check the Subscribe to Alert Update box and then click add.
  14. Additionally, we might want to ensure we are only receiving alerts from the associated Slack channel. In this case, scroll down to advanced settings and expand Rules for Opening an Alert.
  15.  Add a source value to match your channel. This will limit alerts to the selected channel only.
  16. To confirm that Slack has been properly added, navigate to the associated group from Groups and Schedules and click on the Contact Methods tab to view the Slack webhook.

Once these steps are completed you will now receive alerts in your Slack channel. You will be able to respond and take action from the channel as well.

Slack Buttons

When you receive an alert in Slack, you have the option to Acknowledge, Assign, Escalate, and Close the alert from the Slack message.

Graphical user interface, text, application  Description automatically generated


Note: Enterprise or CWM package accounts have the ability to choose which buttons are available in the Slack notification. All other accounts will have the Acknowlege, Assign, and Close buttons pre-configured.

To configure the button commands you would like to have available:

  1. Go to the Escalation Policy for the Slack integration.
  2. Expand the Communication Tab.
  3. Click the Update button.
  4. Check the Group Chat boxes under the action columns you would like available in Slack. 
  5. Click the green check mark to save.


Slack Commands

Execute actions in AlertOps through slash commands in Slack. 

  • Create New Alert: /alertops open subject 
  • Close Alert: /alertops close [AlertID] resolution
  • Acknowledge Alert: /alertops ack [AlertID]
  • Assign Alert: /alertops assign [AlertID]
  • Update Alert: /alertops reply [AlertID] message
  • Escalate Alert: /alertops escalate [AlertID]
  • Link User Account: /alertops linkuser

Was this article helpful?

What's Next
ESC

Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses