cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MeThree_
New Member

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

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_
New Member

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,258)