Grafana 11.6: notification template fails to execute

In Alerting - Notification Templates Grafana provides a default json payload which has this structure:

[
{
“status”: “firing”,
“annotations”: {
“summary”: “Instance instance1 has been down for more than 5 minutes”
},
“labels”: {
“labels.app_site”: “booya!”
},
“startsAt”: “2025-04-29T12:20:53.607Z”,
“endsAt”: “2025-04-30T13:25:53.607Z”,
“fingerprint”: “a5331f0d5a9d81d4”,
“generatorURL”: “http://grafana.com/alerting/grafana/cdeqmlhvflz40f/view
}
]

So, i am trying to test if i get label’s “labels.app_site” value in the Preview window by utilizing this crafted template (note that i use small “s” in “$alert.status” in line 4):

{{ define “debug_labels_NEW_1745838994832” }}
{{ if .Alerts.Firing }}
{{ range $index, $alert := .Alerts.Firing }}
{{ if $alert.status “firing” }}
{{ if index .Labels “labels.app_site” }}
{{ $region := index .Labels “labels.app_site” }}
Region: {{ toUpper $region }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}

This gives me error:

And if i use capital “S”:

{{ define “debug_labels_NEW_1745838994832” }}
{{ if .Alerts.Firing }}
{{ range $index, $alert := .Alerts.Firing }}
{{ if $alert.Status “firing” }}
{{ if index .Labels “labels.app_site” }}
{{ $region := index .Labels “labels.app_site” }}
Region: {{ toUpper $region }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}

i get different error:

The default payload provided by Grafana has json key “status” so i dont quite understand what is wrong with my template that uses small letter “s”