Here, we'll show you how to make it easy to find files created on certain dates by storing them in folders named with the create date. This could be useful, for example, if you want to keep track of when certain files were uploaded to a team folder.
- Initiate the workflow by choosing the trigger Automatically on a file activity.

- In Limited to Path, choose the folder path where the files are uploaded or created and in File Event, select If a file is created, and click Add.

- Drag and drop a Create Directory step onto the workflow.

- Set the Target Path to the parent path where you want the file to be copied, and then add "/", and then click +.
The Insert Variables box opens. - Click the Context tab, then hover over Current date and click Insert.

Current date is inserted after the parent path.

- Click Save to save your Target Path.
- Drag and drop a Copy File step onto the workflow after the Create Directory step.

- Into Source Path, enter
^_file.path^
to indicate the file path + the filename. - Set Target Path to the exact value that you used for Target Path in the Create Directory step (choose the parent target path and add "/", then click + and insert the Current date variable.

- Click Save to save your parameters.
- Give your workflow a name, and click Save Workflow.
Let's see how this works when we upload a file into the source path. In the following video, we add the file About FileCloud to our Marketing team folder. We can see that the workflow functioned correctly - it added a folder named with the date to the My Files/Review folder and copied the About FileCloud folder into it.