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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Save Outlook Email as ...
Power Automate
Unanswered

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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard