Actions34
- Asset Actions
- Conversion Actions
- Document Actions
- E-Invoice Actions
- PDF Service Actions
- Template Actions
- Workspace Actions
Conversion → URL to PDF
AI-generatedSummary
Convert a public HTTP or HTTPS URL to PDF using PDF Generator API. Set the output filename and optionally choose paper size, orientation, and whether to return base64 JSON or a binary file.
Inputs
- URL (required) — Public URL to convert; must start with http:// or https://.
- Filename (required) — PDF filename without the .pdf extension. Defaults to document; accepts letters, numbers, dots, hyphens, and underscores.
- Additional Options — Optional paper size (defaults to A4), orientation (defaults to portrait), and output format (defaults to base64 JSON; choose file for binary output).
Output shape
One n8n item per input item, containing JSON data and optionally binary PDF data.
Base64 mode returns success, filename, format, and the API response fields in JSON. File mode attaches the PDF as binary data under a property named after the filename with a .pdf extension, with success, filename, format, and fileSize in JSON.
Examples
Example 1: Convert a web page and return a binary PDF file
URL: https://example.com; Filename: example; Additional Options: Output Format = File (Binary).