External storage upload with size files preview ad confirmatio button enabled

Hey guys!

I need an action that calculates the size of the files selected by the user, and informs them before uploading, and that this upload is done directly to an external platform (Google cloud storage). The required flow would be as follows: 1) the user first selects the files, 2) checks the total size (and their storage value), 3) Confirms or declines the upload and 4) The upload is performed directly to the GCS, without going through Bubble DB.
All of the multi-file upload plugin options that I tested, when selecting files to upload, they are either immediately uploaded to the Bubble database, or they allow confirmation, but do not accept uploads to external platforms.
My project is stuck because of this. Please, could anyone help me with this?
Thanks!

You will need to write a function that perform these operations

Thank you, but I still hope there is a plugin, or a combination of two plugins that enable this flow.

It’s a very good thing if we have a plugin or two that can handle this kind of situation. Nonetheless if it’s applied to just few many people then we should be concerned about it.