grafana/docs/sources/alerting/manage-notifications/template-notifications/use-message-templates.md

30 lines
889 B
Markdown
Raw Normal View History

---
aliases:
keywords:
- grafana
- alerting
- notifications
- templates
- use templates
title: Use message templates
weight: 400
---
# Use message templates
Use templates in contact points to customize your notifications.
In the Contact points tab, you can see a list of your contact points.
1. To create a new contact point, click New.
**Note:** You can edit an existing contact by clicking the Edit icon.
2. Execute a template from one or more fields such as Message and Subject:
{{< figure max-width="940px" src="/static/img/docs/alerting/unified/use-message-template-9-3.png" caption="Use message 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 message templates]({{< relref "./create-message-templates" >}}).
4. Click Save template.