Templates
Template Setup Guides

Google Drive (Service Acc.) Plugin

Link to plugin page: https://zeroqode.com/plugin/complete-google-drive-service-acc-1528978032696x958624210411847700

Setting up:

a) Iss (account email): [your-account-name]@[google-project-name].iam.gserviceaccount.com

b) Private Key:

-----BEGIN PRIVATE KEY----- HERE YOUR PRIVATE API KEY -----END PRIVATE KEY-----

2) Install the plugin “Google Drive (Service Acc.)” and fill out Iss an Private Key inputs with the information above.

3) Next you can use all the API Calls that plugin provides.

API Calls:

  1. Search/Get Files - returns files from Google Drive.

  2. Upload a File (base64) - upload a file to Google Drive.

  3. Upload a File - upload a binary file to Google Drive.

  4. Create a Folder - creates a folder to Google Drive.

  5. Give Everyone Permission Write - gives everyone permission change or create files to Google Drive.

  6. Give Everyone Permission Read - gives everyone permission to read files from Google Drive.

  7. Remove Everyone With Link Permission - removes users that have permission to Google Drive files and folders.

  8. Remove Permission Using ID - removes permissions to file using file id and permission id.

  9. Give a User Permission Write - gives to one user permission to write.

  10. Give a User Permission Read - gives to one user permission to read.

  11. Give a User Permission Commenter - give to one user permission to comment.

  12. Update User’s Permission Write - updates one user permission to write.

  13. Update User’s Permission Read - updates one user permission to read.

  14. Delete File - delete a file from Google Drive.

  15. Get File Info - get a file info using file id.

  16. Add File To Folder - adds a file to a folder using file id and folder id.

  17. Remove File From Folder - removes a file from a folder.

  18. Get Image From Drive - return a image from Google Drive using image id.

  19. Rename File - rename a file from Google Drive.

  20. Get Folder Childrens - return a list of files contained in current folder.

  21. Export File - return a file from Google Drive using file id and mimeType, MIME Types can be found here (https://developers.google.com/drive/api/v3/manage-downloads#downloading_google_documents)

  22. Download File (if file have downloadUrl) - returns file from Google Drive.

Things to Note:

For file name untitled issue , you'll need to create a workflow of a few steps, both of which are calls found in plugin:

  1. Upload File -> (Get File Id result from step 1) -> Rename File.

Demo to preview the settings