Postiz icon

Postiz

Consume Postiz API

Upload File

AI-generated

Overview

This node operation uploads a file to the Postiz platform. It is useful when you need to send binary file data from your workflow to Postiz, for example, uploading images, videos, or documents to be used in posts or other content on Postiz.

Use Case Examples

  1. Uploading an image file from a previous node's binary data to Postiz for use in a scheduled post.
  2. Uploading a video file to Postiz to generate AI-based video content.

Properties

Name Meaning
Binary Property The name of the binary property in the input data that contains the file data to be uploaded.

Output

JSON

  • id - The unique identifier of the uploaded file returned by Postiz.
  • url - The URL or path where the uploaded file is accessible.
  • otherResponseFields - Any additional fields returned by the Postiz API related to the uploaded file.

Dependencies

  • Postiz API key credential for authentication

Troubleshooting

  • Ensure the binary property name matches exactly the property containing the file data in the input item.
  • Verify that the binary data includes required properties: data, mimeType, and fileName.
  • Check that the file size and type are supported by Postiz API.
  • If the upload fails, inspect the error message for details such as authentication issues or invalid file format.

Links

Discussion