LATE icon

LATE

Schedule and manage social media posts across multiple platforms with LATE - the professional social media management platform supporting Twitter/X, Instagram, Facebook, LinkedIn, TikTok, YouTube, and Threads

Actions18

Overview

This node integrates with the LATE social media management platform, enabling users to upload media files for use in social media posts. The "Media Upload" operation specifically allows uploading images and videos directly to the platform, which can then be attached to scheduled or immediate posts across multiple supported social networks such as Twitter/X, Instagram, Facebook, LinkedIn, TikTok, YouTube, and Threads.

Common scenarios include:

  • Preparing media assets ahead of time by uploading them to LATE for later use in scheduled posts.
  • Automating bulk uploads of images or videos as part of a content pipeline.
  • Supporting large file uploads (up to 5GB) for high-quality video content.

Practical example:

  • A marketing team automates uploading a batch of promotional images and videos to LATE via this node, then schedules posts referencing these media items on various social channels.

Properties

Name Meaning
Files An array of files to upload. Each file should include a filename and base64-encoded data. Supported formats are JPEG, PNG, WebP, GIF for images, and MP4, MOV, AVI, WebM for videos. Files can be up to 5GB in size. For files larger than 4MB, a special client-upload method using @vercel/blob is recommended (see documentation).

Example value for Files property:

[
  { "filename": "image.jpg", "data": "base64data" },
  { "filename": "video.mp4", "data": "base64data" }
]

Output

The node outputs JSON data representing the result of the upload operation. This typically includes metadata about the uploaded media such as IDs, URLs, filenames, sizes, and possibly status information confirming successful upload.

If binary data output is supported, it would represent the uploaded media files or references to them, but based on the provided code and properties, the primary output is JSON metadata describing the uploaded media.

Dependencies

  • Requires an API key credential for authenticating with the LATE platform's API.
  • The node communicates with the LATE API endpoint at https://getlate.dev/api/v1.
  • For large file uploads (>4MB), usage of the @vercel/blob client-upload method is recommended, which may require additional setup or dependencies outside this node.

Troubleshooting

  • Large file upload failures: Files over 4MB must use the special client-upload method; otherwise, uploads may fail or timeout.
  • Unsupported file format errors: Ensure files are one of the supported image or video formats.
  • Authentication errors: Verify that the API key credential is correctly configured and has necessary permissions.
  • Base64 encoding issues: Uploaded files must be correctly base64 encoded; malformed data will cause errors.
  • Network errors: Check connectivity to https://getlate.dev/api/v1 and ensure no firewall or proxy blocks the requests.

Links and References

Discussion