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

Advanced attachment storage

Hi Guys,

 

I already have flow running that saves all incoming attachments into folder in Onedrive for Business. Which is nice but not perfect. 

 

Currently all attachments are saved in a master folder Attachments and thats it. What I'd like to do, is to save the attachments in sub-folders by the subject of the email, and maybe even sorted by dates.

 

Example: Attachemnt 1.jpg from email with subject Preview of our new logo, from 27.10.2017

Saved to: Attachments/Preview of our new logo/1.jpg or even Attachments/27102017/Preview of our new logo/1.jpg

 

Do you see something like this possible?

Thanks for any help,

Dan

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-micsh-msft
Community Support
Community Support

Hi @Anonymous,

 

Saving the Attachments into Sub folders by subject should be possible:

50.PNG

See the testing result:

51.PNG

 

If you would like to add the time within the path, then we need to take use of the compose and format the UTCNow():

Copy and paste the formula (Expression) below:

utcnow('ddMMyyyy')

52.PNG

 

Results:

53.PNG

 

Regards,

Michael

 

 

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

View solution in original post

1 REPLY 1
v-micsh-msft
Community Support
Community Support

Hi @Anonymous,

 

Saving the Attachments into Sub folders by subject should be possible:

50.PNG

See the testing result:

51.PNG

 

If you would like to add the time within the path, then we need to take use of the compose and format the UTCNow():

Copy and paste the formula (Expression) below:

utcnow('ddMMyyyy')

52.PNG

 

Results:

53.PNG

 

Regards,

Michael

 

 

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

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (2,822)