Api2Pdf - Generate PDF from HTML
Use the Api2Pdf - Generate PDF from HTML action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. to convert HTML to a PDF using Headless Chrome on AWS Lambda. HTML is the standard markup language for web pages.
For more information about the Api2Pdf connector, go to Api2Pdf.
Configure the Api2Pdf - Generate PDF from HTML action
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
- Select a Connection. If you do not have a connection, see Add a connection.
-
Specify the HTML that you want to convert to PDF.
-
Specify the File name of the output.
-
Select the Page orientation for the PDF.
-
Select the Print background for the PDF.
Api2Pdf - Generate PDF from HTML action fields and settings
Section |
Field |
Description |
Variable types |
---|---|---|---|
(Unlabeled) |
The Api2Pdf connection to use. To refresh the available connections, click |
(n/a) |
|
(Unlabeled) | HTML | The raw HTML you want to convert to PDF. | Text, Decimal, Integer, Boolean, DateTime, Collection |
(Unlabeled) | File name | The file name for the output PDF. | Text, Decimal, Integer, Boolean, DateTime, Collection |
(Unlabeled) | Page orientation | The orientation to use when generating the PDF. You can select Portrait or Landscape. | Text, Decimal, Integer, Boolean, DateTime, Collection |
(Unlabeled) | Include background | Indicates if the background graphics should be included in the generated PDF. | Boolean |
Output | PDF details |
Stores the result of the action as an object. The following values are returned:
|
Object |