Skip to content

Message

Message (message)

Conditionally generate a message when an event meets the provided condition.

Messaging json

Minimal example

actions:
- message:
condition: ""
message-content: ""
notification-type: alert
JSON
{
"actions": [
{
"message": {
"condition": "",
"message-content": "",
"notification-type": "alert"
}
}
]
}

Contents

Fields

FieldTypeRequiredDescription
conditionlua-expression (string)A Lua expression which determines whether to generate a message based on the event.
Examples: 2 * count()
notification-typeNotification TypeIs this message an alert or an info notification?
Allowed values: alert, info
message-contentmultiline-text (string)The content of the message.
descriptionstringDescribe this step.
log-eventboolean (bool)Send this event to the job log?

Schema

Notification Type Options

ValueDescription
alertThe message indicates that something is wrong
infoThis message is informational