cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
frixel
Level: Powered On

Flow with forward mail and Change attachment

Hi,

 

I have this Flow that when a mail arrives in the box he forward the mail to some people.

The mail is always with a attachment, but sometime te attachment name are the same and that gives a conflict  for further editing with different process.

 

Is it possible to change the name of the attachment with a timestamp before it is send?

 

attachment.png

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Flow with forward mail and Change attachment

Hi @frixel 

Thank you for your post.

I was hoping you could help assist the community with this post?

I see that you are trying to address the following:

"The mail is always with a attachment, but sometime te attachment name are the same and that gives a conflict  for further editing with different process."

 

Basically, this is the request I have addressed and resolved for you in this post:

 

I have walked through how to generate a time stamp and added it to your file to avoid duplication of the file name.

 

It would help the community for this post to be marked as a solution, would you mind doing that please or will you be happy for me to mark it so?

 

For clarity , the below from the post addresses your file duplication issues:

Capture-358.pngCapture-359.png

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

7 REPLIES 7
WDRC
Level: Powered On

Re: Flow with forward mail and Change attachment

@frixel,

 

I have seen this type of thing before, someone else had a similar issue, they used something called a guid  to rename the files which was better than a time stamp for their issue.

 

https://powerusers.microsoft.com/t5/Building-Flows/Renaming-multiple-attachements/m-p/199446#M20750

 

Hope the above helps, please note I have never used the above.

 

Regards,

 

Andrew

Community Support Team
Community Support Team

Re: Flow with forward mail and Change attachment

Hi @WDRC,

 

Changing the the attachment name with an "Forword email" action is not supported in microsoft flow currently.

How many attachments are in the email?

 

If you have one attachment in your email, you could take a try with "Send an email" action to achieve your needs.

Capture.PNG

 

 

The expression in the Attachment Name column as below:

concat(utcNow(),items('Apply_to_each')?['Name'])

Best regards,

Alice

frixel
Level: Powered On

Re: Flow with forward mail and Change attachment

Thank you for your info but I get the error message below.

 

attachment.png

Community Support Team
Community Support Team

Re: Flow with forward mail and Change attachment

Hi @frixel,

 

Could you please share a screenshot of the configuration of your flow?

 

My flow would run successfully as below:

Capture.PNG

 

 

 

Best regards,

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.

Super User
Super User

Re: Flow with forward mail and Change attachment

Hi @frixel 

Thank you for your post.

I was hoping you could help assist the community with this post?

I see that you are trying to address the following:

"The mail is always with a attachment, but sometime te attachment name are the same and that gives a conflict  for further editing with different process."

 

Basically, this is the request I have addressed and resolved for you in this post:

 

I have walked through how to generate a time stamp and added it to your file to avoid duplication of the file name.

 

It would help the community for this post to be marked as a solution, would you mind doing that please or will you be happy for me to mark it so?

 

For clarity , the below from the post addresses your file duplication issues:

Capture-358.pngCapture-359.png

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

frixel
Level: Powered On

Re: Flow with forward mail and Change attachment

Returning to this flow for a while.(with thanks to AlanPs1)


I have been using this for a week now, but I some files are being saved incorrectly.

The mail is with the excel extension for the attachment , but they will saved with a .03 ext? after the name.

 

What is going wrong?

 

flow21.png

frixel
Level: Powered On

Re: Flow with forward mail and Change attachment

Hi There.

 

Is there nobody who can help me with this?

I can`t find to resolve this.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (7,252)