Upload File
AI-generatedOverview
This node operation uploads a file from binary data to the Launix API. It is useful when you need to send files stored in binary form within n8n to the Launix platform, for example, uploading documents, images, or other file types as part of an automated workflow.
Use Case Examples
- Uploading a PDF document stored in a binary property named 'data' to the Launix file storage.
- Automating the upload of images captured or generated in a workflow to Launix for further processing or storage.
Properties
| Name | Meaning |
|---|---|
| Binary Property | Name of the binary property containing the file to upload. This tells the node which binary data field to use for the file content. |
Output
JSON
uploaded- Indicates if the file upload was successful (true/false).result- The response from the Launix API after uploading the file, containing details about the uploaded file or any errors.
Dependencies
- Requires Launix API credentials for authentication.
Troubleshooting
- Error 'Binary property 'data' is missing on input item': This means the specified binary property does not exist on the input item. Ensure the binary data is correctly attached and the property name matches.
- API errors returned from Launix may be included in the node output under 'result'. Check the API response for details.
- Ensure the Launix API base URL and credentials are correctly configured in the node settings to avoid authentication failures.