UNPKG

processus-handler-slack

Version:

A Processus handler to send messages to Slack via its incoming WebHook

21 lines (20 loc) 668 B
{ "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", "properties": { "webhookURL": "[webhookURL]", "payload": { "username": "processus", "channel": "[#channel or @user]", "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 } } } } }