Actions40
- AI Actions
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Generate Actions
- Operator Actions
- PDF Actions
- Storage Actions
Storage → Temporary Storage
AI-generatedOverview
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
errorfield 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
codeKitApicredential 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
codeKitApicredential 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
- n8n Documentation: Custom Nodes
- Base64 Encoding Reference
- (If available) CodeKit API Documentation (replace with actual link if known)