Google Drive comes with beautiful tools to get notified about changes happening to a shared document. Sometimes you need also to be notified when somebody adds a document to a specific folder. This Google Apps Script allows you to specify which folders to monitor and to get notified about folder changes.
A new menu is added by the script as shown here:
Clicking on menu item “Configuration” the script will load the configuration interface:
You can select one by one the Drive folders you want to monitor and using the “Add ->” button you can add them the to the list of monitored folders. For now it’s only possible to monitor first level folders. The script also doesn’t play well with huge folders due to script operation timeout so use caution when selecting the folders. Using this interface you can also set the monitoring interval using the drop drown menu after “Run drive folder monitor each”.
The script will run at specified triggers interval, if modifications are detected, the script will automatically send the user a notification email message like the following:
Using the menu “Run folder monitor” you can run the script manually.
To use this script just make a copy of this spreadsheet file: Google Drive Folder Monitor and proceed to the “Configuration” menu item.