Automations

Operations workflow page for Zendesk automations

Creating an automation

For these, you will need to create a corresponding automation file in the sync repo.

You should also do this in a way that creates a MR. Said MR should always be peer reviewed before merging (the MR should enforce this).

The exact nature of what you need to put into the YAML file will vary based on the issue’s request.

Be sure to read Working with sync repo files for more information.

Editing an automation

For these, you will need to locate the corresponding automation file in the sync repo and make changes to it.

You should also do this in a way that creates a MR. Said MR should always be peer reviewed before merging (the MR should enforce this).

The exact nature of what you need to put into the YAML file will vary based on the issue’s request.

Be sure to read Working with sync repo files for more information.

Deactivating an automation

To deactivate an automation, you must make the following changes in the corresponding automation file in the sync repo:

  1. Move the automation from the active folder to the the corresponding location in the inactive folder (if it does not exist, create it)

  2. Change the value of the active attribute in the YAML file to false

  3. Change the conditions seciton to be:

    - field: 'brand_id' operator: 'is_not' value: 'GitLab Support'
  4. Change the actions section to be:

    - field: 'brand_id' value: 'GitLab Support'
  5. Change the value of the contains_managed_content attribute to false

You should also do this in a way that creates a MR. Said MR should always be peer reviewed before merging (the MR should enforce this).

Deleting an automation

The process to delete an automation is exactly as described in the automations documentation page.

Exception deployment

To perform an exception deployment for automations, navigate to the automations project in question, go to the scheduled pipelines page, and click the play button. This will trigger a sync job for the automations.