Skip to content

Template parameters

Each notification template has a type that determines which parameters are available. The type must match the trigger you plan to use it with — for example, an Alarm template can only be used in an alarm notification rule. For an overview of templates and rules, see Notification center.

When to use: Any notification that isn’t tied to a specific system event — maintenance announcements, custom broadcasts, or one-off messages sent manually or via the REST API.

Example:

Subject: Scheduled maintenance tonight, ${recipientFirstName:capitalize}
Message: Hi ${recipientFirstName:capitalize}, the platform will be offline for maintenance on March 5 from 2:00–4:00 AM UTC.
ParameterDescription
recipientTitleFull name of the recipient, or email address if the name is not set.
recipientEmailEmail address of the recipient.
recipientFirstNameFirst name of the recipient.
recipientLastNameLast name of the recipient.

When to use: Alert engineers or operators when a HMI Device or asset alarm is created, changes severity, is acknowledged, cleared, or deleted. Pair with the Alarm notification rule and an escalation chain for on-call routing.

Example:

Subject: New ${alarmSeverity:upperCase} alarm: ${alarmType}
Message: ${alarmOriginatorEntityType} "${alarmOriginatorName}" triggered a ${alarmSeverity} alarm. Status: ${alarmStatus}.

Renders as: New CRITICAL alarm: High Temperature / Device “Compressor BJ-66” triggered a critical alarm. Status: ACTIVE.

Includes all General parameters, plus:

ParameterDescription
alarmTypeAlarm type.
actionOne of: created, severity changed, acknowledged, cleared, deleted.
alarmIdAlarm ID (UUID).
alarmSeverityAlarm severity (lowercase).
alarmStatusAlarm status.
alarmOriginatorEntityTypeEntity type of the alarm originator, like Device.
alarmOriginatorNameName of the alarm originator, like Sensor T1.
alarmOriginatorIdAlarm originator entity ID (UUID).
alarmOriginatorLabelLabel field of the alarm’s originating entity.

When to use: Notify operators when a goes offline unexpectedly or comes back online. Useful for monitoring field devices with intermittent connectivity.

Example:

Subject: Device "${deviceName}" is now ${eventType}
Message: Device "${deviceName}" (type: ${deviceType}) changed status to ${eventType}.

Renders as: Device “Compressor BJ-66” is now inactive / Device “Compressor BJ-66” (type: HVAC) changed status to inactive.

Includes all General parameters, plus:

ParameterDescription
deviceIdDevice ID (UUID).
deviceNameDevice name.
deviceLabelDevice label.
deviceTypeDevice type.
eventTypeOne of: inactive, active.

When to use: Audit trail notifications when entities (devices, assets, customers, users) are created, modified, or deleted. Useful for change control in large teams.

Example:

Subject: ${entityType:capitalize} ${actionType} by ${userEmail}
Message: ${entityType} "${entityName}" was ${actionType} by ${userFirstName:capitalize} ${userLastName:capitalize} (${userEmail}).

Renders as: Device added by admin@company.io / Device “Sensor NM-12” was added by John Doe (admin@company.io).

Includes all General parameters, plus:

ParameterDescription
entityTypeEntity type, like Device.
entityIdEntity ID (UUID).
entityNameEntity name.
actionTypeOne of: added, updated, deleted.
userIdID of the user who performed the action.
userEmailEmail of the user who performed the action.
userFirstNameFirst name of the user.
userLastNameLast name of the user.

When to use: Keep the alarm owner or team in the loop when a colleague comments on an active alarm. Avoids the need to manually check the alarm timeline.

Example:

Subject: New comment on "${alarmType}" alarm
Message: ${userFirstName:capitalize} ${userLastName:capitalize} ${action} a comment on the ${alarmSeverity} alarm for "${alarmOriginatorName}": "${comment}"

Renders as: New comment on “High Temperature” alarm / Jane Smith added a comment on the critical alarm for “Compressor RK-25”: “Checked on-site — coolant level is low.”

Includes all Alarm parameters, plus:

ParameterDescription
commentText of the comment.
actionOne of: added, updated.
userEmailEmail of the user who left the comment.
userFirstNameFirst name of the user.
userLastNameLast name of the user.
userTitleA pre-formatted display name: userFirstName + " " + userLastName, falling back to email if both name fields are empty.

When to use: Notify the assigned engineer when an alarm is routed to them, or notify the team when an alarm is unassigned.

Example:

Subject: Alarm "${alarmType}" assigned to you
Message: ${userEmail} assigned a ${alarmSeverity} alarm on "${alarmOriginatorName}" to ${assigneeEmail}.

Renders as: Alarm “High Temperature” assigned to you / supervisor@company.io assigned a critical alarm on “Compressor BJ-66” to engineer@company.io.

Includes all Alarm parameters, plus:

ParameterDescription
assigneeEmailEmail address of the assignee.
assigneeFirstNameFirst name of the assignee.
assigneeLastNameLast name of the assignee.
assigneeTitleA pre-formatted display name: assigneeFirstName + " " + assigneeLastName, falling back to email if both name fields are empty.
assigneeIdAssignee ID (UUID).
userEmailEmail of the user who performed the action.
userFirstNameFirst name of the user.
userLastNameLast name of the user.
userTitleA pre-formatted display name: userFirstName + " " + userLastName, falling back to email if both name fields are empty.
actionOne of: assigned, unassigned.

Wrap any parameter name in ${...} — for example, ${recipientFirstName}. Apply a suffix after a colon to transform the value:

SuffixExampleResultWhen to use
upperCase${recipientFirstName:upperCase}JOHNEmail subject lines, headers, emphasis
lowerCase${recipientFirstName:lowerCase}johnURLs, technical identifiers
capitalize${recipientFirstName:capitalize}JohnProper grammar in message bodies

Tip: Combine parameters with plain text to compose natural sentences. For example:

Subject: New ${alarmSeverity:upperCase} alarm on ${alarmOriginatorName}
Message: Hi ${recipientFirstName:capitalize}, a ${alarmSeverity} alarm of type "${alarmType}" was ${action} on device "${alarmOriginatorName}".

Renders as: New CRITICAL alarm on Compressor BJ-66 / Hi Jane, a critical alarm of type “High Temperature” was created on HMI Device “Compressor BJ-66”.