企业微信(WeCom)-智能机器人消息接收触发器
AI-generatedSummary
Receive and process encrypted callback messages and events from a WeCom (企业微信) intelligent robot via a webhook, supporting selective message/event filtering and two response modes (immediate or delayed).
Inputs
- path (required) — Specify the unique webhook URL path, recommended to use the robot ID to ensure uniqueness.
- responseMode (required) — Choose between immediate response (actively replying 'success' to WeCom and replying later via response_url) or waiting for the workflow's last node to generate an encrypted reply (passive reply).
- events (required) — Select which types of messages and events to receive, including all, specific message types (text, image, voice, file, video, mixed, stream), or event types (enter_chat, template_card_event variants, feedback_event, etc.).
- returnRawData — Optionally include the original unparsed JSON string from the callback message in the output under rawJSON.
Output shape
a list containing a single JSON object representing the decrypted and parsed WeCom intelligent robot message or event matching the selected types
If 'returnRawData' is enabled, the output JSON includes an additional 'rawJSON' string with the original message. The output also contains metadata fields such as '_responseUrl', '_nonce', and '_aibotResponseMode'. If responseMode is 'onReceived', the webhook immediately responds with 'success' after receiving a valid message; if 'lastNode', it waits up to 5 seconds for the workflow to produce an encrypted reply which it returns as the HTTP response.
