Google Drive periodical upload photo & delete olds

by Bertalan Márton Magyar

Version 1 (February 8, 2021)

Download (27 downloads)

You have to set "config" datas in block 130:
- Interval "delay": in second;
- Google drive email: "drivemail"
- Directory name
- Subdirectory name
- Filename prefix
- How many days Google Drive keeps the photos. "delete_day_before"

Note:
Google Drive account must be attached to android, and you have to connect this account to Automate in block 140: just select account and save. (after that you do not have to connect it in the other Gdrive blocks.)

Photos will not be saved to the device only to Google drive.

Photos will be in this path in Google Drive:
/Directory/Subdirectory/YYYY-mm-dd/{file_prefix}filename.jpg 

It is recommended to disable log.