Documents
HTML to PDF
3min
Procesio can interpret HTML code an generate PDF files the said code.
Step 1. Create a new process and give it a name.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/wt7abaoEoYapwxxlsz8dZ_image.png?format=webp)
Step 2. Drag the HTML to PDF action to the canvas.
Step 3. Create the <%OutputFile%> output variable of type File.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/DX_RaYzF7NPp3pKeWgwDJ_image.png?format=webp)
Step 4. Click the Configure button inside the action and use the following configuration.
- Html string - The string containing HTML input.
- File name - Name of the file to be downloaded.
- File output - Returns the generated PDF in a variable of type file. We will add here the variable we created at the previous file.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/41JqaUanqdcO_QvjG8fG2_image.png?format=webp)
Step 5. Save, Validate and Run the process.
Step 6. Click Check instance.
Step 5. In the output section you have the option to download the file.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/KSmibXS617qZ66E2j9-_o_image.png?format=webp)
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/Gvl4U5-Pzs9XK2kO0lUxT_image.png?format=webp)