Getting Started with Automations
Pipelines to reduce manual tasks and boost productivity
Automations are designed to enhance the efficiency of your IT operations by enabling you to set up automatic responses to specific events on your devices. This powerful tool allows for actions such as auto-installing software when a device is tagged, setting up new devices automatically upon detection, and applying tags when a device joins a group.
Before diving into the technical specifics, it's important to understand how Level automations are different than what might be expected. They are not like Level scripts, which are only run when specifically called upon. Once an automation is created, it is always on and is watching for devices that should be targeted.
Automations have two main components: Triggers, and Actions. Triggers are criteria that Level watches to determine if and when an automation should target a device. Actions are sets of commands that will be run on devices when they match a trigger.
Once created, an automation is always on! Unless disabled (or created without a trigger), they are constantly monitoring for matching triggers and will run the specified actions on a corresponding device.
Video Walkthrough
Automations List
When Automations is selected in the top navigation, a list of automations is displayed. From this page, new automations can be created by selecting Create Automation in the top-right corner.
The Actions column shows the number of steps (triggers and actions) in each automation. Other columns display details such as the number of devices that have run through the automation pipeline and when the last run occurred. Automations with an automated trigger will display an Active status, while those without triggers will show a Manual status.
Automation Groups
The left-hand side of the automations screen features Automation Groups. These groups help you organize your automations by category, allowing you to manage and filter automations based on your needs. For example, you can organize automations by operating system (e.g., Linux, Windows, macOS) or by function (e.g., Maintenance, Patching).
Selecting a Group: You can select a group to view all automations categorized under it. In the example provided, the Maintenance group is selected, showing seven automations related to system maintenance.
Managing Groups: Groups can be customized to fit your workflow. New groups can be created, and automations can be assigned to groups using the Assign to group button at the top of the automation list. Automations can also be archived when no longer needed by selecting the three dots on the right and choosing Archive.
Script Library
Next to the Automations tab is the Scripts tab. This is where all scripts related to your automations are stored. From this tab, you can view, edit, and manage existing scripts.
Viewing Scripts: Selecting the Scripts tab will display a list of all available scripts that can be used within automations.
Editing Scripts: You can select a specific script to open it and make any necessary changes. This gives you full control over the scripts associated with your automations, enabling easy adjustments to fit your needs.
This tab is essential for managing the script logic behind your automations and ensuring that the correct tasks are being executed efficiently.
Additional Automation Features
Selecting the History tab at the top shows an aggregated history of all devices that have run through all automations. You can also view the history of a specific automation by selecting the three dots next to the automation and clicking History.
Selecting an automation from the list will open the automation for editing or viewing its details. The three dots to the right of each automation provide additional actions, such as Archiving or viewing History.
The Automations page is where you can manage your team's automations!
What Does an Automation Look Like?
The following image shows a sample automation named "My Automation - Demonstration".
This is an automation in View mode.
Title, and automation details including status. The status can either be Active or Manual. Active means that the automation is running and looking for agents that match triggers. Manual means the automation has no active triggers and devices will only match the automation when a device is manually assigned to the run through the pipeline.
Buttons to edit the Automation, manually assign a device to the pipeline, and actions to rename or archive the automation.
The Overview tab is shown by default. The History tab shows a list of each time any device has run through the automation pipeline.
The device status pane shows the quantity of devices currently active in the pipeline and their states. The View All link will show which specific agents are active.
The Trigger area lists one or more triggers that contain conditions that can match devices. When any of the triggers are matched, then a device will be assigned to the automation and run through the pipeline.
The Action area lists one or more actions that will take place once a device has been assigned to the pipeline.
Icons representing devices are be displayed next to where they are in the pipeline.
Display Modes
The automations page has two modes, View Mode and Edit Mode. The default view mode will show details and history about devices that have previously (or are currently) running through the automation pipeline. In view mode, no changes can be made to the automation with the exception of enabling or disabling a trigger or action via the blue toggle button.
View Mode
In View Mode, selecting a trigger or or action will reveal a panel on the right that will show details about the item along with a history tab to show when devices have passed through this step of the pipeline. This pane lists recent devices on the overview tab, and a more detailed history of all devices that have run this step are available on the History tab.
Selecting the carat icon next to any device will reveal detailed information about the output and input for the agent in this automation step.
Edit Mode
To switch to Edit Mode, select the Edit button at the top right. Once in Edit Mode, the the view and behavior of the pipeline graphic will change slightly.
A plus (+) indicator is shown between triggers and actions. Clicking on the plus will insert a new trigger or action at that location.
The order of actions can be changed by drag-selecting the six dots on the left of the action. Drag the action up or down to change the order. Triggers can not be reordered because any match of a trigger will start the pipeline, the order is irrelevant.
In Edit Mode, selecting a trigger or action will allow the object to the edited. Changes are not saved for each item until the Save button inside the trigger or action panel has been pressed.
In order to leave Edit Mode, select the "Done" button at the top right of the Automations page.