Automation : Trigger Tag removed from submission

Automation : Trigger Tag removed from submission

How to create an automation with the trigger: Tag removed from submission ?

The platform allows you to configure an automation that is triggered automatically when a tag is removed from a repository. To do this, you must use the “Tag removed from repository” trigger.
Follow the steps below to set up this automation:

Info
Please refer to this article : The different types of triggers

  1. In your program, click on the “Automation” menu, then on the “Add a rule” button.



  1. Click on the “ Tag removed from submission ” trigger (this rule is triggered when a tag is removed from a submission).



  1. In order for the “Tag removed from submission” trigger to be configured correctly, it must be associated with an operation. To do this, click on the “Add an operation” button.
Info
Please refer to this article : The different types of operations



  1. You then access the list of operations, and each operation contains actions.



Alert
The special feature of this trigger is that it requires you to specify the name of the tag removed from the submission in order for the automation to be triggered in a targeted manner. Otherwise, the automation will be activated each time a tag is deleted, regardless of its name.

  1. You must therefore click on the “New condition” button.



  1. Select “Condition on tags field”*
Info
Please refer to this article : Condition on the tags field



  1. After selecting the condition in the Tags field, in our example, the condition used is that the tag is “Retained.” You will then need to assign an action by clicking on the “Add an operation” button.



  1. You will then access the operations interface, where you will need to select the “New action” operation. This operation allows you to select the actions to associate with the conditions in order to finalize the setup of your automation with the “Tag removed from repository” trigger.



Info
In the case of the “Tag removed from submission ” trigger, here are some of the possible actions.
  1. Send an email : this action sends an email to the specified recipients.
  2. Make an HTTP request : this action makes an HTTP POST request to a specific URL.
  3. Send a Slack notification : This action sends a Slack notification.
  4. Add or remove a tag : This action adds or removes a tag from a repository.
  5. Add to an evaluation session : This action adds a repository to an evaluation session.

  1. Once you have associated the action with your trigger, enter the name of your automation, then save the configuration by clicking on the “Save” button at the top right of your screen.



  1. Your automation now appears in the Automation menu.