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
| Field | Required | What it does |
|---|---|---|
| File id | Yes | Google Drive ID of the folder |
| Variable | No | Name of the variable where the result will be stored |
See all Google Workspace steps.
Errors
| Error | Description |
|---|---|
| Folder not found | The specified folder ID does not exist |
| Not a folder | The 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