docs(alerting): clarify usage of templates in webhook custom payloads (#112672)

* docs(alerting): clarify usage of templates in webhook custom payloads

* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md

Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>

---------

Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>
This commit is contained in:
Pepe Cano
2025-10-21 13:32:01 -05:00
committed by GitHub
co-authored by Johnny Kartheiser
parent 56b088aa2e
commit fb5c5411f8
3 changed files with 10 additions and 8 deletions
@@ -8,6 +8,7 @@ title: 'Custom webhook example'
---
```go
{- /* Generates a pretty-printed JSON payload with alert group info and individual alerts metadata. */ -}}
{{ define "webhook.custom.payload" -}}
{{ coll.Dict
"receiver" .Receiver