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

Mail subject flow.

Hello everyone, I need a mail flow. Send an email to an email address and that address saves the email automatically with the subject as email file name in one drive or sharepoint. Sorry but the maximum that I've gotthat I have achieved is that I get to sharepoint a single pdf attached if two go only shows one .. I appreciate your great help.
6 REPLIES 6
Highlighted
Community Support
Community Support

Re: Mail subject flow.

Hi @LunMax ,

 

Because you use Subject as all file name when creating the file, the file created by the previous one is overwritten by the latter file, so only one file is displayed.

If you are just a Subject to configure File Name, then you can't avoid this error when there are multiple attachments.

 

I suggest that you combine Subject and Attachment Name to form a File Name, which avoids the error of overwriting the file because the file name is the same.

Image reference:

8.PNG

Please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Mail subject flow.

Hello, what I need is to save the text of the email and if it has attachments as well as creluna folder with the name of the subject.es to maintain a document management by the department. Attached the flow that we have, just save a pdf with the attached file in pdf and DO NOT PUT THE NAME OF THE MAIL BODY AS SHOULD. Thank you very much for the help.Captura de pantalla 2019-03-25 a las 12.39.17.png

 

Highlighted
Frequent Visitor

Re: Mail subject flow.

Captura de pantalla 2019-03-25 a las 12.39.17.png

Highlighted
Frequent Visitor

Re: Mail subject flow, create folder and text of mail?

Hi @v-bacao-msft ,
I only have a couple of details left. Create a folder with the name of the subject and keep the text of the mail separate from the attachments. Thank you.
Highlighted
Frequent Visitor

Re: Mail subject flow.

Hello, it creates it correctly inside the folder with all the attachments but there is only one small problem :)It also creates it in the root directory. It is possible that you do not also create it in the root directory? 
Smiley Happy
Thanks again

Thank you very much for the help.
folder ok.pngroot directory.png
Highlighted
Community Support
Community Support

Re: Mail subject flow.

Hi @LunMax ,

 

If you do not specify the path to save the file as the root directory in Create file action, this problem does not occur.

Please check if there are other Create file actions that specify the root directory as Folder path, which results in such a result.

You may even need to check if some of Flows you created earlier have similar logic and actions, so the same file is created in the root directory.

 

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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!

Top Solution Authors
Top Kudoed Authors
Users online (7,470)