8
n8n 한국어amn8n.com

Zammad - 도메인 기반 할당을 사용하여 기존 사용자에게 조직 할당

중급

이것은Support분야의자동화 워크플로우로, 8개의 노드를 포함합니다.주로 If, Set, Merge, Zammad, ManualTrigger 등의 노드를 사용하며. 이메일 도메인에 따른 Zammad 사용자 조직 할당

사전 요구사항
  • 특별한 사전 요구사항 없이 가져와 바로 사용 가능합니다

사용된 노드 (8)

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "QXhjTKmtXQyDDsAf",
  "meta": {
    "instanceId": "494d0146a0f47676ad70a44a32086b466621f62da855e3eaf0ee51dee1f76753",
    "templateCredsSetupCompleted": true
  },
  "name": "Zammad - Assign organizations to existing users using \"domain based assignment\"",
  "tags": [],
  "nodes": [
    {
      "id": "d62c20b0-332a-4c7d-96cb-c19fe03bf151",
      "name": "'워크플로 테스트' 클릭 시",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        40,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9c23b715-1e88-4b3a-9146-377c9e0fc980",
      "name": "조직에 도메인이 있고 공유됨",
      "type": "n8n-nodes-base.if",
      "position": [
        560,
        260
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "772457dc-73a3-4b4e-b51c-27e3ae49b393",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.domain_assignment }}",
              "rightValue": ""
            },
            {
              "id": "52d2e881-7825-47b0-8a03-e643ca90f2cb",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.domain }}",
              "rightValue": ""
            },
            {
              "id": "e932a847-3f96-4280-8fd2-7cbc45105b42",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.shared }}",
              "rightValue": ""
            },
            {
              "id": "1d2ea76a-3510-4bea-89e6-de68ae37c787",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.active }}",
              "rightValue": ""
            },
            {
              "id": "5f9456be-3ba7-43c4-bfdb-77175be84b6a",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.domain }}",
              "rightValue": "={{ $json.domain }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "df8c21e9-81ca-4d92-a0ab-195a3372f027",
      "name": "사용자에게 이메일이 있고 조직이 없음",
      "type": "n8n-nodes-base.if",
      "position": [
        560,
        -80
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "8ceb54ef-61b0-40ed-814b-8918e34154fb",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.organization_id == null }}",
              "rightValue": ""
            },
            {
              "id": "7c0d4c59-baee-4080-9423-dfd1a9f29d82",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.active }}",
              "rightValue": ""
            },
            {
              "id": "4a45536c-5646-4e88-8498-36ad9a42efd1",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.email }}",
              "rightValue": ""
            },
            {
              "id": "e0f5947a-9636-45c8-a73e-83adc9f66046",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.email }}",
              "rightValue": "@"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "6f5b5cee-db76-414c-a3d6-b17f42e74a50",
      "name": "사용자 이메일에서 도메인 추출",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        -100
      ],
      "parameters": {
        "values": {
          "number": [
            {
              "name": "user_id",
              "value": "={{ $json.id }}"
            }
          ],
          "string": [
            {
              "name": "domain",
              "value": "={{ $json.email.split('@')[1] }}"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "f40e2f91-5d31-4530-98dd-9f9973549e19",
      "name": "Zammad",
      "type": "n8n-nodes-base.zammad",
      "position": [
        320,
        -80
      ],
      "parameters": {
        "filters": {},
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "zammadTokenAuthApi": {
          "id": "fj5GuzcJuNLQeMxz",
          "name": "Zammad Token Auth account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c336af66-f837-4ebe-9cd2-ef00dd6a3cbd",
      "name": "Zammad1",
      "type": "n8n-nodes-base.zammad",
      "position": [
        340,
        260
      ],
      "parameters": {
        "resource": "organization",
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "zammadTokenAuthApi": {
          "id": "fj5GuzcJuNLQeMxz",
          "name": "Zammad Token Auth account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e9389dd2-069b-48b8-8f6b-090236de67f9",
      "name": "병합",
      "type": "n8n-nodes-base.merge",
      "position": [
        1280,
        220
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "fieldsToMatchString": "domain"
      },
      "typeVersion": 3
    },
    {
      "id": "8bd3ae8a-401a-4f8b-8e46-16943b817969",
      "name": "사용자 업데이트",
      "type": "n8n-nodes-base.zammad",
      "position": [
        1540,
        220
      ],
      "parameters": {
        "id": "={{ $json.user_id }}",
        "operation": "update",
        "updateFields": {
          "organization": "={{ $json.id }}"
        }
      },
      "credentials": {
        "zammadTokenAuthApi": {
          "id": "fj5GuzcJuNLQeMxz",
          "name": "Zammad Token Auth account"
        }
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "41932b8d-036f-471d-b8d4-9567cf105e63",
  "connections": {
    "e9389dd2-069b-48b8-8f6b-090236de67f9": {
      "main": [
        [
          {
            "node": "8bd3ae8a-401a-4f8b-8e46-16943b817969",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f40e2f91-5d31-4530-98dd-9f9973549e19": {
      "main": [
        [
          {
            "node": "df8c21e9-81ca-4d92-a0ab-195a3372f027",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c336af66-f837-4ebe-9cd2-ef00dd6a3cbd": {
      "main": [
        [
          {
            "node": "9c23b715-1e88-4b3a-9146-377c9e0fc980",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6f5b5cee-db76-414c-a3d6-b17f42e74a50": {
      "main": [
        [
          {
            "node": "e9389dd2-069b-48b8-8f6b-090236de67f9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d62c20b0-332a-4c7d-96cb-c19fe03bf151": {
      "main": [
        [
          {
            "node": "f40e2f91-5d31-4530-98dd-9f9973549e19",
            "type": "main",
            "index": 0
          },
          {
            "node": "c336af66-f837-4ebe-9cd2-ef00dd6a3cbd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "df8c21e9-81ca-4d92-a0ab-195a3372f027": {
      "main": [
        [
          {
            "node": "6f5b5cee-db76-414c-a3d6-b17f42e74a50",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9c23b715-1e88-4b3a-9146-377c9e0fc980": {
      "main": [
        [
          {
            "node": "e9389dd2-069b-48b8-8f6b-090236de67f9",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 지원

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수8
카테고리1
노드 유형5
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Sirhexalot

Sirhexalot

@sirhexalot

Open source enthusiast and Zammad user with a passion for sharing knowledge and building simple, effective automation solutions with n8n.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34