Skip to content

Message

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

Messaging json

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

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Field Type Required Description
description string Describe this step.
condition lua-expression (string) A Lua expression which determines whether to generate a message based on the event.
Examples: 2 * count()
notification-type Notification Type Is this message an alert or an info notification?
Allowed values: alert, info
message-content multiline-text (string) The content of the message.
log-event boolean (bool) Send this event to the job log?
Default: false
Value Aliases Name Description
alert alert The message indicates that something is wrong
info info This message is informational