Adding variables in payload sent from alert in Grafana panel (Multidimensional alerting)

I’m wondering if there’s a way that I can send a variable or multiple variables through the details or labels fields in a Grafana alert.

The picture is an example: What I’m trying to do here is to get the expression out of variable B which is the result of the second expression and put it into a “value” field that will be sent in a JSON payload to Alert Manager then to Alerta. We are using multi dimensional routing, hence why alert manager is an intermediary.

I’ve tried every type of format (EG: ${ value }, ${ values.B.value }, etc and I can’t get access any values in general. Is there something that I’m missing?