Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Storage → Permanent Storage for Simple Files
AI-generatedOverview
This node handles permanent storage operations for simple files within the 0CodeKit platform. It supports adding new files, retrieving stored files, deleting files, and listing all stored files. This is useful for workflows that require file management such as uploading documents, fetching stored files for processing, cleaning up storage by deleting files, or enumerating files for display or further actions.
Use Case Examples
- Uploading a base64-encoded file to permanent storage.
- Retrieving a stored file by its ID, optionally as a URL for direct access.
- Deleting a file from permanent storage using its file ID.
- Listing all files currently stored in the permanent storage system.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Allows setting code variables defined in the code editor for the selected function, useful for dynamic input values. |
| Choose a File Storage Operation | Selects the specific permanent storage operation to perform: add, get, delete, or list files. |
| Binary File Data | Base64-encoded binary data of the file to be added to permanent storage. Required when adding a new file. |
| File ID | Identifier of the file to retrieve or delete. Can be obtained from the list operation. |
| URL | Boolean flag indicating whether to retrieve the stored file as a URL (true) or raw data (false). Applicable when getting a file. |
Output
JSON
fileId- Unique identifier of the stored file.fileName- Name of the stored file.fileSize- Size of the stored file in bytes.fileUrl- URL to access the stored file if requested as a URL.operationResult- Result or status of the performed storage operation.
Dependencies
- Requires an API key credential for 0CodeKit platform to authenticate requests.
Troubleshooting
- Ensure the base64 file data is correctly encoded when adding a new file to avoid upload errors.
- Verify the file ID is correct and exists when retrieving or deleting files to prevent not found errors.
- When retrieving a file as a URL, ensure the URL flag is set to true; otherwise, raw data will be returned.
- Check API key credentials and permissions if operations fail due to authentication errors.