Overview
This node integrates with the Postiz API to manage social media posts and related content. It supports operations such as creating posts, deleting posts by ID, retrieving posts or integrations, and uploading files. The "Delete Post" operation specifically allows users to delete a post by providing its unique post ID.
Practical scenarios include:
- Automating the removal of outdated or incorrect posts from your social media channels.
- Managing scheduled content by programmatically deleting posts that no longer need to be published.
- Integrating with workflows that require dynamic content management on Postiz.
Properties
| Name | Meaning |
|---|---|
| Post ID | ID of the post to delete |
Output
The output is a JSON array representing the response from the Postiz API after attempting to delete the specified post. Typically, this will contain confirmation of deletion or an error message if the operation failed.
If an error occurs during execution, the output JSON will include an error field describing the issue.
Dependencies
- Requires an API key credential for authenticating with the Postiz API.
- Uses the Postiz REST API endpoints to perform operations.
- The node depends on the
form-datapackage internally for file uploads (not relevant for delete operation). - No additional environment variables are required beyond the API authentication setup in n8n.
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 or authentication errors may occur if the API key is missing, expired, or incorrect.
Error messages:
"error": "Post not found"— Verify the Post ID is correct and exists.- Authentication errors — Ensure the API key credential is properly configured and has necessary permissions.
- Network timeouts or connection errors — Check network connectivity and API availability.
Links and References
- Postiz API Documentation (Assumed URL; replace with actual if known)
- n8n documentation on Creating Custom Nodes
