Programmatically create new folder in Retool

Continuing the discussion from Upload Excel file to Retool storage or Sharepoint link:

Hey @jocen Thanks for the help!!
I could finally achieve what I wanted. So, I was trying to figure out a way to programmatically create new folder in Retool using some variable in my code and save the file in that folder. Is this doable ?

Hey @Jonas_Dylan,

I created a new topic for your question to help others in the future. You can create a new folder programmatically by clicking the fx button next to folder name. If you enter a name of a folder that does not exist yet, it will be created. In the example below, I created a new folder called my-new-folder.