One use of Workflows is to send webhooks.  AlertOps can utilize webhooks to interact with external applications in a variety of ways.  Workflows can trigger different actions, and webhooks can be pre-configured to perform common actions automatically.  In this article, we will create a Workflow to use a webhook which will acknowledge an alert coming from an Inbound Integration.

This article assumes the necessary components are already in place; an Inbound Integration with the external tool, a Recipient Group, and Escalation Rule are configured.  The Workflow we create will be called by the Escalation Rule when we are finished.

We will begin on the Workflows page by selecting Workflows from the menu and pressing the Add Workflow button.  
Enter a name for the Workflow,
Choose MessageThread as the Type,
and Standard Alert for the Template.  
Press Save.

We now have fields for Start Conditions and Actions.  
Press Add Start Condition.  
For the Attribute field, choose Standard,
For the Name field choose MessageThread,
Choose "is" for the operator,
Choose Assigned for the Value.  
Press the green checkmark.

Next, move down the page and press Add Action.  Choose Send Webhook.

In the resulting dialog, choose your Web Method (based on the recieving application's requirements), and define the webhook in the URL field.  When using dynamic fields to populate sections of the webhook, edit the URL with <<fieldname>>.  In the example below, the watch ID has been mapped to the <<MessageThread.SourceIdentifier>> field.  For the URL field, this edit must be done manually.  

Save the Action, and enable the Workflow with the button in the top right corner of the Workflow page.

To add the Workflow to a Escalation Rule, select Escalation Rules from the menu, choose your Escalation Rule and select the Workflows tab:

Press the Add Workflow button.  In the resulting dialog, select your Workflow (it must be enabled to be visible here) and press the arrow button to move it to the Selected Workflows list:

Press Update and the new Workflow is added to the Escalation  Rule and saved.  

Did this answer your question?