cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Binskit
Regular 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
Community Support
Community Support

Re: Saving attachment to dropbox

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
Community Support
Community Support

Re: Saving attachment to dropbox

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
Binskit
Regular Visitor

Re: Saving attachment to dropbox

superb, thank you

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (7,365)