Skip to content
ActionGoogle DriveUpdated May 2026

How do I fetch Google Drive file metadata?

Short answer: Drop the "Google DriveGet File" action anywhere in your workflow, map the inputs from upstream nodes, and publish.

Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
File ID
file_id
stringRequiredThe unique identifier of the file
Fields
fields
stringOptionalSpecific fields to return in the response
Sample request
{
"file_id": "e.g. 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms",
"fields": "e.g. id,name,mimeType,size,webViewLink,modifiedTime,parents"
}
Returns
{
"id": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms",
"name": "Q1 Sales Report.pdf",
"size": "245890",
"owners": [
{
"displayName": "John Doe",
"emailAddress": "john@example.com"
}
],
"parents": [
"folder123"
],
"mimeType": "application/pdf",
"createdTime": "2025-01-10T09:00:00.000Z",
"webViewLink": "https://drive.google.com/file/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms/view",
"modifiedTime": "2025-01-15T14:30:00.000Z",
"webContentLink": "https://drive.google.com/uc?id=1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms&export=download"
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Get File.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Get File.

What does the Get File action do in Google Drive?
Returns metadata for a specific Google Drive file or folder by ID: name, mimeType, parents, modifiedTime, size, and webViewLink. The standard read after a trigger fires with an ID.
What inputs does Get File require?
Required: File ID. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Google Drive returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Get File support batch operations?
Yes. Run Get File inside a Loop node to process arrays. Tiny Command handles Google Drive's rate limits automatically so you don't have to throttle manually.
More actions

Other Google Drive actions.

Send get file from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.