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

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

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

Actions188

客户联系 → [客户标签管理] 编辑客户企业标签

AI-generated

Summary

Edit external contact tags for a specified customer in WeCom by adding or removing corporate tag IDs associated with a member and an external contact user.

Inputs

  • userid (required) — Enterprise member's UserID who owns the external contact.
  • external_userid (required) — External contact's UserID starting with "wm".
  • add_tag — Comma-separated list of tag IDs to add to the external contact.
  • remove_tag — Comma-separated list of tag IDs to remove from the external contact.

Output shape

an object indicating the success or failure response from the WeCom API; exact content depends on WeCom's response format for tag editing operations

The operation requires appropriate permissions configured in the credentials for "客户联系 - 可调用接口的应用" or "客户联系" Secret. Output includes API response details useful for confirming tag updates.

Examples

Example 1: Add and remove tags from an external contact associated with a member

Specify the member's userid, external contact's external_userid, tags to add, and tags to remove as comma-separated strings.

Links

Discussion