Google Drive · Arazzo Workflow
Google Drive Upsert a File by Name
Version 1.0.0
Find a file by name within a folder and update it if it exists, otherwise create it.
View Spec
View on GitHub
Cloud StorageCollaborationDocument-ManagementDrivesFileGoogleStorageArazzoWorkflows
Provider
Workflows
upsert-file-by-name
Upsert a single file into a Google Drive folder by its name.
Looks for an existing non-trashed file with the given name inside the target folder, and either updates the matched file or creates a new one, returning the resulting file id either way.
1
findFile
Search the target folder for a non-trashed file whose name matches the supplied file name, returning at most one match.
2
updateExisting
Patch the matched file's metadata with the supplied name and MIME type. Only the fields provided are changed; the file's content, parents, and sharing are left intact.
3
createNew
Create a new file in the target folder when no existing file matched the supplied name.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.