×
Slack
Slack

Overview

The Slack Plugin supports sending block data to a Direct Message or Channel.

Functionality

The Slack Plugin supports sending block data to a Direct Message or Channel.

Instance Configuration Parameters

Property
Description

Instance Name

Name for the Slack instance.


Unique ID

A system-wide unique identifier for this plugin instance used to locate the service.


Webhook URL

Slack webhook URL used to submit data to the corresponding Direct Message or Channel. See the https://api.slack.com/messaging/webhooks page for instructions on creating an App to support a Webhook URL. If left blank, the Slack Webhook URL in the Notification Services tab of the Application Settings is used.

Flow Node

This node sends data to Slack.
Property
Description

Name

The display name of the node within the flows.


Unique ID

System-wide unique ID of the plugin instance.


Slack Template

The Slack Template must evaluate to a JSON object. See the Getting started with Incoming Webhooks page for the steps to create a webhook. See the Building blocks page for details on the format of the content to submit. Slack provides a Block Kit Builder to build blocks interactively. If the Slack Template uses the {} JSON context, mustache template substitution is applied prior to generation of the final JSON object. For all other contexts, the evaluated Slack Template must the final JSON object. Visit the Template Engine and Formatters page to learn more. For any substituted value which may include newlines or double quotes, ensure the jsonStringify and removeSurroundingQuotes formatters are applied as shown in the following card template snippet.

  ...
  "blocks": [
    ...,
    {
      "type": "section",
      "text":
      {
        "type": "mrkdwn",
        "text": "{{ payload.multiline | jsonStringify | removeSurroundingQuotes }}"
      }
    }
  ]
  ...


Audit Notification

If Audit Notification evaluates to a truthy value, this node inserts the Plugin response information into the message and audits that information in the Incident Timeline like a standard Plugin node. However, if Audit Notification evaluates to a falsy value, no response is added to the message unless an error is encountered.

Nevelex Labs, Main Office

Metro Office Park
2950 Metro Drive, Suite 104
Bloomington, MN 55425
Phone: +1 952-500-8921

©Nevelex Labs, LLC. 2018-2024, All Rights Reserved.

EULA