SendNotification
less than a minute
Defines an automation action that sends a (Slack) notification.
Attributes | |
---|---|
title |
The title of the sent notification. |
message |
The message body of the sent notification. |
severity |
The severity (INFO , WARN , ERROR ) of the sent notification. |
action_type |
The kind of action to be triggered. |
Methods
from_integration
@classmethod
from_integration(
integration: SlackIntegration,
*,
title: str = "",
text: str = "",
level: AlertSeverity = AlertSeverity.INFO
) -> Self
Define a notification action that sends to the given (Slack) integration.
Feedback
Was this page helpful?
Glad to hear it! If you have further feedback, please let us know.
Sorry to hear that. Please tell us how we can improve.