Skip to content

Templates

Templates let you customize how notifications are formatted for each endpoint type.

Templates

How templates work

Each endpoint type (Email, Telegram, Matrix) has its own template. When a message is delivered, Notifiq renders it using the template for that destination.

Select an endpoint from the dropdown to open its template builder.

Building blocks

The template builder uses drag-and-drop blocks:

Block typeDescription
Alert HeaderAlert-style header with level color and optional icon and level badge
Simple HeaderA header with only the title
Text BlockThe message
Code BlockMonospace, preformatted message
DividerVisual separator with styling options
Level BadgeSeverity badge
TimestampWhen the message arrived with styling options
Source IPAuto-detected connection IP, with styling options
IPSender-supplied ip field from the notify payload, with styling options
HostSender-supplied host field from the notify payload, with styling options

Email subject line

For email endpoints, configure the subject line separately from the body template.

Use {{variable}} syntax in Email Subject Line:

VariableValue
{{emoji}}Level emoji (e.g. 🔴)
{{level}}Level name (e.g. critical)
{{title}}Message title
{{source_ip}}Auto-detected connection IP
{{ip}}Sender-supplied ip field from the notify payload
{{host}}Sender-supplied host field from the notify payload

Resetting templates

Click Reset to Default to restore the factory template for the selected endpoint.