Developer & DevOps

Reset all Zammad roles to default settings automatically

10 nodes 289 135 Automatic trigger
Download

Workflow Description

Automates the restoration of all roles and permissions in Zammad to their default configuration. Includes conditional validation of role data, systematic updates, and automated reporting of changes through file export and HTTP endpoints.

How it works

  1. 1.Trigger the automation manually when role reset is needed
  2. 2.Retrieve complete list of roles from Zammad system
  3. 3.Validate each role and identify those requiring reset
  4. 4.Apply default values to flagged roles systematically
  5. 5.Generate compliance report in file format
  6. 6.Send results to HTTP endpoint for audit logging

Use cases

  • Recover from accidental role configuration changes
  • Execute scheduled system maintenance and standardization
  • Synchronize role settings across multiple Zammad instances

Requirements

  • Active Zammad administrator account with role management permissions
  • HTTP endpoint configured for receiving audit reports
  • Manual trigger configured in n8n workflow

Service Value

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

Apps Used

Zammad

Details

Trigger Automatic trigger
Nodes 10
Apps 1
Views 289
Downloads 135

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