Upload data to S3.

Hello,
please, I want to use a query to transfer the images inserted on Retool to S3. How can I proceed and is it possible to transfer multiple data as images to S3?