Actions9
Overview
This node integrates with the WeChat Official Account API to manage draft articles. Specifically, the 'Delete Draft' operation allows users to delete an existing draft article by providing its media ID. This is useful for content management workflows where outdated or unwanted drafts need to be removed from the WeChat account.
Use Case Examples
- Deleting a draft article by specifying its media ID to keep the draft list clean and up-to-date.
- Automating draft cleanup in a content publishing pipeline.
Properties
| Name | Meaning |
|---|---|
| Media ID | The media ID of the draft to be deleted. This is a required string input that identifies the specific draft article to delete. |
Output
JSON
json- The response from the WeChat API after attempting to delete the draft, typically indicating success or failure of the deletion operation.
Dependencies
- Requires an API key credential for WeChat Official Account API authentication.
Troubleshooting
- Ensure the provided Media ID is correct and corresponds to an existing draft; otherwise, the deletion will fail.
- If the node throws an error about invalid media ID format, verify the input is a valid string and properly formatted.
- API authentication errors may occur if the WeChat API credentials are missing or incorrect; verify credentials are set up correctly in n8n.