Developer & DevOps

Update all roles to the default values

10 nodes 215 99 Automatic trigger
Download

Workflow Description

An automated workflow that resets all system roles to their default values in Zammad without manual intervention. It retrieves current configurations and applies updates efficiently through a reliable API interface.

How it works

  1. 1.Initiate the workflow manually to begin the role restoration process
  2. 2.Extract default role settings from Zammad database
  3. 3.Apply default values to all registered roles in the system
  4. 4.Verify update status using conditional logic checks
  5. 5.Send HTTP request to confirm changes on the Zammad platform
  6. 6.Convert operation results into a documented report file

Use cases

  • Reset user role permissions following a major Zammad system update
  • Standardize role permissions after unintended modifications or data corruption

Requirements

  • Full administrative access to your Zammad account
  • Knowledge of the default role values configured in your system

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Zammad

Details

Trigger Automatic trigger
Nodes 10
Apps 1
Views 215
Downloads 99

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (10)

When clicking ‘Test workflow’

Manual Trigger

#1

Zammad Univeral User Object

Set

#2

Get all Users

Zammad

#3

If

If

#4

Get all Roles

HTTP Request

#5

Basic Variables

Set

#6

Zammad Univeral Role Object

Set

#7

Convert to Excel Roles

Convert To File

#8

Filter Roles if needed

If

#9

Update Users to default Role(s)

HTTP Request

#10