Passer au contenu principal

Aperçu des automations

Automatiser les tâches informatiques sur vos appareils en utilisant des déclencheurs pour détecter les conditions et les actions pour y répondre.

Introduction

Les automations vous permettent de définir ce qui doit se passer sur un appareil lorsque des conditions spécifiques sont remplies. Un déclencheur surveille la condition — un calendrier, une étiquette, une alerte, une nouvelle inscription. Une action (ou une séquence d'actions) s'exécute lorsque la condition correspond. Une fois qu'une automation est active, elle s'exécute continuellement sans aucune intervention manuelle.

Exemples courants:appliquer automatiquement des correctifs aux appareils Windows selon un calendrier, exécuter un script de configuration quand un nouvel appareil est détecté, ou appliquer des étiquettes quand un appareil rejoint un groupe spécifique.


🎬 VIDEO


Comment fonctionnent les automations

Chaque automation a deux parties:

  • Déclencheurs — les conditions qui amènent un appareil dans l'automation. Lorsqu'un déclencheur se déclenche, l'appareil commence à traverser le pipeline.

  • Actions — les étapes qui s'exécutent sur l'appareil, dans l'ordre, une fois qu'il entre dans le pipeline.

Les déclencheurs et les actions sont indépendants. Une automation peut avoir plusieurs déclencheurs (tout appariement démarre le pipeline) et plusieurs actions (elles s'exécutent séquentiellement). Chaque action peut être basculée individuellement activée ou désactivée sans la supprimer du pipeline.

Deux badges apparaissent sur les déclencheurs et les actions dans le pipeline pour signaler une configuration supplémentaire en un coup d'œil:

  • IF (orange) — une condition est appliquée à cette étape. Pour les déclencheurs, la condition limite les appareils que le déclencheur récupère. Pour les actions, la condition contrôle si l'action s'exécute sur un appareil donné lors d'une exécution.

  • (x) (orange) — l'étape utilise une variable, soit en écrivant la sortie dans une, soit en lisant depuis une.

Automation View

Déclencheurs

Un déclencheur définit when et which les appareils qu'une automation cible. Les appareils ne sont pas assignés aux automations manuellement — les déclencheurs les récupèrent automatiquement en fonction de la condition.

Les types de déclencheurs incluent les calendriers (exécution quotidienne, hebdomadaire, mensuelle ou selon un intervalle personnalisé), device events (nouvel appareil détecté, appareil entrant ou quittant un groupe), tag events (étiquette appliquée ou supprimée), data changes (champ personnalisé modifié), et les signaux externes (webhook) . Un déclencheur manuel est également disponible pour les exécutions à la demande.

Every trigger ( except Manual ) supports conditions — les filtres qui restreignent les appareils récupérés lorsque le déclencheur se déclenche. Les conditions peuvent filtrer par plateforme, système d'exploitation, groupe, étiquette, statut, nom d'hôte, type d'appareil, et plus. Sans conditions, un déclencheur s'applique à tous les appareils de votre organisation que le déclencheur correspondrait autrement.

Pour la référence complète du déclencheur, voir Automations → Déclencheurs. Pour les conditions, voir Conditions de déclencheur .

Actions

Les actions sont ce qui s'exécute réellement sur l'appareil. Elles s'exécutent en séquence, de haut en bas. Si une action échoue, le pipeline s'arrête à cette étape (sauf si configuré autrement) .

Les actions disponibles couvrent: exécution de scripts, installation et désinstallation d'applications, gestion des mises à jour du système d'exploitation, redémarrage des appareils, définition de champs personnalisés, application ou suppression d'étiquettes, envoi de notifications, création de requêtes HTTP, et plus.

Chaque action a deux options transversales au-delà de sa configuration principale:

  • Conditions— restreindre si l'action s'exécute sur un appareil donné lors d'une exécution. Utilisez les conditions pour ignorer une action en fonction du système d'exploitation, du groupe, de l'étiquette, de la valeur du champ personnalisé, ou du résultat d'une action précédente. VoirConditions d'action .

  • Options supplémentaires— les contrôles disponibles sur chaque action indépendamment du type: un nom d'affichage personnalisé, le comportement en cas d'échec (échouer le pipeline ou supprimer et continuer), le nombre de tentatives, et la capacité de capturer la sortie de l'action dans une variable d'automation. VoirAperçu des actions .

Pour une référence complète, voirAutomations → Actions .


Navigate to

Automatisations in the sidebar to reach the automations list. REMARQUE :

New accounts include a Get Started automation group pre-populated with common automations — Windows Patching, macOS Patching, Linux Patching, Default Tags, Disk Cleanup, and others. These are fully functional automations you can enable as-is, tweak to fit your environment, or use as a reference when building your own. Each row in the table represents one automation. The columns show: Actions

Automations

— icons representing the trigger types and action types in use

  • Name — the automation name

  • Group — the automation group it belongs to

  • Last run — when the automation last fired on any device

  • Active runs — devices currently in the pipeline

  • Total runs — all-time run count across all devices

  • Status

  • Active (has at least one active trigger) or Manual (no active triggers; only runs when manually triggered)Columns can be shown or hidden using the Columns

button in the top right. Filtering and Searching Use the

Search

bar to filter automations by name. The Filters button opens a panel to filter by Action type ou Trigger type — useful for finding all automations that, for example, use a Run Script action or a Scheduled run trigger. Automation Groups The left sidebar organizes automations into groups. Groups are just for organization — they don't affect how automations run or which devices they target.

Select any group to filter the table to only automations in that group. Use

Search groups

to find a specific group by name. To move one or more automations into a group, select them using the checkboxes and click Assign to group

.CONSEIL : Group automations by function (e.g., Patching, Maintenance, Security) or by operating system. Either way, use a scheme that matches how your team thinks about workflows — not how Level's UI is organized.

Script RunsScript runs in the sidebar shows a filtered list of automations that Level created automatically when scripts were run ad-hoc from the device listing or device details. Each is a real automation with a Wait for approval action and a Run script action — they behave exactly like any other automation.

For a full explanation of how script run automations are created and used, see

Scripting Overview .

New Automations and Archived Automations New automations in the sidebar shows automations that were created in the last 7 days.

Archived automations

shows automations that have been archived. Archived automations don't run (triggers are disabled); they can be restored at any time. Creating an Automation

Click + Create automation


in the top right of the automations list.

  1. Enter a name for the automation.Click Create

  2. .

  3. REMARQUE : A newly created automation has no triggers and no actions. It won't run until you add at least one trigger. Until then, it shows a Manual

action and can only be run by manually adding devices. Inside an Automation Clicking any automation in the list opens its pipeline view.View Mode and Edit ModeBy default, automations open in


View mode

. In view mode, you can see the pipeline and toggle individual triggers and actions on or off. You can't add, remove, or reorder steps.

Automation View

Clicking any trigger or action in view mode opens a detail panel on the right showing two things: the step's full configuration, and a

Recent devices list showing which devices have recently passed through that step along with their run status and duration. From the Recent devices list, you have two ways to dig deeper:

Click the > (caret) next to a device to expand it inline and see the

Output

  • et Input tabs for that step — the actual text output the action produced on that device. Click the (arrow) to navigate to the full run detail for that device, showing all steps in the pipeline, their individual statuses, durations, and output. REMARQUE :

  • Triggers have a Run trigger now button in their detail panel. This fires the trigger immediately on all currently matching devices without waiting for the next scheduled run — useful for testing or for one-off manual execution of a scheduled automation.

Device Run History

Click Modifier in the top right to switch to Edit mode . In edit mode:

Add triggers using the + button in the trigger areaAdd actions using the +

  • button between or below existing actionsReorder actions by dragging the handle on the left side of any action step Edit a trigger or action by clicking it to open the configuration panel

  • Changes to each step are saved per-step (save inside the panel), not globallyClick Done

  • to exit edit mode.

  • REMARQUE :

  • Triggers can't be reordered because order is irrelevant — any matching trigger starts the pipeline. If you have multiple triggers, any one of them firing is enough to start a run for a matching device.

VariablesThe Variables

tab (in the left panel) lists the automation variables defined for this automation.Automation variables pass data between steps. An action can write a value to a variable — for example, capturing a script's exit code or a custom field value — and a later action (or an action condition) can read that value to branch or filter behavior. Variables are defined per automation and are only accessible within that automation.Beyond automation variables, Level also makes system variables available in every automation — things like device name, OS, IP address, and group. These don't need to be defined; they're always present.

For the full reference on creating and using variables, see

Automation Variables et System Variables

.

Historique

The Historique tab shows every device that has run through this automation — one row per run, with the device name, trigger event, status, and start time. Use the search bar or Filter by status to narrow the list.

Clicking a row opens a run detail panel on the right showing:

Run details — source (what triggered the run), start time, end time, total duration, and overall status Workflow progress — each action step with its individual duration and status (Success, Skipped, Failed) Click the

>

  • next to any step in Workflow progress to expand it and see that step's full output and input inline. A

  • Réexécuter button appears in the top right of the run detail panel, and also as a bulk action in the history table toolbar. Rerun is a dropdown with two options:

Réexécuter — restarts the pipeline from the beginning for that device Retry from failed

— resumes from the step that failed, skipping the steps that already succeededREMARQUE : You can also reach a specific device's run detail from the pipeline view. When you click a trigger or action step in view mode, the Recent devices list shows recent runs for that step. Clicking the arrow

  • on any device row navigates to the full run detail for that device.

  • Active Devices The bottom of the left sidebar shows a live count of devices currently in the pipeline, broken down by state:

Running , Waiting on approval, and When next online

. Click

View all to see which devices are in each state.Running an Automation Automations with active triggers run automatically — no manual step required. But there are several ways to trigger a run on demand or add specific devices to a pipeline manually.From the automation pipeline — click + Add a device in the trigger area to manually push one or more devices into the pipeline immediately, bypassing trigger conditions.From the device listing


— select one or more devices, open the

Actions

  • menu, and choose Run automation. Select which automation to run. The selected devices enter that automation's pipeline directly. From device details

  • — same Actions menu is available on an individual device's detail page.From the trigger panel — in view mode, click a trigger to open its detail panel and use Run trigger now

  • to fire it immediately against all currently matching devices. From alerts — automations can be triggered by monitor alerts via the Remediation trigger type. When a monitor fires an alert, any automation using that alert as a trigger runs automatically on the affected device. Watching a Run in Progress

  • Once a device enters the pipeline, Level tracks it in real time. On the pipeline view:A device icon appears next to the trigger that pulled it in, then moves through the pipeline as each action executes The

  • Active devices count in the bottom left increments and shows how many devices are currently Running, Waiting on approval, or queued for When next online

Clicking a device in the Active devices panel (or in an action step's detail panel) opens the live run detail, where the Output tab streams action output as it arrives

REMARQUE :

If a device is offline when a trigger fires, it enters a

  • When next online

  • queue. The run resumes from the beginning when the device checks back in — unless you've added a Status = Online trigger condition to exclude offline devices entirely.Global HistorySelecting

  • Historique

in the main sidebar opens a cross-automation run history — every automation run across your entire account in one view. Columns include device name (with group path), automation name, trigger event, status, and start time. Filter by status to isolate failed runs, or search by device or automation name. Export to CSV exports the current filtered view.Selecting a row opens the same run detail panel as in the per-automation history tab — source, timestamps, total duration, overall status, and per-step Workflow progress with expandable output.


The

Réexécuter dropdown is also available here, letting you rerun or retry-from-failed across multiple selected rows in bulk. FAQ

Automation History

What's the difference between an Active and Manual automation? Active means the automation has at least one enabled trigger — it's watching for matching devices and will fire on its own. Manual means there are no active triggers; the automation only runs when you manually add a device to the pipeline. Can an automation target specific devices or groups?

Automations don't get assigned to devices or groups directly. Triggers define which devices are pulled in. All triggers include optional conditions (OS, group, tag, custom field) to narrow the target set. For example, a Scheduled trigger with a condition of "Group = Windows Servers" will only run on devices in that group.

Can the same device be in an automation's pipeline more than once at the same time? No — a device can only have one active run per trigger at a time. If a device is already in the pipeline (running, waiting for approval, or queued as "when next online"), a subsequent firing of the same trigger won't add it again. The duplicate is silently dropped. Once the current run completes, the device can be pulled in again by the next trigger firing. Note that this is per trigger: if an automation has two different triggers, a device could technically have one active run from each — but the same trigger won't create a second.What happens if an action fails mid-pipeline?


The run stops at the failed step. The device remains in the pipeline history with a failed status. You can rerun from the failed step — click the row in the

  • Historique tab to open the run detail, then click

  • Réexécuter . You don't have to restart from the beginning.

  • Who can create and manage automations? Access is controlled by the permissions set for each device group. Technicians need the appropriate permission level to create automations, run them, or view history. See

  • Espace de travail → Autorisations for details. Can I run an automation immediately without setting up a trigger? Yes. Use a Manual trigger , or just create the automation without a trigger and add devices to the pipeline manually from the automation's pipeline view or from the

  • Actions menu on the device listing.Where can I find pre-built automations? Level's

  • Resource Library has pre-built automations, monitors, and scripts. Import directly into your account with one click. Manual trigger , or just create the automation without a trigger and add devices to the pipeline manually from the automation's pipeline view or from the Actions menu on the device listing.

  • Where can I find pre-built automations? Level's Resource Library has pre-built automations, monitors, and scripts. Import directly into your account with one click.

Avez-vous trouvé la réponse à votre question ?