If else condition on message field

I have an alert that’s has two queries and i wanna send a different message if query A is triggered or query B, it’s that possible?

Hello :wave: and welcome to the forum, @gabrielrc28

I think the community might need more details here. Please include your Grafana version and if you are using Unified Alerting or not.