企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions257

智能机器人回复 → [被动回复] 回复欢迎语

AI-generated

Summary

Send a passive welcome reply message via WeCom's intelligent robot, either as plain text or a richly formatted template card, to be used with a corresponding trigger node configured for passive reply mode.

Inputs

  • credentials (required) — Select the message receiving API credentials matching the WeCom intelligent robot trigger to authenticate this reply.
  • replyType (required) — Choose the type of welcome reply: 'text' for a text message or 'template_card' for a template card message.
  • content (required) — When replyType is 'text', provide the text content to send as the welcome message. Supports newline characters.
  • template_card_input_mode (required) — When replyType is 'template_card', choose whether to input the template card data via a form interface or directly by JSON.
  • template_card_json (required) — When replyType is 'template_card' and input mode is JSON, input the complete JSON object representing the template card message as per WeCom documentation.
  • card_type (required) — When replyType is 'template_card' and input mode is form, select the template card type such as button interaction, multiple interaction, vote interaction, news notice, or text notice.
  • Various template card configuration options — When replyType is 'template_card' and input mode is form, specify additional template card fields including source info, main title, emphasis content, quote area, secondary texts, buttons, selectors, card actions, images, vertical content lists, and action menus as available for the selected card_type.

Output shape

no body — success/failure only

The operation sends a passive welcome reply message responding to incoming messages from WeCom intelligent robot triggers and must complete within 5 seconds. Ensure the node is used as the last node in its branch, and the reply corresponds to the matching trigger credentials. No result data is returned on success.

Examples

Example 1: Sending a simple welcome text message

Set replyType to 'text' and enter the welcome text in the content field.

Example 2: Sending a rich welcome template card message

Set replyType to 'template_card', choose 'form' or 'json' input mode, and provide corresponding template card details or JSON structure for the welcome message.

Links

Discussion