I have two triggers for Google drive in Appscript -
homepageTrigger and onItemsSelectedTrigger .
We select some documents for upload and redirect the user to our webapp. Upon returning from webapp, both the above triggers are executed as there are selected files when the user is redirected back to addon.
Both these triggers require Card or an array of Cards to be returned Trigger Documentation.
I need a way to unselect the file selections so that onItemsSelectedTrigger isn't executed when the user is redirected back to the addon.