Skip to main content
Skip table of contents

Sending data to a Slack channel

This documentation references external sources. Nexthink does not have control over the accuracy of third-party documentation, nor any external updates or changes that might create inconsistencies with the information presented on this page. Please report any errors or inconsistencies to Nexthink Support.

This document demonstrates how to send data to a Slack channel, using Nexthink webhook capability, to stand out from other messages in the channel.

In Slack

  • Create a new slack app in the workspace where you want to post messages.

  • From the Features page, toggle Activate Incoming Webhooks on.

Activating incoming webhooks in Slack
  • Click Add New Webhook to Workspace.

Adding new webhook to workspace
  • Pick a channel that the app will post to, then click Authorize.

Authorization
Webhook URL

An example of the URL would be: https://hooks.slack.com/services/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

In Nexthink

Configure the Webhook Credential

  • Click on Connectors and select the Webhook Credentials entry:

    • Fill in the page fields with the following values:
      Instance Name: <name of your credential>
      Instance URL: https://hooks.slack.com/
      Authorization*: BASIC
      Username*: test
      Password*: test

*These fields are not necessary when configuring Incoming Webhooks. For the time being, insert the values as shown above. A “No Auth” option will be provided soon.

Create the Webhook

Message alert from Nexthink

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.