Triggers enable you to run automations in four different ways. You can assign as many triggers as you like to an automation and have more than one of each type.
Workflows initiated by triggers mention Operations Manager in the job description.
Click the Create Trigger button (+) in the Triggers toolbar on the Automation Details page. The Create Trigger panel appears on the left.
You can edit existing triggers from the trigger card by clicking the trigger name at the top of a card.
API endpoint triggers run the automation whenever the configured endpoint receives an HTTP POST request. When a request is received:
HTTP POST request (represented as a JSON object) is validated against the POST body schema defined in the trigger.To use keys and values from the body of the HTTP POST request in a workflow, you must reference them as job variables in the workflow.
Each API trigger requires a unique route name. Endpoint trigger URLs use the following format:
The Create API Endpoint Trigger panel includes the following fields:
POST.HTTP POST request body to the input schema of the assigned workflow.HTTP POST request body must match.The POST body schema is a JSON schema against which the body of the HTTP POST request is validated. If the request body is valid, the API trigger proceeds to run the automation. If the request body is invalid, the automation does not run.
The POST body schema uses the following syntax:
The following example shows how to trigger a Velocloud Edge Provisioning automation using an API endpoint trigger.
Endpoint: Use the following endpoint to trigger the automation:
Authentication: Itential Platform uses a token for API calls, passed to the endpoint via the token query parameter. In on-premises environments, retrieve this token by calling the login endpoint. See the API documentation for reference. For SaaS customers with Itential Cloud environments, the token is provided by the Product Support Team.
Payload body: The values in the payload body are used by the automation for edge provisioning in Velocloud:
Postman call: An example of the API call in Postman:

To check the status of the automation (job), make a separate call to Itential Platform. When triggering automations via API, Itential Platform returns a 200 status code if the automation started successfully.
GET call: Use the following URL to check job status:

Response body: The job_id value can be found in the response body of the POST call (_id). The following example shows the response and where to find the job_id:

Response status: The response from the GET job status call looks like the following. The "status" field indicates whether the job is still running or complete:
HTTP verbs
Operations Manager API triggers are intended to start an automation job. For this reason, the only HTTP verb supported is POST. HTTP verbs denote the impact a request has on the target resource. Supporting other HTTP verbs, such as DELETE, would imply that an API trigger is being deleted rather than that the trigger is starting an automation whose purpose is to delete configuration from an external service or device.
For more information about API triggers, watch the Itential Learn video below.
Event triggers run the automation whenever the configured event occurs. When an event occurs in Itential Platform:
payload key of the event object is validated against the payload schema filter defined in the event trigger.payload passes validation, it is extracted from the event object and sent to an optional JST defined in the event trigger.payload is made available to the workflow and the automation runs.To use keys and values from the payload in a workflow, you must reference them as job variables in the workflow.
For more information, see Event system.
The Create Event Trigger panel includes the following fields:
payload.payload must conform to.The payload schema filter is a JSON schema against which the payload key of an event object is validated. If the payload is valid, the event trigger proceeds to run the automation. If the payload is invalid, the automation does not run.
The payload schema filter uses the following syntax:
It is possible to create an infinite job execution loop if an automation can activate its own event trigger. This is especially applicable when using the following events in an event trigger:
jobStartjobCanceljobErrorWhen using an event trigger, ensure the workflow executed by the automation cannot generate an event that will activate that same event trigger.
Manual triggers run an automation only when you invoke them. A JSON Form may optionally be assigned to the trigger to provide runtime data to the underlying workflow.
The Create Manual Trigger panel includes the following fields:
formData job variable in the workflow context.Schedule triggers run the automation at some point in the future at an optional repeating frequency.
The Start time selected in the Create Trigger panel and shown in the trigger card after saving is based on your current time and date.
The Create Schedule Trigger panel includes the following fields:
You can manage triggers for an automation through a collection of trigger cards on the Automation Details page. Each trigger card includes the following elements:
From a trigger card, you can:
To enable or disable a trigger, click the toggle switch at the top-right corner of the trigger card:
To run or delete a trigger, click the Run or Delete button at the bottom-right corner of the trigger card.
Triggers can also be deleted in bulk. Check the select box at the bottom-left corner of each trigger you want to delete, then click Delete in the Triggers Toolbar.