Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

Convert HTML to PDF with Gotenberg

When called by another workflow, it builds an HTML file, sends it to a Gotenberg service, and returns the converted PDF document.

What it does

### 🚀 GOTENBERG API CALL This node sends the HTML file to your Gotenberg service for conversion. IMPORTANT: The default URL is http://gotenberg:3000. This works if n8n and Gotenberg are on the same Docker network. If your Gotenberg is hosted elsewhere, you must update the URL here. Customization: You can edit the PDF metadata (Author, Title, etc.) in the metadata field under Body Parameters.

The steps

  1. Create index.html
  2. Convert to PDF with Gotenberg
  3. Create PDF from HTML

Similar automations