Twake Drive icon

Twake Drive

Basic Twake Drive

Overview

This node integrates with the Twake Drive service to manage folders and files. Specifically, the "Rename Folder" operation allows users to rename an existing folder by specifying its ID and the new desired name. This is useful in scenarios where folder organization needs updating without moving or recreating folders.

Practical examples:

  • Renaming a project folder after a project name change.
  • Correcting typos in folder names.
  • Standardizing folder naming conventions across a team.

Properties

Name Meaning
Folder ID The unique identifier of the folder you want to rename.
New Folder Name The new name to assign to the folder.

Output

The node outputs JSON data representing the result of the rename operation. Typically, this includes metadata about the renamed folder such as its updated name, ID, and possibly timestamps or other attributes returned by the Twake Drive API.

If the node supports binary data output (not indicated here), it would represent file contents or related binary attachments, but for renaming folders, only JSON metadata output is expected.

Dependencies

  • Requires an API key credential for authenticating with the Twake Drive service.
  • Needs the Twake Drive instance URL and API token configured in the node credentials.
  • The node uses internal helper modules to perform folder operations via HTTP requests to the Twake Drive API.

Troubleshooting

  • Common issues:

    • Invalid or missing Folder ID: The node will fail if the specified folder ID does not exist or is incorrect.
    • Insufficient permissions: The API token must have rights to rename folders; otherwise, the operation will be denied.
    • Network or API errors: Connectivity issues or API downtime can cause failures.
  • Error messages:

    • Errors from the API are captured and included in the node's error response.
    • If the node is set not to continue on failure, it throws a detailed error including the item index and message.
  • Resolutions:

    • Verify the Folder ID is correct and exists in the Twake Drive instance.
    • Ensure the API token has appropriate permissions.
    • Check network connectivity and Twake Drive service status.
    • Enable "Continue On Fail" if partial processing is acceptable.

Links and References

Discussion