processus-handler-slack
Version:
A Processus handler to send messages to Slack via its incoming WebHook
17 lines (16 loc) • 649 B
YAML
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: "@jason"
text: Hi from Processus https://github.com/cloudb2/processus-handler-slack
Message sent from workflow $[id]
icon_url: https://slack.com/img/icons/app-57.png
unfurl_links: true