Actions9
Create - File/Folders
AI-generatedSummary
Upload a file, create folder structures, or do both within a specified workspace and parent folder in BeDrive using intelligent path handling.
Inputs
- Upload File switch — Enable to upload a file; defaults to true.
- Create Folder switch — Enable to create folder structure; defaults to false.
- Workspace (required) — Select the workspace where the file or folders will be created.
- Parent Folder — Select the parent folder under which to create the file/folder structure; leave empty or select "/ (Root)" for root directory.
- Folder Name — Specify folder name or path to create nested folders; required if "Create Folder" is enabled.
- File Name — Specify the name to save the uploaded file as; required if "Upload File" is enabled.
- Binary Property — Name of the binary property containing the file to upload; applicable only when uploading a file.
Output shape
a single object combining input item data with API response data describing the created file and/or folder, including properties such as path, parent folder ID, workspace ID, and flags indicating which operations were performed
If both uploading a file and creating folders are enabled, the file path includes the folder path followed by the file name. Errors will stop execution unless 'Continue On Fail' is enabled, in which case error details are returned in the output.