0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Storage → Temporary Storage

AI-generated

Overview

The Storage → Temporary Storage operation in this n8n node allows you to temporarily store binary file data (such as images, documents, or any other files) by uploading it in base64 format along with a specified filename. This is useful for workflows where you need to process, transfer, or temporarily hold files between steps—such as converting formats, extracting data, or passing files to other services.

Practical examples:

  • Uploading a user-submitted file for temporary processing before sending it to another service.
  • Storing an image or document received from an API for further manipulation within the workflow.
  • Temporarily holding a generated report or export before emailing or archiving it.

Properties

Name Meaning
Binary File Data The binary file data to be stored, provided in base64 format. Required.
File Name The name of the file to be stored. Include the extension to preserve the file type. Required.

Note: There is also an "Upload Name" property, but it is only relevant for the "Permanent Storage" operation and not used in "Temporary Storage".

Output

The output will be a JSON object containing information about the result of the temporary storage operation. While the exact structure depends on the external service's response, you can expect fields such as:

{
  "success": true,
  "fileId": "string",      // Unique identifier for the stored file
  "fileName": "Test.txt",  // Name of the stored file
  "url": "https://..."     // (Optional) URL to access the file if available
}
  • If the operation fails and "Continue On Fail" is enabled, the output will include an error field with the error message.

This node does not output binary data directly; it handles binary input and returns metadata as JSON.

Dependencies

  • External Service: Requires access to the CodeKit API endpoint for storage operations.
  • API Key: You must configure the codeKitApi credential in n8n for authentication.
  • n8n Configuration: No special environment variables are required beyond standard credential setup.

Troubleshooting

Common Issues:

  • Invalid Base64 Data: If the "Binary File Data" is not valid base64, the upload will fail.
  • Missing Required Fields: Both "Binary File Data" and "File Name" are required. Omitting either will cause an error.
  • Authentication Errors: If the codeKitApi credential is missing or incorrect, you'll receive an authentication error.

Error Messages:

  • "Missing required parameter": Ensure all required properties are filled.
  • "Invalid base64 string": Check that your file data is properly encoded.
  • "Authentication failed": Verify your API credentials in n8n.

Links and References

Discussion