Templates / Assign Zammad users to organizations based on email domain

Assign Zammad users to organizations based on email domain

Ready for 3.0

by Sirhexalot ✓ · 663 views · created 2024-11-29 · 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 8 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. Zammad: get many
  2. Zammad: get many (organization)
  3. User has email and no organization (If): checks a condition and branches into true / false
  4. Organization has domain and is shared (If): checks a condition and branches into true / false
  5. Extract Domain from User E-Mail (Edit Fields (Set)): sets or maps fields
  6. Merge: merges the data from its input branches
  7. Update User (Zammad): update

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 (5)

From the author

This n8n workflow automates the assignment of existing users to organizations in Zammad based on their email domains, utilizing Zammad’s "domain-based assignment" feature. Use Case Automate the post-hoc assignment of existing users to organizations in Zammad…

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.