Devana icon

Devana

Interact with Devana AI API

Actions9

File → Upload

AI-generated

Summary

Upload a file from binary data in the workflow to the Devana AI API, optionally specifying a folder to store the file in.

Inputs

  • Input Binary Field (required) — Name of the binary property from the previous node output containing the file data to upload (e.g., "data").
  • Additional Fields — Optional parameters to customize the upload; currently supports specifying the Folder ID where the file should be uploaded.

Output shape

A single JSON object per input item representing the uploaded file's metadata as returned by the Devana API.

The operation requires binary data present in the specified binary property from the previous node; it uploads the file using multipart/form-data with authorization. If the specified binary property is missing or no binary data is present, the node throws an error. The folder ID is optional and if provided, assigns the file to that folder.

Examples

Example 1: Upload a PDF file

Binary 'data' property set to PDF file from previous node, 'Folder ID' left empty or set to a specific folder ID to organize files.

Discussion