Upload to Google Drive

Anyone have any success setting up the API to upload files to google drive?

Anymore information about this please?

Same question, different time !

Hey Erwin, This should be possible with a REST API resource connected to your Google Drive API. With that setup, you should be able to upload a file to your Google Drive following the instructions here. If you're hitting any specific blockers in that process, please let us know and we can try to help :slightly_smiling_face:

1 Like

Hi Everett - actually attempting this as we speak. The blocker I am hitting before even getting to the documentation you linked is obtaining all the necessary credentials/information to input into the Retool Rest API resource. I have watched a number of videos and tried a number of things to no avail.

Hi @RCarlson3232 ,@erwan, @Martin_Cahill & @alex-westreich -

We made a tutorial on how to upload documents to Google Drive here - Using Google Drive in Retool: Configuring OAuth, Viewing & Creating New Files

In the tutorial we walk through how to configure Oauth for the Google Drive API, Create a GUI inside Retool displaying your Google drive files, and uploading documents to a specific folder in Retool.

Hope that the tutorial is helpful to you all!

Joey

1 Like

can you please update the tutorial? i hit a blocker


Hey @mordydd91

Would love to help here - what part are you getting stuck on specifically?

Thanks,

Joey

Hello @mordydd911 ,

It looks like the URL is not right,

you should be using something similar to this

GET https://www.googleapis.com/drive/v3/files

For more information, check this googles documentation

https://developers.google.com/drive/api/v3/reference/files/list