Google Workspace: Get the total size of a folder

Get the total size of a folder.

Help Centre › Functions & Formulas

Get the total size of a folder.

Add it to a process

In the process designer, open the Add step tab. Find Get the total size of a folder under Google Workspace › Drive, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File idYesGoogle Drive ID of the folder
VariableNoName of the variable where the result will be stored

See all Google Workspace steps.

Errors

ErrorDescription
Folder not foundThe specified folder ID does not exist
Not a folderThe specified ID is not a folder

Tips

  • Access individual values with {variable::total_size} and {variable::file_count}
  • Large folders may take longer to process

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.