Create pdf or word file from html body

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create pdf or word file from html body

L4 Transporter

Hello,

I'd tried to find a task inside XSOAR, however nothing was found. Some clue how to do it?

 

1 accepted solution

Accepted Solutions

L5 Sessionator

Thanks @Josep! unfortunately nothing out of the box. But you can try creating your own automation. There is a easy library you can try here - https://pypi.org/project/htmldocx/

 

If you need to create a custom docker refer - https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-9/cortex-xsoar-admin/docker/docker-images-in...

 

View solution in original post

3 REPLIES 3

L5 Sessionator

Hi @Josep, you can use the !rasterize-email automation to convert HTML to a PDF file.

You're the best!!

But it doesn't show in the Marketplace and it's not already installed in XSOAR neither.

And about getting a "docx" file from a html, is it possible?

L5 Sessionator

Thanks @Josep! unfortunately nothing out of the box. But you can try creating your own automation. There is a easy library you can try here - https://pypi.org/project/htmldocx/

 

If you need to create a custom docker refer - https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-9/cortex-xsoar-admin/docker/docker-images-in...

 

  • 1 accepted solution
  • 2109 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!