Firstly, you must include JSZip
library your retool page. I used this https://unpkg.com/jszip@3.10.1/dist/jszip.min.js .
Secondly, I created 2 Amazon S3 resource:
- Get object (named as getObjectFromS3)
- List objects (names as listObjectsFromS3)
And I created a Javascript query like on downloadDirectoryAsZip.js
Lastly if you don't want to see a lot of success notifications you must turn off notifications on query Response
tab.
I hope this help.