What is Google Drive?
Google Drive is cloud storage that lets you back up your photos, videos, and files. You can scan documents, work offline, collaborate with your team, and synchronize and share your files.
Important note
![](https://static.zohocdn.com/zoho-desk-editor/static/images/exclamation.png)
Zoho Flow no longer supports Google Drive connections created using personal Google accounts. The previous version of Google Drive has been deprecated, and the new version, Google Drive for Workspace, has now been rolled out.
As per the latest policy update by Google, Google Drive can be used in Zoho Flow only by Google Workspace customers. Even as a paid Google Workspace user, you need to complete a verification process for apps that connect to Google apps to access data using OAuth. Additionally, you need to be logged in to the Google Admin console as a super administrator to perform these steps.
How to allowlist Zoho Flow in your Google Wokspace account
To complete the verification process, you need to allowlist Zoho Flow as a trusted app in Google Workspace. Here's how:
- Click here to log in to the Google Admin console as an administrator.
- Navigate to Security > API controls.
![](https://help.zoho.com/galleryDocuments/edbsn15c5dfc4d80a53f5e61610c6ebfe43fc58924e8c467f04d51df0b79a8e13f55dac6f6a66587c53e6bdcfbc938f7eb09c?inline=true)
- Under the App access control section, click Manage third-party app access.
![](https://help.zoho.com/galleryDocuments/edbsn374c84d59405771a86b4822b9146afdb465ec73673f52602bd4d4f9b72ae08fc3c1d752b84d780c25833bb7b96130ed9?inline=true)
- Click on Add app under the Apps tab. Select OAuth App Name or Client ID from the list.
- Search for your OAuth app. Copy the following OAuth2 Client ID for Zoho Flow without quotes and paste it in the field provided. Click Search.
"561258302803-q2edf0kfc7obafbqoh78feju9rmikqj4.apps.googleusercontent.com"
- The search will return Zoho Flow for G Suite as the result. Click on it, then click Select.
- Select the checkbox with the OAuth Client ID, then click Select.
![](https://help.zoho.com/galleryDocuments/edbsna79efae3d1883e86bf7d93a6f594006dbdef4e972df76f4e0129cec9e1d722d6a51397150a99873df1d811d01dbc8e0d?inline=true)
- You will be asked to provide the access type for Zoho Flow. Select Trusted: App can request access to all Google data, then click Continue.
![](https://help.zoho.com/galleryDocuments/edbsne2b019d1ff83a3161f712fcca17daedc855429a78f53a2790c1817b25059ef4d772cd93eb0692bd190cba3e4d6353da4?inline=true)
This grants read, compose, and send permissions to Zoho Flow for the triggers and actions that you use. Once the allow-listing (verification) is complete, you can start connecting Google Drive to hundreds of other cloud apps easily.
What to do if I'm using the deprecated version of Google Drive?
If you have a Google Workspace account, you can continue using Google Drive triggers and actions in your flows. Here's how:
- Switch off all your flows involving Google Drive.
- Replace all existing Google Drive triggers and actions in your flows with the corresponding triggers and actions from the new Google Drive for Workspace app.
- You'll need to verify your account and create a new connection with your Google Workspace account to complete this step.
- Ensure that you check all other actions in your flows involving Google Drive to ensure you've mapped the variables correctly.
- Switch the flows back on.
If you replace an existing Google Drive action with the same Google Drive for Workspace action and configure the same variable name, you won't have to change the mapping for any of the fields in the subsequent actions.
How to connect your Gmail account to Zoho Flow
- Select a trigger or action. If you select a trigger, click Next.
- If there are no existing Google Drive for Workspace connections in your account, click Connect. Otherwise, click New connection.
Alternatively, you can create a new connection by navigating to Settings, then Connections. Click Create connection and choose Google Drive for Workspace. - Enter a connection name and click Authorize.
- Enter the credentials of your Google Drive account in the pop-up and click Next.
API documentation
If you experience any Gmail-related errors in your flows or if you wish to learn more about the Gmail API, the API documentation can be found
here.
Triggers and actions available in Zoho Flow
Triggers
Folder uploaded
Use this trigger to initiate an action when a new folder is uploaded to your drive. Optionally, you can set this trigger to run when a folder is uploaded to a specific folder but not its subfolders.
File modified
Triggers when a file is modified. Optionally, you can set this trigger to run in a specific folder but not its subfolders.
File uploaded
Triggers when a new file is uploaded to your drive. Optionally, you can set this trigger to run in a specific folder but not its subfolders.
Actions
Create team drive
Use this action to create a new team drive when a new project is created or a new organizational role is added.
Create file or folder shortcut
Use this action to create a shortcut to a specified file or folder.
Copy file
Create a copy of a specified file in the same folder or a new location.
Create folder
Create a new folder or subfolder using this action.
Share file with user
Use this action to share a file or folder with a specified email address when a request is received.
Create sharing preference
Assign a new sharing preference to a Google Drive file using this action.
Rename file or folder
Use this action to rename a specified file or folder based on events like project completion or change in client requirements.
Move file or folder
Move a file or folder from one folder to another using the new folder path.
Fetch folder
Use this action to fetch the details of a folder with a search query. Optionally, you can set this action to run in a specific folder but not its subfolders.
Fetch file
Use this action to fetch the details of a file with a search query. Optionally, you can set this action to run in a specific folder but not its subfolders.