Sync Entra Contacts with Zammad User Management

somdn_product_page

This n8n workflow automates the synchronization between Microsoft Entra (Azure AD) contacts and the Zammad helpdesk system. It ensures that contacts from Entra are accurately reflected in Zammad by creating new users, updating existing ones, and deactivating removed contacts. The workflow is triggered manually for testing or scheduled execution for continuous sync.

Here’s a step-by-step breakdown:

1. Manual Trigger: The workflow begins when manually initiated, allowing for testing or on-demand synchronization.

2. Get Entra Contacts: Uses an HTTP request with OAuth2 authentication to fetch contacts from Microsoft Entra.

3. Split Contacts: Processes each contact individually for granular handling.

4. Filter Contacts: Optional filtering based on custom criteria to determine eligible contacts for sync.

5. Retrieve Zammad Users: Fetches all existing users from Zammad to compare with Entra contacts.

6. Merge Data: Matches Entra contacts with existing Zammad users via email, preparing for updates or creation.

7. Find New Users: Identifies contacts not present in Zammad to add as new users.

8. Find Removed Users: Detects users in Zammad that are no longer in Entra to deactivate them.

9. Conditional Processing:

– Update existing Zammad users with latest contact info.

– Create new Zammad users for new contacts.

– Deactivate users who are no longer active in Entra.

10. The process supports bi-directional data flow, ensuring Zammad remains consistent with Entra contacts.

This workflow is practical for organizations that manage user access and support via Zammad, and want to keep their user database synchronized with Microsoft Entra contacts automatically or on demand.

Node Count

11 – 20 Nodes

Nodes Used

compareDatasets, httpRequest, if, manualTrigger, merge, set, splitOut, stickyNote, zammad

Reviews

There are no reviews yet.

Be the first to review “Sync Entra Contacts with Zammad User Management”

Your email address will not be published. Required fields are marked *