企业微信(WeCom)-连接微信 icon

企业微信(WeCom)-连接微信

企业微信连接微信功能 - 微信客服、客户联系、家校应用、政民沟通

Actions188

微信客服 → [机器人管理] 管理知识库分组

AI-generated

Summary

Manage WeCom customer service knowledge base groups by creating, deleting, modifying, or listing these groups within an enterprise WeCom account.

Inputs

  • action_type (required) — Type of action to perform, one of: add (create new group), del (delete existing group), mod (modify group name), or list (retrieve groups).
  • group_name (required) — Name for the new knowledge base group when creating, limited to 12 characters and must be unique.
  • group_id (required) — Unique identifier of the knowledge base group to delete or modify.
  • new_group_name (required) — New name for the knowledge base group when modifying, limited to 12 characters and must be unique.
  • list_group_id — Optional group ID to filter the list operation to a specific knowledge base group.
  • cursor — Pagination cursor for listing groups; leave empty for the first page.
  • limit — Number of groups to retrieve per page when listing, default 500, max 1000.

Output shape

an object containing the resulting knowledge base group data or operation confirmation

Listing returns paginated groups data; adding returns created group info; modifying and deleting return operation success confirmations. Default system groups cannot be modified or deleted, check is_default in list responses.

Examples

Example 1: Create a new knowledge base group

Set action_type to 'add', provide a unique group_name (max 12 characters).

Example 2: Delete a knowledge base group

Set action_type to 'del', provide the target group's group_id. Default groups cannot be deleted.

Example 3: Modify a knowledge base group name

Set action_type to 'mod', provide the target group's group_id and a new_group_name (max 12 characters). Default groups cannot be modified.

Links

Discussion