Slack Message

Type: slackMessage

This handler sends a slack message to a configured channel. It fires the slackMessage action and accepts a standard configuration for that action type.

The config for this handler is as follows:

{
    "url": "<slackUrl>",
    "message": "<message>"
}

Example

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