Workflow Actions
Azure: Invoke an Azure Function
Azure
Enterprise for Incident Management
Description
Invoke an Azure function with a custom payload.
Instructions
- If you have not done so, follow the instructions to Create an Incident Workflow.
- When the instructions prompt you to add actions, select this action.
- Enter the following Inputs and click Save.
- Continue following instructions to Publish the Workflow.
- When the action runs, you will see the Outputs listed below.
Inputs
Field References
Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter {{, and select relevant fields. Refer to the Field References article for more information.
| Name | Description |
|---|---|
| Integration | Select a Workflow Integration or click New Azure Functions Connection to establish a new one. |
| Payload | Specify the payload in JSON to send to the Azure function. Ex: {“key”: ”value”, ...} |
Outputs
| Name | Description |
|---|---|
| Response Status Code | The status code of the response. 204 is the expected value for successful invocations for Functions 2.x and higher. |
| Successful Status Code Response | Boolean value that signifies if the call made within the action was successful or not (e.g., 2XX). |
| Response Time Milliseconds | The time in milliseconds taken for the request to be sent and the response to be received. |
| Result | Value that shows if the action was successful or not. Either "Success" or "Failed." |
| Result Summary | Brief description of what the action did or if it failed. |
| Error | Brief description that is populated if the action failed. |
| Response Body | The body attached to the response. |
| JSON Response Body | The response body parsed into a JSON object, if a JSON response body is returned. |