Blotato Media Upload icon

Blotato Media Upload

Upload media to Blotato for social media publishing

Overview

This node uploads media files (images or videos) to the Blotato platform, which is used for social media publishing. It supports two upload methods: uploading directly from a public URL or uploading from binary data available in the workflow. This node is useful when automating content publishing workflows where media assets need to be uploaded and managed on Blotato before posting.

Practical examples:

  • Uploading an image from a URL to prepare it for scheduling on social media.
  • Uploading a video file that was generated or processed earlier in the workflow as binary data.
  • Automating bulk media uploads by looping over multiple items with different media sources.

Properties

Name Meaning
Upload Method Method to upload the media. Options: "URL" (upload from a media URL), "Binary Data" (upload from binary data in the workflow).
Media URL The URL of the media to upload (image or video). Required if "Upload Method" is set to "URL".
Binary Property The name of the binary property containing the file to upload. Required if "Upload Method" is set to "Binary Data". Default is "data".
Output Field The field name in the output JSON where the uploaded media URL will be stored. Default is "mediaUrl".

Output

The node outputs an array with one item per input item. Each output item contains a JSON object with:

  • A field named as specified by the Output Field property (default mediaUrl), containing the URL of the uploaded media returned by Blotato.
  • An additional field mediaUploadResponse containing the full response object from the Blotato API for the upload request.

If the upload fails and the node is configured to continue on failure, the output JSON will contain an error field with the error message.

The node does not output binary data; it only returns URLs referencing the uploaded media.

Dependencies

  • Requires an active connection to the Blotato API via an API key credential configured in n8n.
  • Uses the helper function blotatoApiRequest to make authenticated HTTP POST requests to the /media endpoint of the Blotato API.
  • If uploading binary data, the node uses n8n's binary data helpers to read and encode the file content.

Troubleshooting

  • Error: No binary data found in property "X"
    Occurs if the selected binary property does not exist or is empty on the input item.
    Resolution: Verify the binary property name matches the actual binary data property in the input item.

  • API request failures
    Could be due to invalid API credentials, network issues, or invalid media URLs.
    Resolution: Check API key validity, ensure the media URL is accessible, and verify network connectivity.

  • Incorrect output field name
    If the output field name conflicts with existing fields or is misspelled, the uploaded media URL might not appear as expected.
    Resolution: Use a unique and valid field name for the output field.

Links and References

Discussion