Message Template
When configuring an Email/SMS/Slack notification, you can customize your email/SMS/Slack message by editing the message template.
Template variables (those wrapped by ${}
symbol) will be replaced by actual values during task executions.
Built-in Template Variables
Here's built-in template variable list that you can use in your message template:
Variables | Description | Example |
---|---|---|
${task.name} | Task name | Example website healthcheck task |
${task.url} | Requset URL of the task | https://example.com |
${task.executionLink} | iHook URL of the task execution that triggered the message. This is helpful to redirect users to review task execution details. | |
${condition.description} | Description of the notification condition | [status_code equals 200] |
${condition.evaluatedSourceValue} | A list of all evaluated conditions during task execution. You may access each individual value by providing an index, e.g. ${condition.evaluatedSourceValue[0]} | [200] |