web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Save Approval Mail Res...
Power Automate
Unanswered

Save Approval Mail Response in Sharepoint folder

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all. 

 

I have an approval flow that if approved, sends the requestor a confirmation email. 

 

I need that confirmation email to save as a .msg format in my sharepoint library. My attempt at the flow is below. The flow works but the format it saves of the response email looks like this.. not the file im looking for:

 

File A approval.png

 

Current flow looks like this: 

j

Approval.pngIf approved.png

 

Does anyone got any ideas?

 

Best,

 

Morten

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    HI @Anonymous 

     

    In your create file action, can you replace the .approval with .msg? 

     

    I just made a test on my side and this works.

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Expiscornovus Profile Picture
    33,501 Most Valuable Professional on at

    Hi,

     

    You should be able to use the Outlook connector for this. It contains the export email action:

    https://flow.microsoft.com/en-us/blog/outlook-connector-more/

     

    export_email.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @yashag2255,

     

    That did change the format to .msg!

     

    .msg.png

     

    So then I am halfway there.

     

    Unfortunately, it did not grab the content of the mail, so when I click the link its blank..

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    I just made a test on my environment and you should use the Export Email option as suggested in the other post but save it with the .msg extension. Refer to the sample screenshot below:testasd.PNG

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @yashag2255,

     

    I tried the solution suggested, however, I'm not able to find "Message Id" in the dynamic content. Do you know how I can get that? 

     

    I think it is related to my trigger being a selected file in sharepoint, and not "When an email arrives" like the flow you tested above.

     

    Also, do you know the difference between "Get email" (like I have in my original attempt, please see screenshot in original post) and "Export email"? 

     

    I guess these questions are for both of you @yashag2255@Expiscornovus

     

    Thank you! 🙂

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Okay. So you can get the Message ID of an email when it is sent or recieved. In the flow action we are using send an email but unless this action is executed the email is not sent and therefore we cannot get the ID of this email to get the email or export it. (Basic deiffrence would be, after getting a particular email you can add an action to reply to it and refer to the Get email action and in the export email you can export the details - to, from, subject and body). 

     

    One way of doing what you want to is, create two flows. 1 will run until the send an email action in your flow. 2nd will have the get email action and then create file from that. The second flow will be with a manual trigger and in the 1st flow, you can add an action to run a flow after the send an email action. makes sense?

     

    Hope this Helps!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @yashag2255 

     

    I understand what you mean (I think).

     

    However, will this not be an issue concidering that this is not a personal flow. Meaning, if I do it like you suggest, would it not require everyone in my company to install the flow, to have access to their outlook?

     

    Thanks!

     

     

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @Anonymous 

     

    You would add all the other users as run as users right? You can ask them to provide the conenction to outlook (or the other specific actions) for both the flows. Also, adding people as CoOwners will make them run the flow with the connections of the Owner of the flow. 

     

    Hope this Helps!

  • gurmeetKRahi Profile Picture
    4 on at

    Hi,

    Did you end up getting any solution to this? any update will be appricated.

     

    Thank you

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @gurmeetKRahi 

     

    Can you share details on the scenario that you are trying to build? For exporting outlook emails, you can use the when a new email arrives trigger, then the export email action and then use the body of the export email option to save it is an eml or msg file in the document library (or the place where you want to save it)

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard