mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 10:02:31 +08:00

This commit renames "Message templates" to "Notification templates" in the user interface as it suggests that these templates cannot be used to template anything other than the message. However, message templates are much more general and can be used to template other fields too such as the subject of an email, or the title of a Slack message.
919 B
919 B
aliases | keywords | title | weight | |||||
---|---|---|---|---|---|---|---|---|
|
Use notification templates | 300 |
Use notification templates
Use templates in contact points to customize your notifications.
In the Contact points tab, you can see a list of your contact points.
-
To create a new contact point, click New.
Note: You can edit an existing contact by clicking the Edit icon.
-
Execute a template from one or more fields such as Message and Subject:
{{< figure max-width="940px" src="/static/img/docs/alerting/unified/use-notification-template-9-4.png" caption="Use notification template" >}}
For more information on how to write and execute templates, refer to [Using Go's templating language]({{< relref "./using-go-templating-language" >}}) and [Create notification templates]({{< relref "./create-notification-templates" >}}).
- Click Save template.