n8n integration
Render HTML to PDF with the Luntrex community node.
Install the HTML-to-PDF community node, connect your Luntrex credentials, and convert HTML strings or URLs directly from the n8n canvas.
Configure the HTML to PDF node
Follow these steps to install n8n-nodes-luntrex-pdf, add credentials, and set
the node parameters shown in the screenshot.
Integration steps
Install the community node
Go to Settings → Community Nodes, paste
n8n-nodes-luntrex-pdf into the
node name box, and click Install.
Create credentials
Create a Luntrex account, generate an API key, then add a new credential for this node and paste the
key. Save and test.
Add the node to a workflow
Drag the Luntrex PDF node onto the canvas and select your credential.
Set parameters
Operation: Convert. Choose a source (HTML String or other supported source), provide the
HTML input, and add any options you need.
Execute and route
Click Execute step to preview the PDF output, then pass the file to email, storage, or
downstream automations.
Tip: Keep external assets (images, CSS) publicly reachable or embed styles inline to avoid missing
assets in the rendered PDF.
Parameter reference
- Credential to connect with Select the saved Luntrex API key credential.
- Operation Use Convert to render HTML to PDF.
- Source Pick the input type (e.g., HTML String for inline HTML).
- HTML Provide the HTML content when using the HTML String source.
- Options Add optional PDF settings (orientation, margins, background, filename, etc.).
Execution tips
- Inline critical styles to ensure consistent rendering.
- Test with small samples first; large HTML can increase render time.
- Confirm assets referenced by URL are accessible from your n8n host.
Troubleshooting
- Unauthorized Re-check the API key in your credential and ensure it is active.
- Blank or partial PDF Verify the HTML renders in a browser and that external assets are reachable.
- Option errors Remove unsupported options or revert to defaults, then re-run.
Outputs
- The node returns a PDF file you can send via email, store in S3, or pass to other nodes.
- Use binary routing in n8n if you need to hand the PDF to HTTP Request or other binary-aware nodes.