Wechat Work Node icon

Wechat Work Node

Wechat Work Node

部门管理 → 创建部门

AI-generated

Summary

Create a new department in Wechat Work with specified parameters such as department name, optional English name, parent department ID, order value, and optional department ID (auto-generated if omitted).

Inputs

  • 部门名称 (required) — Name of the department; must be unique within the same level and 1-64 UTF-8 characters excluding :*?"<>|
  • 英文名称 — Optional English name for the department; requires multi-language support enabled. Unique within the same level, 1-64 characters, excluding :*?"<>|
  • 父部门ID (required) — Parent department ID as a 32-bit integer
  • 次序值 — Order value within the parent department; higher values show earlier. Valid range [0, 2^32)
  • 部门ID — Department ID as a 32-bit integer greater than 1; if omitted, the ID will be auto-generated

Output shape

a single JSON object

The output contains the API response as a JSON object with details about the created department or error information.

Links

Discussion