Twake Drive icon

Twake Drive

Basic Twake Drive

Folder → Create Folder

AI-generated

Overview

This node operation creates a new folder in Twake Drive. It allows users to specify the destination folder either by selecting from a dropdown list or by manually entering the folder ID. This operation is useful for organizing files and directories programmatically within Twake Drive, such as creating project folders or categorizing documents automatically.

Use Case Examples

  1. Creating a new project folder inside a specific parent directory selected from a dropdown.
  2. Creating a folder by specifying the parent directory ID manually for automation workflows.

Properties

Name Meaning
Destination Select Mode Determines how the parent folder (destination) is selected, either by browsing a dropdown list or by manually entering the folder ID.
Parent Folder (Destination) Name or ID The parent folder where the new folder will be created. Can be selected from a list or left empty to create in the root directory. This option is shown when 'Destination Select Mode' is set to 'Dropdown (Browse)'.
Destination Folder ID (Manual) The ID of the parent folder where the new folder will be created, entered manually. This option is shown when 'Destination Select Mode' is set to 'By ID (Manual)'.
Directory Name The name of the new folder to be created.

Output

JSON

  • json
    • id - The unique identifier of the newly created folder.
    • name - The name of the newly created folder.
    • parentId - The ID of the parent folder where the new folder was created.
    • createdAt - Timestamp when the folder was created.

Dependencies

  • Requires OAuth2 API credentials for Twake Drive to authenticate and authorize folder creation.

Troubleshooting

  • Common issues include invalid or missing parent folder ID, which results in failure to create the folder.
  • Errors related to authentication or expired tokens may occur if OAuth2 credentials are not properly configured or refreshed.
  • If the folder name is empty or contains invalid characters, the creation may fail.

Discussion