Actions14
- File/Folder Actions
- File Actions
- Folder Actions
- Share Actions
File → Move File
AI-generatedOverview
This node operation moves a file from a source folder to a destination folder within Twake Drive. It supports selecting the file and folders either via dropdown browsing or by manually specifying their IDs. This operation is useful for organizing files by relocating them to different directories programmatically, such as moving reports to an archive folder or sorting uploaded files into project-specific folders.
Use Case Examples
- Move a file selected from a dropdown list in a source folder to a destination folder selected from a dropdown list.
- Move a file by specifying its ID manually from a source folder to a destination folder specified by its ID.
Properties
| Name | Meaning |
|---|---|
| File Select Mode | Determines how the file to move is selected, either by browsing a dropdown list or by manually entering the file ID. |
| Target Folder (Source) Name or ID | The source folder from which the file will be moved. Can be selected from a dropdown or left empty for root folder. Only shown if file select mode is dropdown. |
| File (in This Folder) Name or ID | The file to move, selected from a dropdown list of files in the source folder. Only shown if file select mode is dropdown. |
| File ID (Manual) | The ID of the file to move, manually specified. Only shown if file select mode is by ID. |
| Destination Select Mode | Determines how the destination folder is selected, either by browsing a dropdown list or by manually entering the folder ID. |
| Parent Folder (Destination) Name or ID | The destination folder where the file will be moved. Can be selected from a dropdown or left empty for root folder. Only shown if destination select mode is dropdown. |
| Destination Folder ID (Manual) | The ID of the destination folder, manually specified. Only shown if destination select mode is by ID. |
Output
JSON
fileId- The ID of the moved file.sourceFolderId- The ID of the source folder from which the file was moved.destinationFolderId- The ID of the destination folder to which the file was moved.status- The status or result of the move operation.
Dependencies
- Twake Drive API with OAuth2 authentication
Troubleshooting
- Ensure the file ID and folder IDs are correct and accessible with the provided credentials.
- If using dropdown selection, ensure the folders and files are properly loaded and available for selection.
- Common errors include permission denied or file not found, which can be resolved by verifying access rights and existence of the file/folder.