Send a Slack Message

ID: slackMessage

Sends a Slack Message to a configrured channel. For information on how to connect Slack and Cloud CMS, see Slack Integration.

Configuration

Property Type Required Default Description
url text true The webhook URL provided by slack that will send messages to the configured channel.
message text false Markdown message template of message that will be sent when action is fired. Required if template node is not provided.
message text false Markdown message template of message that will be sent when action is fired. Required if template node is not provided.
messageRepositoryId text false ID of repository where message template node is stored. Required if no message is provided.
messageBranchId text false ID of branch where message template node is stored. Required if no message is provided.
messageNodeId text false ID of node that the message template is attached to. Required if no message is provided.

Basic Example

{
    "url": "https://hooks.slack.com/services/A/SLACK/HOOK",
    "message": "Hello slack!"
}

Example with Template Node

{
    "url": "https://hooks.slack.com/services/A/SLACK/HOOK",
    "messageRepositoryId": "<repId>",
    "messageBranchId": "<branchId>",
    "messageNodeId": "<nodeId>"
}