Skip to main content

Automations

An automation does a job for you when something happens, or on a schedule: for example a computer is low on disk → run the clean-up script → if it worked, resolve the alert, otherwise post to Teams. Open Automations in the Automation tabs (tenant admins, or a custom role with Build and run automations). A tenant can have up to 50.

An automation is drawn as steps joined by arrows. It starts with one Trigger, then follows the arrows from step to step until no arrow leads on.

Creating an automation​

New automation offers a blank one or a starter:

  • Low disk → clean up → resolve or notify: when a low-disk alert opens, run a clean-up script on the computer, then resolve the alert if the script succeeded, otherwise post to a channel.
  • New computer → baseline packages: when a new computer enrolls, deploy your baseline packages to it.
  • Flagged program → notify and uninstall: when a computer gets newly flagged programs, post to a channel and uninstall a package.
  • Weekly script: every week, run a script on chosen computers.

A starter leaves the script, package, channel or computers for you to choose; until you do, those steps are marked in red.

Give the automation a Name in the top bar. Details there opens a Description, if you like, and Once per computer or alert every (minutes, 15 by default): the automation does not run again for the same computer or alert within that time.

The editor​

The editor has the whole window: a top bar with Save, Enable or Disable, Dry run, Run now, Runs and Full screen, and the canvas on the rest. Automations at its left goes back to the list.

  • The canvas shows the steps. Add a step adds one in the middle of the view; drag from a step's output (the dot on its right) to another step to join them. Each output leads to one step; a new arrow from the same output replaces the old one, and arrows cannot go back to an earlier step. Select a step or arrow and press Delete to remove it, use the arrow keys to move selected steps, and Tidy up to lay everything out from left to right.
  • Steps in the top bar lists the same steps in order, for the keyboard and screen readers: choosing one opens it, and Then (or If Yes, If No, If Approved, If Rejected) picks where each output leads, so an automation can be built without the canvas.
  • Selecting a step opens its settings in a panel over the canvas (× closes it); Remove step deletes it. Fields that take text can include values from the event and earlier steps, such as {{event.data.device.hostname}}; the suggestions list what is available.

Save checks the automation; steps with a problem are marked in red with the reason. Saving also needs the rights for every action in it (for example Run scripts for a Run script step), because the automation later does those actions on its own. Enable turns it on, Disable off.

On a phone (narrower than 640 pixels) an automation opens read-only: its name, the on/off switch, the steps as a numbered list (the branches of a step numbered 2a, 2b … with what each leads to), the last run, and Edit the steps on a larger screen. Long automation names wrap to two lines instead of being cut off.

Steps​

