Actions18
- Profiles Actions
- Posts Actions
- Media Actions
- Social Accounts Actions
- Connect Platform Actions
- Facebook Management Actions
- LinkedIn Management Actions
- Clone Connection Actions
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.
Typical use cases include:
- Preparing media assets ahead of time by uploading them to LATE for later use in post scheduling.
- 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.
For example, a user might upload a set of promotional images and videos to LATE via this node, then schedule posts referencing these media items on various social channels.
Properties
| Name | Meaning |
|---|---|
| Files | A JSON array of files to upload. Each file object should contain a filename and base64-encoded data. Supported formats: JPEG, PNG, WebP, GIF (images), MP4, MOV, AVI, WebM (videos). Files can be up to 5GB in size. For files larger than 4MB, a special client-upload method is recommended (see documentation). |
Example value for Files property:
[
{ "filename": "image.jpg", "data": "base64EncodedImageData" },
{ "filename": "video.mp4", "data": "base64EncodedVideoData" }
]
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 static code and properties, the output focuses on 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), users must follow the @vercel/blob client-upload method described in the LATE documentation, which may require additional setup outside of this node.
Troubleshooting
- File size limits: Uploads exceeding 5GB will fail. For files larger than 4MB, ensure you use the recommended client-upload method; otherwise, uploads may not succeed.
- Invalid file format: Only specific image and video formats are supported. Uploading unsupported formats will cause errors.
- Authentication errors: Ensure the API key credential is correctly configured and has sufficient permissions.
- Malformed JSON input: The
Filesproperty expects a valid JSON array with properly base64-encoded data. Invalid JSON or corrupted base64 strings will cause failures. - Network issues: Connectivity problems with the LATE API endpoint will prevent uploads.
Links and References
- LATE Platform Documentation – for detailed instructions on API usage and client-upload methods.
- Base64 Encoding Guide – for preparing file data.
- Supported Media Formats – details on accepted image and video types.