cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Creating folder in Box

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.

5 REPLIES 5
Community Support
Community Support

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.

1.PNG

 

Please try it on your side to see if it will work for you.

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello @v-yamao-msft,

 

I don't see a Date dynamic content to be able to select

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’)

 2.PNG

 

I have tested it on my side and it worked well.

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities

@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 

Helpful resources

Announcements
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (58,899)