Actions14
- File/Folder Actions
- File Actions
- Folder Actions
- Share Actions
Folder → Rename Folder
AI-generatedOverview
This node operation renames a folder in Twake Drive. It allows users to specify the folder to rename either by browsing through a dropdown list or by manually entering the folder ID. The user provides the new name for the folder, and the node performs the renaming action. This is useful for organizing and managing folder structures programmatically within Twake Drive, such as updating folder names to reflect new project titles or correcting naming errors.
Use Case Examples
- Renaming a project folder from 'Old Project' to 'New Project' automatically as part of a workflow.
- Changing folder names based on user input or external triggers to keep the file system organized.
Properties
| Name | Meaning |
|---|---|
| File Select Mode | Determines how the source folder is selected, either by browsing a dropdown list or by manually entering the folder ID. |
| Target Folder (Source) Name or ID | The folder to rename, selected from a list or specified by ID when using dropdown mode. Leave empty to select the root folder. |
| Source Folder ID (Manual) | The folder ID to rename, specified manually when using 'By ID' mode. |
| New Folder Name | The new name to assign to the folder being renamed. |
Output
JSON
json- The JSON response containing details of the renamed folder.
Dependencies
- Requires OAuth2 API credentials for Twake Drive to authenticate and perform folder operations.
Troubleshooting
- Common issues include providing an invalid folder ID or insufficient permissions to rename the folder, which may result in error messages from the API.
- If the node throws an error about missing or invalid credentials, ensure the OAuth2 API credentials are correctly configured.
- Errors related to folder not found or access denied indicate the folder ID is incorrect or the authenticated user lacks permission to rename the folder.