Wechat Official Account Node icon

Wechat Official Account Node

Wechat Official Account Node

Overview

This node integrates with the WeChat Official Account platform, specifically enabling users to create new draft articles within their official account. It is useful for automating content management workflows where drafts need to be programmatically created and managed before publishing. For example, a marketing team could use this node to batch upload multiple draft articles prepared in advance, or integrate it into a content approval pipeline.

Properties

Name Meaning
草稿文章对象内容(Articles) JSON array representing the draft article objects to be created. See WeChat Draft Add API for the expected structure.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON object contains the response data from the WeChat API after attempting to create the draft article(s). If an error occurs during processing an item, the output for that item will contain an error field describing the issue.

No binary data output is produced by this node.

Dependencies

Troubleshooting

  • Common issues:
    • Invalid or missing API credentials will cause authentication failures.
    • Incorrectly formatted draft article JSON may result in API errors.
    • Network connectivity problems can prevent communication with the WeChat API.
  • Error messages:
    • Errors returned from the WeChat API are captured and included in the output under the error field for each failed item.
    • If the node is not set to continue on failure, any error will stop execution and throw a detailed error message indicating the resource and operation involved.
  • Resolution tips:
    • Verify API credentials and permissions.
    • Validate the JSON structure of the draft articles against the official documentation.
    • Enable "Continue On Fail" option if you want the node to process all items even if some fail.

Links and References

Discussion