Skip to main content

Added v0.5

Send a Slack notification - such as to alert someone when a recipe is finished or if it fails.

See docs for how to create a WebHook in Slack.

Tabset

Run​

Recipe​

run:
on_success:
- notification.slack:
web_hook: Slack WebHook
title: title
message: message

Function​

from wrangles.connectors.notification import slack
slack.run(
web_hook= 'Slack WebHook',
title='title',
message='message'
)

Parameters​

ParameterRequiredData TypeNotes
web_hook✓strSlack WebHook. See docs.
title✓strThe title of the notification.
message✓strThe body of the notification.
ifstrA condition that will determine whether the action runs or not as a whole.