How do i include message fields in the Alert Action Message

@AndreyB where can i add those docvalue after aggregations or before


so i have this query and query response like this
Screenshot from 2022-02-23 09-55-32
so now i want to get that query in email alert how can i do that help me to figure it out thanks.