Introduction
L'application d'étiquettes permet à une automatisation d'ajouter une ou plusieurs étiquettes sur un appareil lorsqu'elle s'exécute. C'est la moitié action de la boucle déclencheur-automatisation-moniteur : un déclencheur se déclenche, l'automatisation applique une étiquette, et cette étiquette peut alors déclencher d'autres automatisations ou stratégies de groupe.
Apply Tags
In the action's Configuration de l'étape, vous verrez une liste pouvant être recherchée de toutes les étiquettes de votre organisation.
Recherchez ou faites défiler pour trouver les étiquettes que vous souhaitez appliquer.
Cochez la case à côté de chaque étiquette que vous souhaitez que cette action applique.
Pour créer une étiquette qui n'existe pas encore, cliquez sur+ Créer une nouvelle étiquetteet nommez-la en ligne.
Click Enregistrer.
CONSEIL : Applying a tag can itself trigger another automation via the Tag Applied trigger. Plan your tag-based automations carefully to avoid unintended chains.Multiple tags can be selected in a single action. If you need to apply tags conditionally, configure separate Apply tags actions with different Conditions rather than stacking everything in one action.
REMARQUE :
Applying a tag that's already on the device has no effect and won't re-fire the Tag Applied trigger.ConditionsThe
Conditions
section lets you restrict when this action runs based on device attributes or the outcome of a previous action.See Conditions d'action
for the full reference on condition types, operators, and values.Additional OptionsExpand
Additional options
for action name, failure behavior, output variable assignment, retries, and the enabled toggle.See Aperçu des actions
for the full reference on additional options available on every action.FAQCan I apply a tag that doesn't exist yet?
Yes. Use
+ Create new tag directly in the action dialog. The tag is created immediately and added to your organization's tag list.Will applying a tag trigger the Tag Applied automation trigger? Yes, if an automation uses the Tag Applied trigger and is scoped to that tag, it will fire. Deleting a tag does
not fire the Tag Removed trigger, but applying one via this action does fire Tag Applied.Who can configure this action? Any technician with permission to create or edit automations. Tag visibility in the picker follows your organization's tag settings.
What if the automation tries to apply a tag to a device that's offline? Tags can be applied to offline devices — the action succeeds immediately regardless of the device's online status. If the tag triggers a downstream automation via the Tag Applied trigger, that device gets queued in that automation and will run when conditions are met.
What if the automation tries to apply a tag to a device that's offline? Tags can be applied to offline devices — the action succeeds immediately regardless of the device's online status. If the tag triggers a downstream automation via the Tag Applied trigger, that device gets queued in that automation and will run when conditions are met.

