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 Outlook Email as ...
Power Automate
Answered

Save Outlook Email as PDF and save it to Sharepoint.

(0) ShareShare
ReportReport
Posted on by 164

Is it possible to convert the any new email to a pdf file then saving it to Sharepoint? I was successful saving the email attachments to Sharepoint but having trouble converting to pdf.

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @S_Tran,

     

    Yes, it is possible to do it, you could following these steps to store the Email body as HTML file, then convert it into PDF file.

    Annotation 2020-05-14 135200.jpg

     

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

  • S_Tran Profile Picture
    164 on at

    @v-litu-msft 

     

    So you still use the "create file" for onedrive regardless if you are saving the pdf to sharepoint?

  • S_Tran Profile Picture
    164 on at

    @v-litu-msft 

     

    I tested your suggestions and it worked.  But there was a part of the email (in the body area) that didn't convert.  I suspect maybe the body of the email might have an image or table embedded because it didn't pickup when creating the file.

  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @S_Tran,

     

    If you want to use the convert file feature, the file should keep in the OneDrive, you could create a delete file action after converting completed.

    These pictures in the Email body couldn't be extracted it is a known shortage.

     

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

  • S_Tran Profile Picture
    164 on at

    @v-litu-msft 

    In the email there's actually not pictures but a embedded table.  Seems like the convert feature is not converting HTML correctly to PDF.  I tried converting a regular email message and it worked perfectly fine.

  • Willing1 Profile Picture
    63 on at

    Hi S_Tran,

     

    Actually I had the same question you raised above in the begining of the discussion. I have a flow that sends email and I wanted to convert to PDF and save it to a subfolder.

    There is a seperate flow that creats for me folders and subfloders at the same time the flow sends email. Each email should be saved into a specific folder ( that is created during the flow). The road block I am having is capture each email in PDF and save them in the right subflolders.

     

    I tried the above steps and it shows all green , but I cannot see the PDF in sharepoint subfolder

     

    I used the below flow, Could you help how to make this work? Many thanks in Advance

     

    Willing1_0-1677163302210.png

     

  • S_Tran Profile Picture
    164 on at

    My flow doesn't include creating a folder for each email.  All my pdfs are going into 1 folder that I've created on SP.  I'm no expert on Flows but I'm trying to understand yours.  You mentioned you created the folder when the email is being sent.  So how are you referring to that same folder when you are creating the PDF into that same folder?  Did you drill down to where it creates the pdf and see exactly where the file is going?

  • Willing1 Profile Picture
    63 on at

    no worries. The flow that creates folder is working together with sending an email. So for example, once a user add ticket number to my lists , a mail is sent to this user and at the same time a folder will be created named ticket number. I wanted to save this copy of the email , convert it to PDF and save it automatically to the designated folder with the same ticket number. hope this helps .

  • AC-28110956-0 Profile Picture
    12 on at
     
    For your provided answer, will I only be able to convert file for onedrive? What if I am intending to convert a file on sharepoint?

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
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard