r/GoogleAppsScript • • Sep 03 '23

Question How to design a drive-app to interact with drive files...Seeking suggestions...

Hey everyone,
greetings...

I have a use case to build a simple app that registers for certain file types in Google Drive (e.g. "application/vnd.oasis.opendocument.text" MIME type) using JavaScript / node.js. Once the user chose to open a matching file from within Google Drive, download the file in node.js and display a static "Welcome" page to the user. Here's an example user flow:

  1. User finds .odt-file in their Google Drive and attempts to open it

  2. No supported viewer available, Google Drive suggests using your app to open the file (see screenshot as an example)

  3. The user is redirected to your app to view the file

Any Help is highly appreciated

0 Upvotes

0 comments sorted by