cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MeThree_
Level: Power Up

Extract Body of email to PDF file

I want to 'print' the body of an email to a PDF file and save it into a OneDirve folder. How could I do this?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Extract Body of email to PDF file

Hi @MeThree_,

 

Do you want to save email body into a PDF file and save the file into an OneDrive folder?

Please try the following flow. You could create a file on OneDrive folder, then use the action Convert file to convert the document to pdf file.

Please check the following screenshot for a reference.

 1.PNG

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MeThree_
Level: Power Up

Re: Extract Body of email to PDF file

I seem to be doing something wrong. This is the error I get at the COnvert File step

 

Inputs
File
01MZODM33AMRKBT5MLZFD3GFAFNFF5RICG
Target type
PDF
Outputs
Status code
400
Headers
Pragma
no-cache
x-ms-request-id
67a42885-c3e4-4028-86d6-6786bfda0886
Timing-Allow-Origin
*
x-ms-apihub-cached-response
true
Cache-Control
no-cache
Date
Mon, 01 Oct 2018 19:10:23 GMT
X-AspNet-Version
4.0.30319
X-Powered-By
ASP.NET
Content-Length
512
Content-Type
application/json
Expires
-1
Body
{
  "status"400,
  "message""Error from Office Service. Url= HttpCode= OK ResponseHeaders=ResponseCode: Failure\r\nErrorCode: WordFileTypeBlocked\r\nIsExpectedFailure: True\r\nErrorCategory: BadRequest\r\nServiceID: 67a42885-c3e4-4028-86d6-6786bfda0886\r\nOutputFormat: PDF\r\nServiceRegion: EastUS2\r\nConversionTime: 234.3561\r\nSourceFileDownloadTimeInMs: 359.3187\r\nDate: Mon, 01 Oct 2018 19:10:23 GMT\r\nServer: Microsoft-IIS/8.5\r\nX-Powered-By: ASP.NET\r\n",
  "source""api.connectorp.svc.ms"

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 311 members 4,903 guests
Please welcome our newest community members: