Need to upload files to a specific folder for a collection on aws s3 using strapi

I am using strapi aws s3 plugin to upload files to a specific root folder on my s3 bucket. But i need it to be more configurable. Like for a particular collection it should create a new folder if it doesnt exitst and then upload media files to that folder.
How to do this?

This topic has been created from a Discord post (1234818136432316426) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord