{
  "openruna_format": "flow-graph-v1",
  "title": "Update all Zammad Roles to default values",
  "slug": "update-all-zammad-roles-to-default-values",
  "source_filename": "1817_Manual_HTTP_Update_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 all Users",
      "name": "Get all Users",
      "integration": "zammad",
      "kind": "action"
    },
    {
      "id": "If",
      "name": "If",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Get all Roles",
      "name": "Get all Roles",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Basic Variables",
      "name": "Basic Variables",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Zammad Univeral Role Object",
      "name": "Zammad Univeral Role Object",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Convert to Excel Roles",
      "name": "Convert to Excel Roles",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Filter Roles if needed",
      "name": "Filter Roles if needed",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Update Users to default Role(s)",
      "name": "Update Users to default Role(s)",
      "integration": "httpRequest",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "If",
      "to": "Update Users to default Role(s)"
    },
    {
      "from": "Get all Roles",
      "to": "Zammad Univeral Role Object"
    },
    {
      "from": "Get all Users",
      "to": "Zammad Univeral User Object"
    },
    {
      "from": "Basic Variables",
      "to": "Get all Roles"
    },
    {
      "from": "Basic Variables",
      "to": "Get all Users"
    },
    {
      "from": "Filter Roles if needed",
      "to": "Convert to Excel Roles"
    },
    {
      "from": "Zammad Univeral Role Object",
      "to": "Filter Roles if needed"
    },
    {
      "from": "Zammad Univeral User Object",
      "to": "If"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Basic Variables"
    }
  ]
}