8
n8n 한국어amn8n.com

Zammad 객체 사용자, 역할, 그룹, 조직을 Excel로 내보내기

고급

이것은Support분야의자동화 워크플로우로, 18개의 노드를 포함합니다.주로 If, Set, Zammad, HttpRequest, ConvertToFile 등의 노드를 사용하며. Zammad 객체(사용자, 역할, 그룹, 조직)를 Excel로 내보내기

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "IXumIzS9WtPAhKFX",
  "meta": {
    "instanceId": "494d0146a0f47676ad70a44a32086b466621f62da855e3eaf0ee51dee1f76753",
    "templateCredsSetupCompleted": true
  },
  "name": "Export Zammad Objects Users, Roles, Groups and Organizations to Excel",
  "tags": [],
  "nodes": [
    {
      "id": "59b12a25-d90f-47f0-a043-a51f71f5761e",
      "name": "'Test workflow' 클릭 시",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -120,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "259acda6-75be-4011-b021-56321ab10478",
      "name": "Zammad Univeral User Object",
      "type": "n8n-nodes-base.set",
      "position": [
        600,
        -80
      ],
      "parameters": {
        "values": {
          "number": [
            {
              "name": "user_id",
              "value": "={{ $json.id }}"
            },
            {
              "name": "organization_id",
              "value": "={{ $json.organization_id }}"
            }
          ],
          "string": [
            {
              "name": "email",
              "value": "={{ $json.email }}"
            },
            {
              "name": "firstname",
              "value": "={{ $json.firstname }}"
            },
            {
              "name": "lastname",
              "value": "={{ $json.lastname }}"
            },
            {
              "name": "role_ids",
              "value": "={{ $json.role_ids.join() }}\n"
            },
            {
              "name": "groups",
              "value": "={{ $json.group_ids }}"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1
    },
    {
      "id": "57c68cc2-f5d6-4425-9dc2-b2d6b21f0026",
      "name": "Zammad Univeral Organization Object",
      "type": "n8n-nodes-base.set",
      "position": [
        600,
        160
      ],
      "parameters": {
        "values": {
          "number": [
            {
              "name": "organization_id",
              "value": "={{ $json.id }}"
            },
            {
              "name": "name",
              "value": "={{ $json.name }}"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1
    },
    {
      "id": "c40b275c-1d33-4604-8073-3651641c94ed",
      "name": "Zammad Univeral Role Object",
      "type": "n8n-nodes-base.set",
      "position": [
        600,
        400
      ],
      "parameters": {
        "values": {
          "number": [
            {
              "name": "role_id",
              "value": "={{ $json.id }}"
            },
            {
              "name": "name",
              "value": "={{ $json.name }}"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1
    },
    {
      "id": "29a257db-955d-4ff3-a7bb-f9a888f96e78",
      "name": "모든 조직 가져오기",
      "type": "n8n-nodes-base.zammad",
      "position": [
        340,
        160
      ],
      "parameters": {
        "resource": "organization",
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "zammadTokenAuthApi": {
          "id": "fj5GuzcJuNLQeMxz",
          "name": "Zammad Token Auth account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b4a9c2ca-b110-46ba-b5b9-2e8d8e357dfb",
      "name": "모든 역할 가져오기",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        340,
        400
      ],
      "parameters": {
        "url": "={{ $json.zammad_base_url }}/api/v1/roles",
        "options": {},
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer {{ $json.zammad_api_key }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "9f5049cc-37ca-4069-86a1-75dffa9c2c96",
      "name": "Excel용 조직 변환",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1320,
        140
      ],
      "parameters": {
        "options": {
          "fileName": "Zammad_Organizations.xlsx"
        },
        "operation": "xlsx"
      },
      "typeVersion": 1.1
    },
    {
      "id": "1a05b494-919c-4e53-8772-8c504e667f1c",
      "name": "Excel용 역할 변환",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1340,
        380
      ],
      "parameters": {
        "options": {
          "fileName": "Zammad_Roles.xlsx"
        },
        "operation": "xlsx"
      },
      "typeVersion": 1.1
    },
    {
      "id": "f1160af5-fcee-421d-9ede-b6f56ac0ce8d",
      "name": "Excel용 사용자 변환",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1300,
        -100
      ],
      "parameters": {
        "options": {
          "fileName": "Zammad_Users.xslx"
        },
        "operation": "xlsx"
      },
      "typeVersion": 1.1
    },
    {
      "id": "192c5342-5140-48f9-acb0-d14a41064fa3",
      "name": "모든 사용자 가져오기",
      "type": "n8n-nodes-base.zammad",
      "position": [
        340,
        -80
      ],
      "parameters": {
        "filters": {},
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "zammadTokenAuthApi": {
          "id": "fj5GuzcJuNLQeMxz",
          "name": "Zammad Token Auth account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ae687777-c1cb-4a23-ae1e-aa34febc27d6",
      "name": "Zammad Univeral Group Object",
      "type": "n8n-nodes-base.set",
      "position": [
        620,
        620
      ],
      "parameters": {
        "values": {
          "number": [
            {
              "name": "group_id",
              "value": "={{ $json.id }}"
            },
            {
              "name": "name",
              "value": "={{ $json.name }}"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1
    },
    {
      "id": "0d38e0b3-1a59-4a8f-9a04-8526aba91fd5",
      "name": "모든 그룹 가져오기",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        340,
        620
      ],
      "parameters": {
        "url": "={{ $json.zammad_base_url }}/api/v1/groups",
        "options": {},
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer {{ $json.zammad_api_key }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "e30bd0ad-9772-4af7-9012-99199fee65b2",
      "name": "조건문",
      "type": "n8n-nodes-base.if",
      "position": [
        900,
        -80
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "0ca9d3a3-b726-4396-8cec-4a74c8e3949b",
              "operator": {
                "type": "object",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json }}",
              "rightValue": 1781
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "2a83536e-e250-425a-aac7-f26ede0caf54",
      "name": "기본 변수",
      "type": "n8n-nodes-base.set",
      "position": [
        60,
        400
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "68b32087-5e23-4590-8042-0061234ce479",
              "name": "zammad_base_url",
              "type": "string",
              "value": "-put-your-zammad-base-url-"
            },
            {
              "id": "7db7572e-2524-4f2a-a1d6-b44330662c30",
              "name": "zammad_api_key",
              "type": "string",
              "value": "-put-your-api-key-"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "db6a3024-9778-4d1e-8b25-34f2ee3ec26f",
      "name": "Excel용 그룹 변환",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1340,
        600
      ],
      "parameters": {
        "options": {
          "fileName": "Zammad_Groups.xlsx"
        },
        "operation": "xlsx"
      },
      "typeVersion": 1.1
    },
    {
      "id": "bd191e0d-927d-44ca-afe6-fa6c7f3d59a2",
      "name": "필요 시 그룹 필터링",
      "type": "n8n-nodes-base.if",
      "position": [
        900,
        620
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "0ca9d3a3-b726-4396-8cec-4a74c8e3949b",
              "operator": {
                "type": "object",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json }}",
              "rightValue": {}
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "c7c7b6b4-7faa-48b4-b7d8-6782dd1e4187",
      "name": "필요 시 역할 필터링",
      "type": "n8n-nodes-base.if",
      "position": [
        900,
        400
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "0ca9d3a3-b726-4396-8cec-4a74c8e3949b",
              "operator": {
                "type": "object",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json }}",
              "rightValue": 1781
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "a255bc7b-5d35-4671-852e-53f2b0980c26",
      "name": "필요 시 조직 필터링",
      "type": "n8n-nodes-base.if",
      "position": [
        900,
        160
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "0ca9d3a3-b726-4396-8cec-4a74c8e3949b",
              "operator": {
                "type": "object",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json }}",
              "rightValue": 1781
            }
          ]
        }
      },
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "8282fc5a-1ed4-4730-8e08-3d9f279dc3b5",
  "connections": {
    "e30bd0ad-9772-4af7-9012-99199fee65b2": {
      "main": [
        [
          {
            "node": "f1160af5-fcee-421d-9ede-b6f56ac0ce8d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b4a9c2ca-b110-46ba-b5b9-2e8d8e357dfb": {
      "main": [
        [
          {
            "node": "c40b275c-1d33-4604-8073-3651641c94ed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "192c5342-5140-48f9-acb0-d14a41064fa3": {
      "main": [
        [
          {
            "node": "259acda6-75be-4011-b021-56321ab10478",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0d38e0b3-1a59-4a8f-9a04-8526aba91fd5": {
      "main": [
        [
          {
            "node": "ae687777-c1cb-4a23-ae1e-aa34febc27d6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2a83536e-e250-425a-aac7-f26ede0caf54": {
      "main": [
        [
          {
            "node": "b4a9c2ca-b110-46ba-b5b9-2e8d8e357dfb",
            "type": "main",
            "index": 0
          },
          {
            "node": "0d38e0b3-1a59-4a8f-9a04-8526aba91fd5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "29a257db-955d-4ff3-a7bb-f9a888f96e78": {
      "main": [
        [
          {
            "node": "57c68cc2-f5d6-4425-9dc2-b2d6b21f0026",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c7c7b6b4-7faa-48b4-b7d8-6782dd1e4187": {
      "main": [
        [
          {
            "node": "1a05b494-919c-4e53-8772-8c504e667f1c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bd191e0d-927d-44ca-afe6-fa6c7f3d59a2": {
      "main": [
        [
          {
            "node": "db6a3024-9778-4d1e-8b25-34f2ee3ec26f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c40b275c-1d33-4604-8073-3651641c94ed": {
      "main": [
        [
          {
            "node": "c7c7b6b4-7faa-48b4-b7d8-6782dd1e4187",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "259acda6-75be-4011-b021-56321ab10478": {
      "main": [
        [
          {
            "node": "e30bd0ad-9772-4af7-9012-99199fee65b2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ae687777-c1cb-4a23-ae1e-aa34febc27d6": {
      "main": [
        [
          {
            "node": "bd191e0d-927d-44ca-afe6-fa6c7f3d59a2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a255bc7b-5d35-4671-852e-53f2b0980c26": {
      "main": [
        [
          {
            "node": "9f5049cc-37ca-4069-86a1-75dffa9c2c96",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "59b12a25-d90f-47f0-a043-a51f71f5761e": {
      "main": [
        [
          {
            "node": "192c5342-5140-48f9-acb0-d14a41064fa3",
            "type": "main",
            "index": 0
          },
          {
            "node": "2a83536e-e250-425a-aac7-f26ede0caf54",
            "type": "main",
            "index": 0
          },
          {
            "node": "29a257db-955d-4ff3-a7bb-f9a888f96e78",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "57c68cc2-f5d6-4425-9dc2-b2d6b21f0026": {
      "main": [
        [
          {
            "node": "a255bc7b-5d35-4671-852e-53f2b0980c26",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

고급 - 지원

유료인가요?

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

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

고급 사용자를 위한 16+개 노드의 복잡한 워크플로우

저자
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