Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this Article

...

In any enterprise ecosystem, receiving notifications is critical to carry out your daily tasks. Emails are no longer the preferred method of receiving notifications, especially when the notifications involve time-critical issues. Managers usually run on a time crunch; to fasten the decision-making process and deliver results, they can configure an Event Listener in their Slack workspace to cut through the clutter and get notified on items that need their immediate attention. This use case demonstrates how we can use the Slack Snap Pack to route events that are important to the manager into a custom channel created for this purpose.

...

  • Event 1: When a new member joins the SWAT channel.
  • Event 2: When a SWAT ticket is posted in the channel.

This example assumes that you have: 

  • Created an app in your Slack Workspace that listens to the Slack instance.
  • Set the required scopes. In this case we set the Bot and User Token scopes to perform the following actions:
    • Add read channels, read messages, and read users.
    • Add write messages and read channels.

...

Create a Child Pipeline to Process Events

This sample Pipeline uses JSON Generator to source the input (while reading the event) from the Parent Pipeline.

We configure the child Pipeline to perform the following operations:

  1. Determine the type of events and event and route the flow appropriately.

...