{
  "openruna_format": "flow-graph-v1",
  "title": "Entra Contacts to Zammad User Sync",
  "slug": "entra-contacts-to-zammad-user-sync",
  "source_filename": "1889_Splitout_Comparedatasets_Sync_Webhook.json",
  "nodes": [
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Zammad Univeral User Object",
      "name": "Zammad Univeral User Object",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Get Zammad Users",
      "name": "Get Zammad Users",
      "integration": "zammad",
      "kind": "action"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Find new Zammad Users",
      "name": "Find new Zammad Users",
      "integration": "compareDatasets",
      "kind": "action"
    },
    {
      "id": "Update Zammad User",
      "name": "Update Zammad User",
      "integration": "zammad",
      "kind": "action"
    },
    {
      "id": "Create Zammad User",
      "name": "Create Zammad User",
      "integration": "zammad",
      "kind": "action"
    },
    {
      "id": "Deactivate Zammad User",
      "name": "Deactivate Zammad User",
      "integration": "zammad",
      "kind": "action"
    },
    {
      "id": "Find removed Users",
      "name": "Find removed Users",
      "integration": "compareDatasets",
      "kind": "action"
    },
    {
      "id": "Get Contacts from Entra",
      "name": "Get Contacts from Entra",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Entra Contacts",
      "name": "Entra Contacts",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Filter contacts if needed",
      "name": "Filter contacts if needed",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Filter if needed",
      "name": "Filter if needed",
      "integration": "if",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Merge",
      "to": "Update Zammad User"
    },
    {
      "from": "Entra Contacts",
      "to": "Filter contacts if needed"
    },
    {
      "from": "Filter if needed",
      "to": "Merge"
    },
    {
      "from": "Filter if needed",
      "to": "Find new Zammad Users"
    },
    {
      "from": "Filter if needed",
      "to": "Find removed Users"
    },
    {
      "from": "Get Zammad Users",
      "to": "Filter if needed"
    },
    {
      "from": "Find removed Users",
      "to": "Deactivate Zammad User"
    },
    {
      "from": "Find new Zammad Users",
      "to": "Create Zammad User"
    },
    {
      "from": "Get Contacts from Entra",
      "to": "Entra Contacts"
    },
    {
      "from": "Filter contacts if needed",
      "to": "Zammad Univeral User Object"
    },
    {
      "from": "Zammad Univeral User Object",
      "to": "Merge"
    },
    {
      "from": "Zammad Univeral User Object",
      "to": "Find new Zammad Users"
    },
    {
      "from": "Zammad Univeral User Object",
      "to": "Find removed Users"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Get Zammad Users"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Get Contacts from Entra"
    }
  ]
}