UpGuard can be used to generate endless possibilities of log outputs for integration with Slack. In this tutorial, we will learn to create Slack actions with UpGuard.

Prerequisites

To post to Slack, you first need to set up a Slack Integration.

Adding Slack Actions in UpGuard.

  1. Navigate to the Events page via Control > Events to set up Slack actions. w800

  2. Locate the Event View you want to attach a slack action to, then navigate to the Action tab. Select Add action. w800

  3. Choose Send a message to Slack for Action Type.
    w400

  4. Choose a Slack integration to connect to this particular action. Give the action a descriptive name as well as message. Choose the icon you would like to display on Slack. Click Done to save the action. w600

  5. When a user logs into UpGuard, the Slack bot will post a message in the selected channel. w400

Tags: slack