Zoho WorkDrive icon

Zoho WorkDrive

Interact with Zoho WorkDrive — files, folders, and sharing

File → Rename

AI-generated

Summary

Renames a file in Zoho WorkDrive and returns the updated file metadata.

Inputs

  • Region — Must match the region selected in your WorkDrive credential. Options: Australia (au), Canada (ca), Europe (eu), India (in), Japan (jp), US/Global (com). Defaults to com.
  • File ID (required) — The ID of the WorkDrive file to rename.
  • New Name (required) — The new name to assign to the file.

Output shape

JSON object representing the updated file, e.g. { id, attributes: { name, ... } } or the raw API response body if no data field is present. When Continue On Fail is enabled, failed items return { error: message }.

The output JSON is the updated file resource object from the WorkDrive API response (the data field). If the response contains no data field, the full response body is returned. Each input item is processed independently and is referenced via pairedItem.

Examples

Example 1: A workflow that renames a file after it is uploaded or moved, or renames a file based on data from a previous node.

Rename a file in Zoho WorkDrive by specifying the file ID and a new name.

Links

Discussion