Define a custom action using an Azure Logic App
- Last UpdatedFeb 06, 2025
- 3 minute read
Microsoft Azure Logic Apps allow you to define and run automated workflows for your business. For detailed information about Azure Logic Apps, see What is Azure Logic Apps? on the Microsoft website.
If you use a logic app as part of your custom action, see Custom action payload structure to understand the JSON file that is sent from AVEVA Insight.
After you've defined your logic app in Azure, you can create a custom action referencing the logic app.The custom action can then be used in an alert. When the alert condition is met, AVEVA Insight sends message to the logic app with the JSON payload, and the logic app is run.
To define a custom action using an Azure Logic App
-
In Azure, create the logic app and copy the logic app secured URL.
-
In AVEVA Insight, select Administration from the navigation rail, then select Alert Custom Actions.
-
On the Alert Custom Actions page, select
, then select Logic App from the Custom Actions menu.
The Add Alert Custom Action dialog displays.
-
Type a Name for your action.
-
Optionally, type a Description.
-
Specify the URL for the Logic App you created for this action.

-
Optionally, enter the first of any Parameters you want available to your team members when they define an alert.

-
Select
.
The parameter displays below the Parameter field.

-
Select Mandatory field if you want the parameter to be mandatory.
-
Continue adding parameters as required.

These values will be passed to the logic app in a json format. In the example above, the optional parameters plant and oil level will appear as follows:
"optionalparameter" :
{
"plant" : "entered value in alert"
"oil level" : "}
-
Select
to delete a parameter.
-
Select Add when you have finished adding all the parameters.
Now, when your team members define alerts, they will see your custom action listed among the actions to choose from.