Postiz icon

Postiz

Consume Postiz API

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 remove a post from their Postiz account by providing the post's unique identifier.

Practical scenarios include:

  • Automating the removal of outdated or incorrect posts.
  • Managing social media content lifecycle programmatically.
  • Integrating post deletion into larger workflows that maintain content consistency.

Properties

Name Meaning
Post ID ID of the post to delete

Output

The output is a JSON object representing the response from the Postiz API after attempting to delete the specified post. Typically, this will confirm successful deletion or provide error details if the operation failed.

If an error occurs during execution, the output JSON will contain an error field describing the issue.

Dependencies

  • Requires an API key credential for authenticating with the Postiz API.
  • Uses the Postiz REST API endpoints.
  • No additional external services beyond Postiz are required.
  • The node expects proper configuration of the API authentication within n8n credentials.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Post ID will result in an error from the API.
    • Network connectivity problems can cause request failures.
    • Missing or incorrect API credentials will prevent successful authentication.
  • Error messages:

    • Errors returned from the API typically appear in the output under the error field.
    • Common errors include "Post not found" or "Unauthorized".
  • Resolutions:

    • Verify the Post ID is correct and exists in your Postiz account.
    • Ensure the API key credential is valid and has necessary permissions.
    • Check network connectivity and retry the operation.

Links and References

Discussion