Google Drive Folder of Images and Auto Renaming with a AppScript

So, I have a connected table with a folder on Google Drive that is a set of images. When a user adds an image from a phone, the phone's naming convention breaks the view of the image.

Ex: 12:42:56 - This is what breaks the view in the app

Newly uploaded photo to DriveNewly uploaded photo to Drive

 

 

 

 

 

 

So, I built an Appscript that renames the file in my Google Drive folder, but the bot runs immediately before my record auto-syncs and the _ID passed from the table is different than what is expected.
_ID passed by the bot: 89be46ab
_ID after saved: 1xbMuiGVeEi8MpfTk8BC_uf-wpfJLPOC3

So my question is if there is a way to trigger the bot after the image has been saved to Drive?

0 11 753
11 REPLIES 11