企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

通讯录管理 → [成员管理] 获取部门成员

AI-generated

Summary

Retrieves members of a selected WeCom department, optionally including members of its child departments. Use it to fetch department users for downstream workflow processing.

Inputs

  • 部门 (department_id) (required) — Select a department from the list or provide its ID with an expression.
  • 是否递归获取 (fetch_child) — Defaults to false. When true, requests recursive inclusion of child department members; when false, retrieves members of the selected department only.

Output shape

A list of department member records returned by the WeCom API.

The provided source pack shows only the operation's function signatures, so it does not establish whether the node wraps or reshapes the API response. The property description notes that this endpoint may be unavailable to IPs newly added to the WeCom contact synchronization tool since 2022-08-15; it recommends obtaining member and department IDs through the corresponding ID-list APIs.

Links

Discussion