Postiz icon

Postiz

Consume Postiz API

Overview

This node integrates with the Postiz API to perform various content management and video-related operations. Specifically, the "Video Function" operation allows users to execute custom video-related functions by specifying a function name, an identifier, and additional parameters. This is useful for advanced video processing tasks such as loading available voices or manipulating video templates dynamically.

Practical scenarios include:

  • Loading voice options for AI-generated videos.
  • Triggering specific video template functions identified by unique identifiers.
  • Passing custom parameters to tailor video processing workflows.

Properties

Name Meaning
Function Name The name of the video function to execute (e.g., loadVoices).
Identifier Identifier for the video function context or template (e.g., image-text-slides).
Additional Parameters Key-value pairs of extra parameters to pass to the video function for customized behavior.

Output

The node outputs JSON data representing the response from the Postiz API after executing the specified video function. The structure depends on the particular function called but generally includes relevant results or status information returned by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Postiz API via an API key credential configured in n8n.
  • Uses HTTP requests to communicate with the Postiz backend endpoints.
  • No other external dependencies are required.

Troubleshooting

  • Missing or invalid parameters: Ensure that the "Function Name" and "Identifier" fields are correctly filled; these are mandatory.
  • API errors: If the API returns an error, it will be included in the node's output. Common issues may relate to authentication failures or invalid parameter values.
  • Binary data errors: Not applicable for this operation since it does not handle binary inputs.
  • Network issues: Verify network connectivity and API endpoint accessibility.

Links and References

Discussion