Change file name when uploading to Retool Storage

Trying to change the file name using "transform data" results in the file still being stored under the original file name. What is the recommended way to manipulate the file name before upload?

The "Transform Results" are only happening after the successful upload of the file.

You would need to manipulate the file data in the "File source" area, likely making use of the Function toggle to the right side of that input (or in a transformer/script action that is called before the upload to Retool Storage)