StepWhat it does
TriggerWhen something happens (an alert opens, resolves or is acknowledged, a deployment completes or fails, a computer gets newly flagged programs, a new computer enrolls, the agent reports tampering, a computer appears in Active Directory's Computers container), optionally Only when some checks match; or On a schedule: every Day or Week at a Time (and Days), or every Few hours, in the tenant's time zone.
ConditionChecks values (Field, Test, Value; All checks or Any check) and continues on Yes or No.
WaitWaits a number of minutes (up to 7 days).
Run scriptRuns a script, with Parameters, on The event's computer or Chosen computers. With Wait for the result the next steps can check its exit code and output.
Deploy packageInstalls or uninstalls a package on the computers.
Computer actionRestarts, shuts down, refreshes the inventory of or wakes the computers.
Update alertAcknowledges or resolves the alert that started the automation.
Post to channelPosts a Title and Text to a notification channel, with a link to the run.
Send e-mailE-mails the Tenant admins or Everyone who sees computers.
ApprovalWaits for a member to Approve or Reject (see below) and continues on Approved or Rejected.
Place AD computerMoves a computer that newly joined the domain into the OU chosen by its name, through Entrosity Vertex, and continues on Placed, No match or Failed (Placing new AD computers).

Actions run as the automation: the audit log shows automation:<name> as who did them. An action that was interrupted (for example by a server restart) is not repeated; the run fails instead, so nothing runs twice.

To keep things under control, an automation runs at most 60 times an hour, a tenant runs at most 20 at once, and the Once per computer or alert every time applies; runs held back show as Skipped with the reason.

Active Directory steps (Entrosity Vertex)​

If your organization uses Entrosity Vertex, an automation can also act in Active Directory, in the same graph as Axis steps. Vertex makes every change, with the same checks as in Vertex itself: only inside the managed OUs, never on protected objects (domain controllers, administrators), within the write switches and change limits, and recorded in Vertex's activity log.

New computers are placed this way: "computers whose name starts with SD542 go to room HAC-R401" is one row of an AD: Place by name step (Computer placement in Vertex). The quickest start is Place new computers by name on Vertex's Automation page: it opens the editor with the trigger, the step and e-mails to the admins on No match and Failed already drawn, and fills the table from Vertex's old placement rules if you have any.

Trigger (under When something happens):

  • A new computer waits in AD: a new computer sits in the domain's Computers container. Vertex sends each one once (again after Retry or Send all waiting computers again in Vertex).
  • A Vertex placement rule placed a computer is still listed for automations built before 25 November 2026; placement rules are retired, so it no longer starts anything.

Steps (shown at the end of the step list as AD: …, only when Vertex is set up for your organization):

  • AD: Place by name: a table of rows, each with a Name prefix, a Target OU and Groups (one distinguished name per line); Add row adds one, up to 200. Vertex moves the computer into the OU of the row whose prefix its name starts with (the longest wins, case is ignored) and adds it to that row's groups. Continues on Placed, No match (no row fits; nothing changed) or Failed. Offered only after A new computer waits in AD.
  • AD: Place computer: one Target OU and Groups for every computer, for example after a condition or an approval. Continues on Placed or Failed.
  • AD: Add to group / AD: Remove from group: adds the computer to, or removes it from, one Group. Continues on Done or Failed.

What to know:

  • The steps act only on the computer the event names. The OU and groups are what you type; the computer's name only picks one of your rows (Vertex reads the name from AD itself, not from the event).
  • Vertex makes the change on behalf of whoever last saved the automation, with that person's Vertex rights: placing needs Tenant admin in Vertex, changing group members Helpdesk or more. Saving is refused if you do not have the right, if an OU or group (of any row) is outside the managed OUs, or if Vertex cannot be reached. If the last editor later loses the right, the steps follow Failed.
  • Failed does not fail the run: follow it with Post to channel or Send e-mail. The step's result has error_code and error.
  • Dry run asks Vertex what the step would do (for Place by name, which row), and changes nothing.
  • A computer is added to a group only once it is inside the managed OUs, so add groups after placing it (or list them in the placing step).
  • After these triggers, the event's device in Axis steps (scripts, packages, device actions) is the one Axis device linked to that AD computer. A computer that has just joined usually has no Axis agent yet: install software with a separate automation on A computer is enrolled.

Trying it out​

  • Dry run goes through the whole automation with a recent event you pick (for a trigger on events) without doing anything: conditions are checked, texts filled in, waits and approvals skipped, and every action shows Would run with what it would have done.
  • Run now runs it for real, now, with a recent event you pick or, for a schedule, at once.

Both wait until your changes are saved.

The list of automations​

Search by name, or press All, On, Off or Failing (failed in the last 24 hours). Each line has a switch to turn the automation on or off, with Undo in the message that follows, its name and what starts it, the last 24 hours as a bar with the failed share in red and the counts in words (1 of 12 failed in 24 hours), its latest result, which opens its runs, and when a schedule runs next. Clicking the line opens the automation. New automation is in the page header.

Runs​

Runs lists the automation's runs, newest first, with a filter by status: Pending, Running, Waiting, Succeeded, Failed, Skipped, Cancelled. Opening a run shows the automation as it was when the run started, with the path the run took highlighted and the steps it did not reach faded, each step's status and result, and links to the script runs and deployments it created. Cancel run stops a run that is running or waiting; a step in progress finishes, nothing after it runs.

Runs are kept 30 days.

Approvals​

When a run reaches an Approval step it waits, and the tenant admins and members with Approve automation steps get an e-mail with the step's Message and a link to the run. On the run page, Approve or Reject decides it once; the run continues on Approved or Rejected. If nobody decides within Reject after (minutes, up to 7 days), the run continues on Rejected. Members who may only approve can open the run page but not the automations.