Overview
This node integrates with the Postiz API to manage social media posts and related content. Specifically, the "Delete Post" operation allows users to delete a post by its unique ID. This is useful for automating content management workflows where posts need to be removed programmatically, such as cleaning up outdated or incorrect posts.
Practical examples include:
- Automatically deleting scheduled posts that are no longer relevant.
- Removing posts based on external triggers or conditions in your workflow.
- Managing content lifecycle by programmatically deleting posts after a certain event.
Properties
| Name | Meaning |
|---|---|
| Post ID | The unique identifier of the post to delete. This is required to specify which post should be removed from Postiz. |
Output
The output of the "Delete Post" operation is a JSON object representing the response from the Postiz API after attempting to delete the specified post. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
The json output field contains this response data structured as an array of JSON objects, each corresponding to an input item processed.
No binary data is output by this operation.
Dependencies
- Requires an active connection to the Postiz API via an API key credential configured in n8n.
- The node uses HTTP requests to communicate with the Postiz API endpoints.
- No additional external dependencies beyond the Postiz API and standard n8n environment.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Post ID will result in an error from the API indicating the post could not be found.
- Network connectivity problems can cause request failures.
- Insufficient permissions or expired API credentials may lead to authorization errors.
Error messages:
- Errors returned by the API are captured and included in the node's output under an
errorproperty. - Typical error messages might include "Post not found", "Unauthorized", or network timeout errors.
- Errors returned by the API are captured and included in the node's output under an
Resolution tips:
- Verify the Post ID is correct and exists in your Postiz account.
- Ensure your API key credential is valid and has necessary permissions.
- Check network connectivity and retry if transient errors occur.
Links and References
- Postiz API Documentation (Assumed official API docs for reference)
- n8n documentation on creating custom nodes
