ActionGoogle DriveUpdated September 2026

How do I search Google Drive by file name?

Short answer: You can search files in Google Drive by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Google Drive Search Files action to a workflow, map its 2 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Search Files in Google Drive — start free
Inputs

The fields this action accepts.

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

FieldTypeRequiredDescription
Search Query
query
stringOptionalSearch by file name
Limit
limit
numberOptionalMaximum results (max 50)
Sample request
{
"query": "{{trigger.query}}",
"limit": "{{trigger.limit}}"
}
Returns
{
"files": [
{
"id": "1abc",
"name": "My Document",
"mimeType": "application/vnd.google-apps.document",
"modifiedTime": "2026-04-19T10:00:00Z"
}
]
}

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

Triggered by

Apps that pair well as the trigger for Search Files.

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

FAQ

Questions about Search Files.

What does the Search Files action do in Google Drive?
Searches files and folders in Google Drive by name (uses a contains-match on the name field). For advanced queries, use List Files with a custom Drive q parameter.
What inputs does Search Files require?
Search Files has no required inputs. Sensible defaults are applied if you leave fields blank.
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 run history shows the failed step with its input and the error message Google Drive returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does Search Files support batch operations?
Run Search Files inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within Google Drive's rate limits.
More actions

Other Google Drive actions.

Search Files in Google Drive — start free