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:
/Folder/Subfolder/<Current Date>/
Thanks in advance.
Hi @Anonymous,
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.
Best regards,
Mabel Mao
Hi @Anonymous,
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:
Utcnow(โyyyy-MM-ddโ)
In the Folder path filed of the Create file action, fill the path likes below:
/Name1/actionOutputs(โComposeโ)
I have tested it on my side and it worked well.
Best regards,
Mabel Mao
Hello, @Anonymous!
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!
-Gabriel
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
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
58 | |
50 | |
43 | |
38 |
User | Count |
---|---|
89 | |
75 | |
74 | |
62 | |
44 |