cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
djardim616
New Member

Save parsed email bodies as separate files and rename them

Hi there,

 

We have a mailbox which receives 20 mails a day and we need the body of each mail to be saved as a text file with a unique name into a location on a local server.  I've managed to get it right to do this with a single email when testing but am not sure how to make it save each of the 20 emails as a different file as well as give each file a different name.  Any suggestions would be most welcome as i am very new to this:

 

This is what i have currently configured:

djardim616_0-1626787916220.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
eric-cheng
Solution Sage
Solution Sage

Hi @djardim616 

 

You can use Message Id like the below.

 

Screenshot_20210721-000133_Chrome.jpg

 

You can also use the Guid() expression like below or the date time.

ericcheng_0-1626790112998.png

 

You can even be a bit creative and use a combination of email address and timestamp etc.

 

Just be careful of unsupported special characters

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

View solution in original post

2 REPLIES 2
eric-cheng
Solution Sage
Solution Sage

Hi @djardim616 

 

You can use Message Id like the below.

 

Screenshot_20210721-000133_Chrome.jpg

 

You can also use the Guid() expression like below or the date time.

ericcheng_0-1626790112998.png

 

You can even be a bit creative and use a combination of email address and timestamp etc.

 

Just be careful of unsupported special characters

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

djardim616
New Member

Hey Eric,

 

Thank you very much for the advice, works perfectly!

 

Very much appreciated

Dino

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,703)