WeChatPadPro icon

WeChatPadPro

调用 WeChatPadPro 功能

Message → 群发文本消息

AI-generated

Overview

This node integrates with the WeChatPadPro API to send messages via WeChat. Specifically, the "群发文本消息" (Group Mass Text Message) operation allows sending a single text message to multiple recipients at once, which can be individual users or group chats identified by their usernames or IDs.

Common scenarios for this node include:

  • Broadcasting announcements or notifications to multiple contacts or groups simultaneously.
  • Sending marketing or informational messages to a list of WeChat users or chat groups.
  • Automating mass communication workflows within an organization or community using WeChat.

Example: Sending a promotional text to a list of customers' WeChat IDs or group chat IDs in one request.

Properties

Name Meaning
消息内容 (textContent) The text content of the message to be sent.
接收方用户名列表 (toUserNameList) A comma-separated list of recipient usernames or group chat IDs (WeChat IDs or group chat IDs) who will receive the message.

Output

The output is a JSON array where each element corresponds to the response from the WeChatPadPro API for the group mass text message request. The JSON structure typically contains status codes and messages indicating success or failure of the message sending operation.

No binary data is output by this operation.

Dependencies

  • Requires an API key credential for authenticating with the WeChatPadPro API.
  • The node makes HTTP requests to the configured base URL of the WeChatPadPro service.
  • Proper configuration of the API key and base URL in the node credentials is necessary.

Troubleshooting

  • Empty Recipient List: If the recipient username list is empty, the node throws an error stating that the recipient list cannot be empty. Ensure the toUserNameList property contains valid, comma-separated WeChat user or group IDs.
  • Credential Issues: If no credentials are provided or the API key is invalid, the node will fail with an authorization error. Verify that the API key credential is correctly set up and has proper permissions.
  • API Errors: The node returns error messages from the WeChatPadPro API if the request fails. Check the returned message for details and ensure the API endpoint and parameters are correct.
  • Network Issues: Connectivity problems to the WeChatPadPro API base URL will cause request failures. Confirm network access and correct base URL configuration.

Links and References

Discussion