Blotato icon

Blotato

Use Blotato API

Actions2

Overview

The node integrates with the Blotato API to upload media files (images or videos). It supports uploading media either by providing a public URL or by using binary data from previous nodes in the workflow. This is useful when you want to programmatically add media content to your Blotato account or service, for example, to prepare media assets before creating social media posts or storing media in a centralized platform.

Typical use cases include:

  • Uploading an image or video from a publicly accessible URL.
  • Uploading media directly from binary data obtained earlier in the workflow (e.g., downloaded or generated files).
  • Automating media uploads as part of larger workflows involving social media management or content publishing.

Properties

Name Meaning
Use Binary Data Whether to upload media using binary data from a previous node instead of a URL.
Media URL The public URL of the image or video to upload (used if not using binary data).
Input Binary Field The name of the binary property containing the media file to upload (used if using binary data).

Output

The node outputs JSON data representing the response from the Blotato API after uploading the media. The exact structure depends on the API but generally includes details about the uploaded media such as its ID, URL, or status.

If binary data is used as input, the output remains JSON describing the result of the upload operation; the node does not output binary data itself.

Dependencies

  • Requires an API key credential for authenticating with the Blotato API.
  • The node expects the Blotato API server URL and authentication token to be configured in the credentials.
  • No other external dependencies are required.

Troubleshooting

  • Invalid URL: If "Use Binary Data" is false and the provided Media URL is invalid or inaccessible, the upload will fail. Ensure the URL is publicly reachable and correctly formatted.
  • Missing Binary Data: If "Use Binary Data" is true but the specified binary property does not exist or contains no data, the node will throw an error. Verify that the binary data exists in the input item under the given property name.
  • Unsupported Operation: Only the "upload" operation is supported for the "media" resource. Selecting any other operation will cause an error.
  • API Authentication Errors: If the API key or server URL is misconfigured, requests will fail. Check the credential setup.
  • Base64 Encoding Issues: When using binary data, the node encodes it as a base64 data URI. Corrupted or unsupported binary formats may cause upload failures.

Links and References

Discussion