Approach to zip and download multiple files from workshop

We have a zip files stored in a dataset, usecase is for user to be able to multiselect these from workshop and club them into a single zip and download them to their local machine.

For now we see the need to rely on a python function and using foundry APIs to pull these files, zip them and download. Is there a way to do it much better avoiding the use Foundry APIs or at least more safe way to use the Foundry token.

Thanks in advance!

If you would have an object per file with a link to file, you could use the “Media export” event in the button group widget. However that event wouldn’t combine the individual zip files into one big zip file.

Thanks @michaeld! sadly clubbing the zips is a key requirement for us, I hope there is a reasonable solution for this