Use cases
The system uses templates to render notifications when you create an incident manually, when one is generated automatically, and on reassignment, escalation, and reopen.Configuring templates
Create Custom Template
Edit Template Content
Save Template
Apply template
Enter Escalation Rules
Select Template
Save Configuration
Variable reference
Reference examples
Incident variables
Complete variable list for incident objects:Related objects
Person - Personnel Info
Person - Personnel Info
Assignment - Assignment Configuration
Assignment - Assignment Configuration
Responder - Responder
Responder - Responder
Alert - Alert Details
Alert - Alert Details
Preview and test send
The right side of the template detail page is the preview pane: it renders the current channel’s content with the selected incident, followed by a line of diagnostics and any warnings the preview raises. The preview’s title bar also holds Send test, which sends the editor’s current content for real so you can see what the recipient gets.What the preview tells you
The preview renders the current channel’s content with the incident selected under Render with this incident’s data; with nothing selected it uses the system default data. When the editor is empty, the preview renders the channel’s system default template and notes “No template content set, system default template will be used.” One line under the preview explains how this content was rendered:Send test
Send test sits in the preview’s title bar. It renders the editor’s current content (unsaved changes included) with the incident selected in the preview and sends it to the channel for real, so you can confirm what the recipient sees. It needs the Templates Manage permission; system preset templates can be test-sent too. The button is disabled while the template fails validation. Supported channels: the five IM apps (Feishu/Lark, Dingtalk, WeCom, Slack, Teams), six group chat bots (Feishu/Lark, Dingtalk, WeCom, Slack, Telegram, Zoom) and email. SMS and voice are not offered — they are billed per message and the preview already equals what would be sent. The content is the same one the preview shows: the editor’s current content plus the selected incident’s data (system default data when none is selected), with the same channel switches (card field visibility, the Feishu Card 2.0 table and blank-line switches, WeCom bot Markdown v2). When the editor is empty, the channel’s system default template is sent. Where each channel can send:- Myself: requires your account to be linked to that IM integration; when it is not, the send button is disabled and members with permission can click the link to finish linking in the onboarding flow. The Slack app is the exception — no per-person linking is needed (it DMs workspace members directly), but the send still resolves you to a member of that workspace and shows “Your account isn’t linked to this IM” if it cannot.
- Group chat: lists only chats this integration’s bot has already joined (Slack by channel, Teams by team channel or group chat). Everyone in the chat receives the test message.
- When the channel has several integrations, pick one under Integration first; only enabled integrations are listed.
- The incident title is prefixed with
[Test](Chinese accounts get[测试]). - A footer is appended:
Test message · Template "<name>" · Sent by <sender>. - Buttons on the card only answer “This is a test message. Its buttons do not change any incident.” and neither acknowledge nor close anything; the Create War Room button does not appear in a test message.
- Each member can send at most 5 test messages per minute; beyond that the console shows “Too many test sends. Try again later”.
- A failure shows one of these messages:
Channel templates
Different notification channels support different template formats and limitations.Card fields and bottom action buttons
The Additional info tab next to Content controls which system content appears at the bottom of the card. Switches available per channel:- Create war room (off by default): When it’s on, the card shows a 👥 Create War Room button. The button appears if the incident is open, has responders, and has no war room yet. Click it to create the group.
- Keep custom actions after incident closure (off by default): when it’s on, you can run custom actions from the message card for 3 days after the incident closes. Otherwise, or after 3 days, run them from the incident details page.
- Feishu/Lark App
- Dingtalk App
- WeCom App
- Slack App
- Microsoft Teams
Native tables
Feishu Card 2.0 adds a Native tables switch (off by default, saved with the template). When it is on, GFM Markdown tables in the template are recognised and rendered as the card’s native table component, so recipients see a pageable table instead of rows of text with|.Native tables have the limits below. If a card has more than 5 native tables, or the card exceeds 30 KB, every table on that card is sent as Markdown text. Any other limit affects only the table that exceeds it, which is sent as Markdown text while the other tables stay native:Bot templates
Template formats supported by group chat bots.IsFlapping), in an alert storm (IsInStorm), or the first of its kind in 30 days. You don’t need to write it in the template and can’t remove it. App cards and email don’t get these lines.- Feishu/Lark Bot
- Dingtalk Bot
- WeCom Bot
- Slack Bot
- Telegram Bot
Message Card (msg_type: interactive)
Message Card (msg_type: interactive)
Rich Text (msg_type: post)
Rich Text (msg_type: post)
Plain Text
Plain Text
Other channels
- SMS
- Voice
- Email
FAQ
How do I know what Labels are available?
How do I know what Labels are available?
- Manually created incidents have no labels
- Auto-created incidents have labels, same as the first merged alert’s labels
Configured custom template but default template was used instead?
Configured custom template but default template was used instead?
Incident title has character escaping (like >)?
Incident title has character escaping (like >)?
toHtml function to handle:How to convert time format?
How to convert time format?
How to reference external variable inside for loop?
How to reference external variable inside for loop?
$ before external variable:How to extract field value with . (like obj.instance)?
How to extract field value with . (like obj.instance)?
index function:How to extract labels from associated alerts and deduplicate?
How to extract labels from associated alerts and deduplicate?
How to iterate and print Labels?
How to iterate and print Labels?
How to extract info from JSON field?
How to extract info from JSON field?
jsonGet function to extract values by path from valid JSON. Syntax reference at gjson.dev.How to get image URL?
How to get image URL?
How to show a query containing ~ literally?
How to show a query containing ~ literally?
~ as the strikethrough delimiter, so a matcher such as module=~"api|worker" renders struck through without the code block.How to use logical operations?
How to use logical operations?