Google Drive

Google Drive Help & Support

What Google Drive Triggers and Actions Are Supported?

Supported Triggers#

  • New File in Folder - Triggers when a new file is added directly to a specific folder (but not its subfolders).
  • Updated File - Triggers when a file is updated in a specific folder (but not its subfolders).
  • New File - Triggers when any new file is added (inside of any folder).
  • New Folder - Triggers when a new folder is added directly to a specific folder (but not its subfolders).

Supported Actions#

  • Create File from Text - Create a new file from plain text.
  • Copy File - Create a copy of the specified file.
  • Change File Sharing Preference - Change the sharing preference of a file (provides a sharing URL).
  • Upload File - Copies an existing file from another service to Google Drive.
  • Move File - Move a file from one folder to another.
  • Create Folder - Create a new, empty folder.
  • Replace File - Upload a file to Drive, that replaces an existing file.

Supported Searches#

  • Find a File - Search for a specific file by name.
  • Find a Folder - Search for a specific folder by name.
Was this content helpful?

How to Get Started with Google Drive

About the Google Drive Integration#

  • Admin/owner permissions: The connected account must be the owner of the files and folder that the Zaps work with
  • Paid/versioned account: Google Contact is free to use, so you don't have to be on a specific paid/versioned account with them to access it.

Connect with Google Drive#

To get started with Google Drive, first click to add a Google Drive account in your zap.

Click to add a different account

Next, you'll name this Google Drive account. Note: This name is only for identifying the account inside Zapier, it will not automatically try to add a specific Google Drive account.

Name the Google Drive account inside Zapier

You should then get a pop-up window from Google Drive asking you to log-in to authorize the connection between that Google Drive account and Zapier. If you are already logged in the pop up will show right away.

Log in to authorize your Google Drive account

After logging in, you'll get sent back to your Zap where you now have your Google Drive account connected!

Your Google Drive account is authorized

Was this content helpful?

Common Problems with Google Drive

My Zap Doesn't Create a Text File and Doesn't Copy Over the Folder.#

Likely you aren't selecting a file field from the trigger service. On Set Up Template, you must make sure to select a file field for the file if you want anything other than a text file to be created. In the absence of a file, Zapier creates a text file with the contents of the file being the field you put under the Template. The correct way to do this is select a file field which are seen in grey as demonstrated below.

Drive File Object

Why Am I Getting a ZIP File in Google Drive#

If you are putting multiple files in an action for the file field, Zapier zips the files into one file. If you select the zipped file in Google Drive, all of the contents will be found there.

Zipped files help us handle larger file sizes since they can be compressed.

I Setup My Drive Zap, Why Didn't My Files Copy Over?#

Zapier triggers only on new items, not existing items. Your existing files won't be able to be exported using Zapier. For more information on this check out import/export.

Unable to get a value when looking for "file". Is it missing?#

If you see this error, you likely had a Zap trigger without a "real file". Google Drive differentiates between what is actually a file and what isn't.

Any Google Docs items will trigger, but aren't considered "real files" by Google Drive (docs, spreadsheets, presentations, etc). The below items aren't "real files" and will cause this error.

Not Real Google Drive Files

These are considered "real files" and will trigger your Zap correctly.

Real Google Drive Files

Not all my files are triggering my New File in Folder zap.#

The new file in folder trigger has some nuance:

  • If a file was created within the folder, it'll trigger the zap.
  • If a file was modified fewer than 4 days ago and moved to the folder, we will trigger
  • If a file was modified greater than 4 days ago and moved to the folder, we won't trigger

Also, you cannot trigger or act upon a folder shared with you, so files added to folders you don't own will not trigger the zap. The connected account must be the owner.

How do I get a download file URL from Google Drive?#

If you need a publicly-accessible download link for a Google Drive file to hardcode into an action step in your Zap—for instance, to use as an attachment on an email—you can pull the ID of their file like this...

...and then use it in this template:

https://drive.google.com/uc?export=download&id=FILE_ID

Note: This will only work for files that you UPLOAD to Google Drive. It will not work for documents, presentations, etc. created inside Google Drive. If you want to create a direct link to those, first download them to your computer then upload that file back on to Google Drive for this workaround to work.

Was this content helpful?

Need More Help? - Our support team is happy to help -- send us a message

Google Drive is Google's file sync app that lets you store all of your files online alongside your Google Docs documents, and keep them synced with all of your devices.

Learn More

Getting Started with Zapier

Need more help? Try the Zapier Help Center

Connect Google Drive to 1,500+ Apps

Connect the apps you use everyday and find your productivity super-powers.

By signing up, you agree to Zapier’s Terms of Service.