WeChat Enhanced icon

WeChat Enhanced

WeChat Enhanced Node - Suporte completo para Mini Programs, Official Accounts, WeChat Pay e WeChat Work

Overview

The node "WeChat Enhanced" integrates with various WeChat services, including Official Accounts, Mini Programs, WeChat Pay, and WeChat Work. Specifically, for the Official Account resource and the Send News Message operation, this node allows sending a news message composed of multiple articles to a user identified by their Open ID.

This operation is useful in scenarios where you want to deliver rich content updates, newsletters, or promotional materials directly to users via their WeChat Official Account subscription. For example, a business can send a curated set of news articles or product announcements as a single message to engage customers.

Properties

Name Meaning
Open ID The unique identifier of the target user within the Official Account platform.
Articles A collection of one or more articles to include in the news message. Each article includes:
- Title (required): The headline of the article.
- Description: A brief summary or description of the article.
- URL (required): The link to the full article or webpage.
- Pic URL: The URL of an image associated with the article.

Output

The output JSON contains the response from the WeChat API after attempting to send the news message. This typically includes status information about the message delivery, such as success confirmation or error details.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the WeChat Official Account API.
  • Needs valid credentials configured in n8n for accessing the WeChat API (e.g., API key or OAuth2 token).
  • Optionally uses an external validation service ("N8N Tools API") to verify subscription and API key validity before executing operations.

Troubleshooting

  • Invalid Credentials Error: If the node throws an error related to invalid subscription or API key, verify that the API credentials are correctly configured and have sufficient permissions.
  • Missing Required Fields: Ensure that the Open ID and required article fields (Title and URL) are provided; missing these will cause errors.
  • API Rate Limits: Sending many messages in a short time may hit WeChat API rate limits; consider adding delays or batching.
  • Malformed Article Data: The articles property must be an array of objects with correct field names; incorrect formatting can cause failures.
  • Network Issues: Connectivity problems with the WeChat API or the validation service can cause request failures.

Links and References


If you need further details on other operations or resources, feel free to ask!

Discussion