Actions43
- 用户标签 Actions
- 用户 Actions
- 模板 Actions
- 发布 Actions
- 其他 Actions
- 菜单 Actions
- 素材 Actions
- 草稿 Actions
- 评论 Actions
Overview
This node interacts with the Wechat Official Account platform, specifically supporting operations related to publishing content. The "发布状态轮询" (Publish Status Polling) operation allows users to check the status of a publishing task by its ID. This is useful in scenarios where you need to monitor whether a piece of content has been successfully published or if it is still pending or failed.
Practical examples include:
- Automatically checking the status of scheduled posts to Wechat Official Accounts.
- Integrating with workflows that require confirmation of content publication before proceeding.
- Monitoring and logging publishing statuses for audit or reporting purposes.
Properties
| Name | Meaning |
|---|---|
| 发布任务ID | The unique identifier of the publish task whose status you want to poll. This is a required string input. |
Output
The node outputs JSON data representing the status of the specified publish task. Each output item corresponds to one input item and contains the details returned from the Wechat Official Account API about the publishing status.
If the node encounters an error during execution for any item, it outputs an error object with an error field describing the issue.
No binary data output is indicated in the source code.
Dependencies
- Requires an API key credential for authenticating with the Wechat Official Account platform.
- Depends on internal helper modules for resource and operation management.
- The node expects the environment to have access to the Wechat Official Account API endpoints.
Troubleshooting
Common issues:
- Invalid or expired publish task ID may cause errors or empty results.
- Network connectivity problems can lead to request failures.
- Missing or incorrect API credentials will prevent successful API calls.
Error messages:
- Errors thrown during the call to the publish status polling function are caught and either cause the node to fail or, if "Continue On Fail" is enabled, return an error object per item.
- Typical error messages include API response errors or internal exceptions; these should be resolved by verifying the publish task ID and API credentials.
Links and References
- Wechat Official Account API Documentation (general reference for API usage)
- n8n documentation on Creating Custom Nodes