processus-handler-slack
Version:
A Processus handler to send messages to Slack via its incoming WebHook
21 lines (20 loc) • 727 B
JSON
{
"name": "Demo Slack",
"description": "A demo showing the use of the slack handler to make a incoming webhook call.",
"tasks": {
"Send a message to Slack's incoming WebHook.": {
"blocking": true,
"handler": "../../../processus-handler-slack",
"data": {
"webhookURL": "https://hooks.slack.com/services/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",
"payload": {
"username": "processus",
"channel": "#processus",
"text": "Hi from Processus https://github.com/cloudb2/processus-handler-slack\n\nMessage sent from workflow $[id]",
"icon_url": "https://slack.com/img/icons/app-57.png",
"unfurl_links": true
}
}
}
}
}