Send a Slack Message

ID: slackMessage

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

Configuration

Property Type Required Default Description

url

text

The webhook URL provided by slack that will send messages to the configured channel.

message

text

Markdown message template of message that will be sent when action is fired. Required if template node is not provided.

message

text

Markdown message template of message that will be sent when action is fired. Required if template node is not provided.

messageRepositoryId

text

ID of repository where message template node is stored. Required if no message is provided.

messageBranchId

text

ID of branch where message template node is stored. Required if no message is provided.

messageNodeId

text

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>"
}