🔧 Sync Entra user to Zammad user

⚡ 832 views · 🔧 Miscellaneous

Description

This workflow facilitates seamless synchronization between Entra (Microsoft Azure AD) and Zammad. It automates the following processes:

  1. Fetch Entra Group Members: Retrieves users from a designated Entra group. These users are candidates for synchronization.
  2. Create Universal User Object: Extracts key user information, such as email, phone, and name, and formats it for Zammad compatibility.
  3. Synchronize with Zammad:
    • Identifies users in Zammad who need updates based on Entra data.
    • Adds new users from Entra to Zammad.
    • Deactivates users in Zammad if they are no longer in the Entra group.

Key Features

Setup Instructions

  1. Microsoft Entra Integration:

    • Ensure proper API permissions for accessing Entra groups and members.
    • Configure Microsoft OAuth2 credentials in n8n.
  2. Zammad Integration:

    • Set up Zammad API credentials with appropriate access rights.
    • Customize the workflow to include additional fields or map existing fields as needed.
  3. Run Workflow:

    • Trigger the workflow manually or set up an automation schedule (e.g., daily sync).
    • Review created/updated/deactivated users in Zammad.

Use Cases

Prerequisites

Bildschirmfoto 20241201 um 13.56.37.png

Bildschirmfoto 20241201 um 13.57.17.png


This workflow is fully customizable and can be adapted to your organization’s specific needs. Save time and reduce manual errors by automating your user sync process with this template!

If you have found an error or have any suggestions, please report them here on Github.

🔗 Nodes Used

HTTP Request, Zammad

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup