Skip to main content

Message templates

Templates on the Templates tab define the text of notifications. There are default (global) templates for every combination of kind × channel × language; for a specific rule you can create a custom template (an override).

Before You Begin

Select the Organization in the top navigation — templates apply to it.

Screenshot: Templates tab listing templates by kind, channel, format and language

  • Message kind: Raised (limit crossed), Resolved (back to normal), Escalation (reminder).
  • Channel: E-mail (has a subject + body) / SMS (short text only, no diacritics).
  • Language: cs / en (more can be added).
  • E-mail appearance: the default is a branded HTML message (logo, indigo "View measured data" button, footer). A switch lets you send it as plain text instead. The link to the measured data is added automatically in both cases — you don't need to put it in the template body.
  • Preview — a button shows how the message will look with sample data.

Placeholders

Insert a {{token}} into the subject or body and it is replaced with the real value:

TokenMeaning
{{rule}}rule name
{{value}}measured value
{{limit}}human-readable limit description (e.g. "outside 24.5–25")
{{operator}}operator (>, <, ≥, ≤, outside, inside)
{{threshold}} / {{threshold2}}threshold / second threshold
{{severity}}severity (localized)
{{time}}time the alert was raised (UTC, formatted per language)
{{field}}measured field (Temperature, Voltage, …)
{{companyName}} / {{constructionName}}organization / construction name
{{escalation}} / {{maxEscalations}}escalation index (Escalation messages only) and maximum count
{{description}}rule description
note

Numbers and time are formatted per language (cs: 24,5 · en: 24.5). Severity and operator are also translated automatically.

FAQ

Why didn't the e-mail arrive?

  • The rule is disabled, or the cooldown since the last notification still applies.
  • The recipient has a higher minimum severity set than this alert's level.
  • The recipient has no valid address.

Will I get an e-mail for every measurement over the limit? No — a notification is sent when the alert is raised. After that only as an escalation (if enabled), or again once the alert is resolved and the limit is crossed anew. Cooldown further dampens the frequency.

How do I get messages in English? Set the recipient's language to en. The English template is used (or the severity/operator are translated and numbers/time formatted in English).

The SMS has no accents. On purpose — SMS are sent without diacritics and are length-limited; keep the text short.

Can one rule use different text than the default? Yes — on the Templates tab pick the rule and create a template just for it (overrides the default).