cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Binskit
Frequent Visitor

Saving attachment to dropbox

I have a workflow running in office365 which saves all email attachments to a particular dropbox folder using a filename derived from date received (which includes time) + subject of email +name of attachment(s) .

I don't like the date/time format this gives me and I want to produce a filename as follows: yyyymmdd_hhmmss_subject_attachmentname.

Can it be done? How do I do it?Screenshot 2020-01-29 16.02.05.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Binskit ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the flow as below:

formatDateTime(triggerBody()?['receivedDateTime'],'yyyyMMdd-HHmmss')

 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

2 REPLIES 2
v-alzhan-msft
Community Support
Community Support

Hi @Binskit ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the flow as below:

formatDateTime(triggerBody()?['receivedDateTime'],'yyyyMMdd-HHmmss')

 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

Binskit
Frequent Visitor

superb, thank you

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,202)