Send data to Slack

Most recent version: v1.0.0

See the changelog of the Slack Data sink type here.

Overview

Onum supports integration with Slack.

Slack is a messaging app and platform designed to facilitate team collaboration and communication within organizations. It's a centralized hub for conversations, files, and tools, helping teams stay organized and connected.

Onum Setup

1

Log in to your Onum tenant and click Data Sinks> New Data sink.

2

Double-click the Slack Sink.

3

Enter a Name for the new Data Sink. Optionally, add a Description and some Tags to identify the Sink.

4

Decide whether or not to include this Data sink info in the metrics and graphs of the Home area.

5

Enter the credentials to connect to your Slack environment, either:

Slack API. Find this in the Apps Dashboard for Slack API by creating a new Slack App.

  1. Navigate to the Your Apps page: https://api.slack.com/apps and sign in to your Slack workspace.

  2. Click on the name of the app you want to use.

  3. In the left sidebar navigation, click on OAuth & Permissions.

    Your tokens will be displayed on this page under the "OAuth Tokens for Your Workspace" section.

  4. Add the token as a Secret (see the next step for how to do this).

Legacy Webhook.

  1. Click Create New App > From Scratch.

  2. Enter an App Name, select the workspace to develop your app in, and click Create App.

  3. Activate the incoming webhooks option.

  4. Select Add New Webhook to Workspace. Select the channel to post the newly created Slack app to and allow.

  5. Copy the URL of your webhook in the Incoming Webhooks page.

6

In the Secrets area, New secret to create a new one:

  • Give the secret a Name.

  • Turn off the Expiration date option.

  • Click Add new value and paste the corresponding value.

  • Click Save.

You can now select the created secrets in the configuration.

7

Establish a limit for the Maximum requests per second*. The minimum value is 1 and the maximum value is 10.

8

If you are using a proxy to establish the connection, toggle on the Proxy configuration button and enter the details here.

9

In the Secrets area, New secret to create a new one:

  • Give the secret a Name.

  • Turn off the Expiration date option.

  • Click Add new value and paste the corresponding value.

  • Click Save.

You can now select the created secrets in the configuration.

Click Finish when complete. Your new Data sink will appear in the Data sinks area list.

Pipeline configuration

When it comes to using this Data sink in a Pipeline, you must configure the following output parameters. To do it, simply click the Data sink on the canvas and select Configuration.

Output configuration

Parameter
Description

Event field*

Select the incoming field containing the message to send on.

Slack channels*

Choose the input fields that contain the Slack channels you want to send the message to.

Click Save to save your configuration.

Last updated

Was this helpful?