Google Workspace: Get file metadata

Get file metadata.

Help Centre › Functions & Formulas

Get file metadata.

Add it to a process

In the process designer, open the Add step tab. Find Get file metadata 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 file
VariableNoName of the variable where the result will be stored

See all Google Workspace steps.

Errors

ErrorDescription
File not foundThe specified file ID does not exist

Tips

  • Access individual metadata fields using dictionary notation, e.g. {variable::name}
  • The size field is in bytes for non-Workspace files; Workspace files have no size

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.