How can I access Azure Alert Custom Properties in a Logic App

Robert Heynen 50 Reputation points

In the standard Common Alert schema, there is a "CustomProperties" object that holds an array of Key Value pairs (I am assuming this references the Custom Properties of the Alert"

How can I access the values from inside a Logic App that is sending an email?

I have tried expression variable('keyname')[0] but that will not allow me to save without instantiating the variable

Ultimately I am hoping to store the emailTo and emailCC in those fields so I can easily change them if needed. We have multiple clients that I want to send an alert to but need some flexibility as to who I can send it to

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,711 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 67,081 Reputation points

    @Robert Heynen Thanks for reaching out. If you can share the schema or the response data (removing the sensitive information in your HTTP trigger output) then I can assist you with how you can access that property in your workflow. You can also refer to this document on how to create your workflow based on your alert.