Skip to main content

Upload to Drive

Upload a local file to a Drive folder.

Command in the Google Workspace toolkit · id ooa.google/drive_upload · 7 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Local pathFileYesFile to upload.
Folder IDStringNoTarget folder id; My Drive root when empty. A path under My Drive starting with / also works, e.g. /Reports/2026.
NameStringNoName in Drive; the local name when empty.
OverwriteBooleanNofalseReplace the content of a file with the same name in the folder (keeping its id and links) instead of adding a second file.
DescriptionStringNoDescription stored with the file.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.

Outputs​

OutputTypeWhat it is
file_idStringNew file id.