Skip to main content

Added v0.5

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

Tabset

Run (Generic)​

Notifications use the Apprise python package. The default notification requires an apprise formatted url, see the apprise documentation for specifics of how to form an appropriate url.

Recipe​

run:
on_failure:
- notification:
url: apprise://hostname/Token
title: title
body: body

Function​

from wrangles.connectors import notification
notification.run(
url = 'apprise://hostname/Token',
title = 'title',
body = 'body'
)

Parameters​

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

Specific Services​

A variety of notifications for specific services are also available.