Update all Zammad Roles to default values

Go to Workflow
303 views
Built by Sirhexalot Sirhexalot
Created on June 07, 2026

Description

This n8n workflow allows you to reset all user roles in Zammad to specified default roles. It ensures consistency in role management across your Zammad instance.

Features
Retrieve all active users from Zammad.
Update each user's roles to predefined default role IDs.
Exclude specific users by their IDs from the update process.
Simple configuration for default roles and excluded users.

Usage
Import the Workflow: Upload the provided .json file into your n8n instance.
Configure Variables:
zammad_base_url: Your Zammad instance URL.
zammad_api_key: Your Zammad API key.
default_roles: List of default role IDs to apply to all users.
exclude_zammad_users_by_id: List of user IDs to exclude from the update.
Run the Workflow: Execute the workflow to update roles automatically.

Issues and Suggestions
For issues or suggestions, visit the GitHub Repository.

Nodes Used (2)

HTTP Request
n8n-nodes-base.httpRequest
Zammad
n8n-nodes-base.zammad