[release-12.2.2] docs(alerting): clarify usage of templates in webhook custom payloads (#112755)

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



---------


(cherry picked from commit fb5c5411f8)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2025-10-21 18:49:20 +00:00
committed by GitHub
parent 569738c316
commit 470edab706
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