Step-1: Entry-point
A1: Triggering Entity: Webhook - SDA Alert
An external/third-party entity can issue an HTTPS-request to a Riverbed IQ Webhook to execute a specific associated Runbook.
In this example, a call to the Riverbed IQ Webhook triggers the execution of the Webhook Runbook Example.
The Runbook begins with the Triggering Entity: Webhook node (labeled: SDA Alert) as an entry-point. This node also serves as a path through which the external/third-party entity can pass relevant data and context (i.e. payload) for the Runbook automation to process.
Edit the Triggering Entity: Webhook node. Ensure the entry-point passes the appropriate HTTP-request components into the Runbook (see the Output/Properties area) so the automation has access to the needed data/context.
For example, the data and context passed by an external/third-party entity through the HTTP-request may reside in the HTTP Request Body and resemble the following table:

Input to Triggering Entity: Webhook node (i.e. HTTP Request Body) |
Output from Triggering Entity: Webhook node (i.e. pass-thru of: HTTP Request Body) |
{ |
{ |
"alert_id": 1, |
"alert_id": 1, |
"alert_name": "Low Disk Space", |
"alert_name": "Low Disk Space", |
"alert_event_name": "Low Disk Space", |
"alert_event_name": "Low Disk Space", |
"alert_timestamp": "2023-07-25T12:47:51.8-04:00", |
"alert_timestamp": "2023-07-25T12:47:51.8-04:00", |
"alert_timestamp_epoch": 1690303671, |
"alert_timestamp_epoch": 1690303671, |
"urgency": "Low", |
"urgency": "Low", |
"impact": "Low", |
"impact": "Low", |
"category": "Hardware", |
"category": "Hardware", |
"identifier": "C:", |
"identifier": "C:", |
"last_event_details": "Drive: C:\nFree MB: 499MB\nPercent Free Space: 4%", |
"last_event_details": "Drive: C:\nFree MB: 499MB\nPercent Free Space: 4%", |
"last_event_timestamp": "2023-07-25T12:44:51.8-04:00", |
"last_event_timestamp": "2023-07-25T12:44:51.8-04:00", |
"last_event_timestamp_epoch": 1690303491, |
"last_event_timestamp_epoch": 1690303491, |
"device_name": "Patsy_Pfaff_WKS", |
"device_name": "Patsy_Pfaff_WKS", |
"device_type": "Desktop", |
"device_type": "Desktop", |
"device_manufacturer": "Dell Inc.", |
"device_manufacturer": "Dell Inc.", |
"device_model": "XPS 8900", |
"device_model": "XPS 8900", |
"device_memory": "2GB", |
"device_memory": "2GB", |
"device_cpu_cores": "1", |
"device_cpu_cores": "1", |
"device_cpu_frequency": "3GHz to 3.5GHz", |
"device_cpu_frequency": "3GHz to 3.5GHz", |
"device_last_booted": "2023-07-23T12:49:51.8-04:00", |
"device_last_booted": "2023-07-23T12:49:51.8-04:00", |
"device_last_booted_epoch": 1690130991, |
"device_last_booted_epoch": 1690130991, |
"username": "patsy_pfaff", |
"username": "patsy_pfaff", |
"user_domain": "COMPANY", |
"user_domain": "COMPANY", |
"user_department": "Sales", |
"user_department": "Sales", |
"user_email_address": "patsy.pfaff@company.com", |
"user_email_address": "patsy.pfaff@company.com", |
"user_title": "Sales Engineer", |
"user_title": "Sales Engineer", |
"os_name": "MS Windows 10", |
"os_name": "MS Windows 10", |
"subnet": "172.4.0.0/16", |
"subnet": "172.4.0.0/16", |
"business_location": "Miami Office", |
"business_location": "Miami Office", |
"custom_attribute_1": "", |
"custom_attribute_1": "", |
"custom_attribute_2": "", |
"custom_attribute_2": "", |
"custom_attribute_3": "", |
"custom_attribute_3": "", |
"custom_attribute_4": "", |
"custom_attribute_4": "", |
"custom_attribute_5": "", |
"custom_attribute_5": "", |
"custom_attribute_6": "" |
"custom_attribute_6": "" |
} |
} |
The entry-point into all Runbooks is the Trigger (i.e. Runbook Editor Triggering Entity). The Trigger includes the initial conditions (i.e. data and context) that triggered the Runbook execution.
External Trigger Runbooks always employ Triggering Entity: Webhook as their Trigger.
Other Triggering Entity have predefined Runbook Native Data format (e.g. Triggering Entity: Interface, Triggering Entity: Device(s), Triggering Entity: Application, and Triggering Entity: Location). However, Triggering Entity:Webhook does not have a predefined Runbook Native Data format, and therefore the data/context supplied by the external/third-party entity must be converted into a Runbook Native Data format.
Placement of the Trigger node on the Workspace/Canvas in the Runbook Editor
-
When creating a new Runbook, the Runbook Editor opens a blank canvas and provides guidance for what to do next, for example a pop-up that states “Every runbook needs a Trigger".
-
Drag and drop one of these Trigger nodes to the work area to start its execution.
-
Find Triggering Entity: Webhook in the palette on the left-side of the Runbook Editor and drag it onto the canvas.
See Runbook Ease of Use Customizations for methods to make the Runbooks more user readable and how to add comments to the nodes.
This Runbook now has an entry-point that an authorized external/third-party entity can use to access. The next steps in this example detail the need for additional nodes to perform meaningful automation.