企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

应用管理 → [应用管理] 设置工作台模版

AI-generated

Summary

Set a WeCom application’s workbench template to key data, image, list, webview, or normal mode. Optionally configure the organization’s default display data using a form or a JSON object; enabling user-data replacement also overwrites workbench data currently set by users.

Inputs

  • 应用 ID (agentid) (required) — The WeCom application ID for the configured credentials.
  • 模版类型 (type) (required) — Choose keydata, image, list, webview, or normal. Normal mode cancels custom display. For keydata, image, list, or webview, you can optionally set enterprise default display data; if disabled, only the template type is switched.
  • 模版数据 (form or JSON) — When setting default data, choose a form or JSON object matching the selected template type. The form collects 1–4 key data items (each data value is required and limited to 64 characters), an image URL and optional link, 1–3 list items (each title required), or a webview URL and options for height, title visibility, in-webview link handling, and an optional outer link. Links can be web URLs or mini-program page paths. JSON input is validated with the same checks as form input.
  • 覆盖所有用户数据 (replace_user_data) — For keydata, image, list, or webview, enable this to replace workbench data currently set by all users.

Output shape

A single item containing the WeCom API response.

This operation makes a remote change to the application’s workbench template and, when configured, its enterprise default data. Source details for the response body are not present in the supplied source pack.

Links

Discussion