π« Update all Zammad roles to default values
β‘ 429 views Β· π« Ticket Management & Triage
π‘ Pro Tip β If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.
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
.jsonfile 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
HTTP Request, Zammad, Convert to File
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File