Connect Slack Private Channels to OneLens

This article will guide you through the process of granting One Lens access to your private Slack channels for setting up workflows and receiving insights and alerts.

To enable this, you'll follow a four-step process:

Step-by-Step Guide

Add the OneLens Bot to the Private Channel

Note: You must be a member of the private Slack channel to invite the OneLens bot. If you can’t invite it, contact your Slack admin to check your permissions.

1

Return to your Slack dashboard and select the private channel you wish to grant access to One Lens.

2

Click on the three dots on the right side and select Open Channel Details.

3

Go to Integrations and click on Add an app. Choose One Lens. You should see a message indicating that OneLens has been added to your selected channel.

4

Open the private channel and then click on the Channel name to get the channel Details.

Copy the slack private channel ID present at the bottom of it.

Verification

To verify that the private channel has been granted access, let us create a sample workflow for anomaly alerts in your private Slack channel.

1

Navigate to the workflows.

2

Click on Create to start a new workflow.

3

Write a workflow name and click Create Workflow.

4

Select the trigger that will initiate the workflow. You can choose from multiple trigger types such as:

  • Anomaly Detection

  • Tickets

  • Cost Alerts

  • Resource Events

5

Once a trigger is selected, configure the conditions that should be met for the workflow to run.

6

Click Save Changes.

7

Go to Add step and choose Slack.

8

Click on Send Slack alerts to a channel.

9

Choose the connection as Default.

10

In the Channel section, you should see your private channel. Choose it.

11

Write an additional message if desired and preview your mock data.

12

Click Save Changes.

13

Click Publish to finalize your workflow.

Congratulations! Your workflow is now set up. Any anomalies detected by One Lens will be added to your private Slack channel.

Last updated