0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions114

Storage → Temporary Storage

AI-generated

Overview

This node operation handles temporary storage of files by accepting binary file data in base64 format along with a filename. It is useful for workflows that require temporary file storage, such as processing or transferring files within a workflow without permanent storage. For example, uploading a temporary file to be processed by another node or service.

Use Case Examples

  1. Uploading a temporary text file for processing.
  2. Storing an image temporarily before resizing or converting it.

Properties

Name Meaning
Code Variables Allows adding multiple code variables defined in the code editor for the selected function, used to pass dynamic values to the operation.
Binary File Data The binary file data to be stored temporarily, provided in base64 format.
File Name The name of the file to be stored temporarily, including extension to preserve file type.
File Name (uploadName) The upload name of the file when adding a permanent file, required when operation is 'perm' with 'add' permission.

Output

JSON

  • fileName - The name of the stored file.
  • buffer - The binary data of the stored file in base64 format.

Dependencies

  • Requires an API key credential for authentication to the 0CodeKit API service.

Troubleshooting

  • Ensure the binary file data is correctly encoded in base64 format to avoid upload errors.
  • Verify the file name includes the correct extension to maintain file type.
  • If the operation fails, check that the API key credential is valid and has necessary permissions.

Discussion