Templates / Update all Zammad roles to default values

Update all Zammad roles to default values

Ready for 3.0

by Sirhexalot ✓ · 442 views · created 2024-12-01 · Ticket Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Zammad.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Basic Variables (Edit Fields (Set)): sets 4 fields: zammad_base_url, zammad_api_key, default_roles…
  2. Get all Roles (HTTP Request): calls an HTTP API
  3. Get all Users (Zammad): get many
  4. Zammad Univeral Role Object (Edit Fields (Set)): sets or maps fields
  5. Zammad Univeral User Object (Edit Fields (Set)): sets or maps fields
  6. Filter Roles if needed (If): checks a condition and branches into true / false
  7. If: checks a condition and branches into true / false
  8. Convert to Excel Roles (Convert to File): converts data to a file (xlsx)
  9. Update Users to default Role(s) (HTTP Request): calls an HTTP API (PUT)

Services it uses

Zammad

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

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…

Excerpt from Sirhexalot's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.