Wechat Official Account Node icon

Wechat Official Account Node

Wechat Official Account Node

Overview

This node interacts with the Wechat Official Account platform to retrieve data related to user tags. Specifically, for the "用户标签" (User Tag) resource and the "获取标签下粉丝列表" (Get User List under Tag) operation, it fetches a list of followers associated with a particular tag ID. This is useful for segmenting followers based on tags and managing targeted communications or campaigns.

Practical examples include:

  • Retrieving all users tagged as "VIP customers" to send them exclusive offers.
  • Fetching followers under a specific interest tag to analyze engagement.
  • Paginating through large follower lists by specifying a starting OpenID.

Properties

Name Meaning
标签ID The numeric ID of the tag whose followers you want to retrieve. This is required.
起始OpenID The OpenID of the first follower to start fetching from. If left empty, fetching starts from the beginning. Useful for pagination.

Output

The node outputs a JSON array where each item represents a follower under the specified tag. Each JSON object typically contains follower details such as their OpenID and possibly other metadata returned by the Wechat API.

If the node supports binary data output, it would represent any media or file content associated with the followers, but in this context, the output is primarily JSON-based user data.

Dependencies

  • Requires an API authentication token credential configured in n8n to access the Wechat Official Account API.
  • Depends on the Wechat Official Account platform's API availability and permissions granted to the authenticated account.

Troubleshooting

  • Common issues:
    • Invalid or missing tag ID will cause the API call to fail.
    • Providing an incorrect or expired API authentication token will result in authorization errors.
    • Pagination errors if the 起始OpenID is invalid or does not exist.
  • Error messages:
    • "未实现方法: 用户标签.获取标签下粉丝列表" indicates that the requested resource-operation combination is not implemented; ensure the node version supports this operation.
    • Network or API errors will be logged with detailed messages; verify network connectivity and API credentials.
  • To resolve errors, confirm that the tag ID exists in your Wechat Official Account, check API credentials, and use valid OpenIDs for pagination.

Links and References

Discussion