How Do I Add The refId/query/name of metric in the message of an alert?

Hi, I want to know how I can add the refId/query/name of the metric in the message of an alert, the screenshots below are how I’m alerting.
In the tags or in the message field I want to add the preferably the refId.
I’m using Grafana 8.5.6