cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Highlighted
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

Highlighted
Frequent Visitor

superb, thank you

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (9,650)