Is there a way to have my Flow create a folder in Box using a variable?
For example, I want to be able to create a folder based on the current date/time:
Thanks in advance.
To create a folder based on current date/time in Box, you could try to configure the Folder Path field likes /Folder/Subfolder.
Please take the following flow configuration for a reference. In the Folder path of the Create file action, I select the dynamic content Date from the previous action, then when the flow is triggered, a subfolder based on the current date would be created under folder Name1.
Please try it on your side to see if it will work for you.
Which trigger are you using? Please show me more details about your flow.
In my previous post, the trigger I used was Flow button, dynamic content Date can be selected from the trigger.
While you could also try to use a Compose action to get current date/time. Please see the following configuration for a reference.
In the Compose action, fill the following function into the Inputs field:
In the Folder path filed of the Create file action, fill the path likes below:
I have tested it on my side and it worked well.
Have you had a chance to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!
Thank you for being an active member of the Flow Community!
Flow Community Manager
@v-yamao-msft Hi Mao,
I have the same problem, but I would like to have a separate Folder created using the username in powerapps as trigger.
So when the log in my apps and upload something => the folder is created under that user name.
Thanks a lot for your help
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
Check out the community blog page where you can find valuable learning material from community and product team members!