MARKETPLACE
PLUGINS
GOOGLE DRIVE - API FILE MANAGER
Google Drive - API File Manager logo

Google Drive - API File Manager

Published October 2021
   •    Updated this week

Plugin details

THE COMPLETE GOOGLE DRIVE INTEGRATION
Unlock the full potential of your Google Drive with our comprehensive Google Drive API Plugin for Bubble.io! This plugin enables seamless integration with all Google Drive APIs, allowing you and your users to effortlessly manage files and folders.

Key Features:
  • Create a File: Generate new files directly in your Google Drive.
  • List Files: Retrieve a list of all files stored in your Drive.
  • List Files from Specific Folder: Access files from designated folders with ease.
  • Download Drive File: Download files from your Google Drive to your local system.
  • Custom OAuth Login: Implement a secure and customizable OAuth login process.
  • Get Access Token: Obtain an access token for API interactions.
  • Refresh Access Token: Ensure continuous access by refreshing tokens as needed.
  • Get Single File: Retrieve detailed information about a specific file.
  • Copy File: Duplicate files within your Drive.
  • Change File Name: Rename files to keep your Drive organized.
  • Delete File: Remove unwanted files from your Drive.
  • Create Folder: Organize your files by creating new folders.
  • Move File to Folder: Easily move files between folders.
  • Export Google Document: Export Google Docs to various formats.
  • Create File Permissions: Manage and assign permissions for your files.
  • Get User's Drive Information: Access detailed information about the user's Drive.

Important Requirements:
To use this plugin, you will need a Client ID and Client Secret key, which can be obtained from the Google Cloud Console.

Please note: This plugin does not work with the regular Bubble-OAuth implementation login. It is based on the access_token system and will keep users logged in indefinitely unless they revoke access. You will need to handle this on the backend (follow instructions).

For a live demo, please visit: https://segongora-testing.bubbleapps.io/version-test/google_drive

Editor: https://bubble.io/page?id=segongora-testing&version=test&name=google_drive&tab=Design

Enhance your Bubble.io application with the Google Drive API Plugin. Empower your users with full access to Google Drive, enabling efficient file management and seamless integration within your no-code platform.

$45

One time  •  Or  $15/mo

4.8 stars   •   4 ratings
123 installs  
This plugin does not collect or track your personal data.

Platform

Web & Native mobile

Contributor details

Datamatic Software logo
Datamatic Software
Joined 2022   •   36 Plugins
View contributor profile

Instructions

This are step-by-step instructions on how to get the plugin working on any Bubble App.
Note: User's database **needs** to have a access_token, refresh_token, and token_expire_date fields (can be named differently but keep them in mind when doing actions). 

  1. Add this plugin to your application.
  2. Go to https://console.cloud.google.com/ (create an account if you don't have one).
  3. Navigate to APIs & Services then click in the Credentials section in the left menu.
  4. Click create credential, Oauth Client ID
    1. Application Type: Web
    2. Authorized JavaScript origins: https://bubble.io
    3. Authorized redirect URIs: The Redirect URL your app has. Most likely will be the same where login action occurs.
    4. Save the new Client ID
  5. Copy Client ID & Client Secret.
  6. In the Bubble plugin page, place your Client ID & Client Secret (remember to check the checkbox of generic redirect URL).
  7. Add the 'Google Drive' Element into your Editor (you can set the redirect uri dynamically to 'This url').
  8. Use button to create a Google Sign In Button and on click add the action 'Oauth Log In' from the Google Drive element.
  9. Create a Workflow Event callled 'Google Drive has a valid response'.
  10. Create action 'Create account for someone else' using Google Drive's exposed states to fill up your User fields. (check the box 'Return the user if the account already exists').
  11. Add action 'Assing temp password to user' with the user from Step 1 in the Workflow.
  12. Add action 'Log the user in' with steps 1 and 2 from the Workflow.
  13. Finally add another Event 'When User is logged in' and set the condition when 'Current User's token_expire_date < Current date/time'. 
  14. Add the action 'Refresh Access Token' and set the Current User's refresh_token value. 
  15. Lastly add the action 'Make changes to current user' and update Current user's access_token and token_expire_date with the result from previous step.

Types

This plugin can be found under the following types:
Api   •   Action   •   Background Services   •   Element   •   Event

Categories

This plugin can be found under the following categories:
Technical   •   Productivity   •   Data (things)   •   Media   •   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (4.8)

It works as expected.
September 4th, 2024
I used the demo editor to learn how the actions from the plugin work. It works fantastic I can upload files to Google Drive, list them, list folders and get everything from those files into my bubble app. Works great.
Great plug and great support
March 4th, 2023
This is the best google drive plugin I have found. It is a very versatile plugin that can be used in many situations. And the support is great - there was one thing I couldn't figure out, so I emailed the developer and had an answer the same day. 5 stars from me.
Plugin works as described
March 1st, 2023
As described plugin works very well and fast
Excellent Job. One question.
April 18th, 2022
When adding "access token", "refresh token" & "token expires date" to the user's datafields. Which field type should I select respectively for each field?
Bubble