Tool

Upload file

Google Drive Upload File is a powerful AI-powered tool that allows seamless uploading of files directly to your Google Drive or Shared Drives. It simplifies file management by supporting a variety of upload types and customizable metadata options.

google_drive

Features

  • Supports uploading files to both My Drive and Shared Drives for flexible file storage.
  • Allows specifying target folders by parent ID to organize files efficiently.
  • Supports multiple upload types including media, resumable, and multipart to handle different file sizes and network conditions.
  • Automatically detects MIME types or accepts custom MIME type input for precise file classification.
  • Enables adding custom metadata to files for better file description and management within Google Drive.

Benefits

  • Enhances productivity by automating file uploads to Google Drive from any application.
  • Reduces manual upload steps, saving time and minimizing errors in file management.
  • Improves organization by allowing targeted uploads into specific folders or shared drives.
  • Increases compatibility by supporting diverse file types and upload methods.
  • Provides better file tracking and searchability with customizable metadata options.

Description

Upload a file to Google Drive. See the documentation for more information

Parameters

8 parameters

NameTypeDescription
drivestring

Defaults to My Drive. To select a Shared Drive instead, select it from this list.

parentIdstring

The folder you want to upload the file to. If not specified, the file will be placed directly in the drive's top-level folder.

filePathrequiredstring

Provide either a file URL or a path to a file in the /tmp directory (for example, /tmp/myFile.pdf).

namestring

The name of the new file (e.g. /myFile.csv). By default, the name is the same as the source file's.

mimeTypestring

The file's MIME type (e.g., image/jpeg). Google Drive will attempt to automatically detect an appropriate value from uploaded content if no value is provided.

uploadTypeenum

The type of upload request to the /upload URI. Required if you are uploading data, but not if are creating a metadata-only file. See the documentation for more information.

fileIdstring

ID of the file to replace. Leave it empty to upload a new file.

metadataobject

Additional metadata to supply in the upload. See the documentation for information on available fields. Values will be parsed as JSON where applicable. Example: { "description": "my file description" }

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy