Move a (Record) Folder
In some cases, you may want to move a record folder after the initial folder structure has been set up. As an example you may have a folder Opportunities_OPEN where your Opportunity record folders initially reside. When opportunities are lost, you may want to move them to a different folder Opportunities_LOST.
This poses the following challenges:
24Files sets up the folder structure once, when the record page gets loaded for the first time.
You need an Apex action to move the record folder and all of its content.
You need a way to reset the folder structure after the move, such that the content of the record folder remains visible in the 24Files component.
The use case above can be built by means of a Record Triggered Flow as described in the video. You can use this as an inspiration to build a similar flow for your use case.
https://youtu.be/HxZwumSMfuoHere are the details of the flow:

Overview of the Flow.

Record triggered Flow

Move assignment

Final assignment

Move

Delete the related record in the 24Files Folder Structure Junction object.