Update all Zammad Roles to default values

Nodes

4fd24c25-fe8f-4e85-bbb1-0475c995ed6a3b9f1b78-6b80-4575-aa6c-966987000389818211a2-bc09-427d-bfa4-d8db9fbffb50

Created by

SiSirhexalot

Last edited 39 days ago

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

  1. Import the Workflow: Upload the provided .json file into your n8n instance.
  2. 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.
  3. Run the Workflow: Execute the workflow to update roles automatically.

Issues and Suggestions

For issues or suggestions, visit the GitHub Repository.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!