Actions80
- Extract Text From Word
- Find And Replace Text
- Convert PDF To Editable PDF Using OCR
- Create Swiss QR Bill
- Split PDF By Barcode
- Split PDF By Swiss QR
- Split PDF By Text
- Split PDF Regular
- Create PDF/A
- Convert HTML To PDF
- Convert Markdown To PDF
- Upload File To PDF4me
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Fill PDF Form
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- AI-Invoice Parser
- AI-Process HealthCard
- AI-Process Contract
- Generate Barcode
- Classify Document
- Parse Document
- Linearize PDF
- Flatten PDF
- Convert To PDF
- Json To Excel
- Convert PDF To Excel
- Convert PDF To Word
- Convert PDF To PowerPoint
- Convert VISIO
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Extract Pages
- Merge Multiple PDFs
- Overlay PDFs
- Rotate Document
- Rotate Page
- Sign PDF
- URL to PDF
- Add Image Watermark To Image
- Add Text Watermark To Image
- Compress Image
- Convert Image Format
- Create Images From PDF
- Flip Image
- Get Image Metadata
- Image Extract Text
- Remove EXIF Tags From Image
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Image
- Rotate Image By EXIF Data
- Compress PDF
- Get PDF Metadata
- Repair PDF Document
- Get Document From Pdf4me
- Update Hyperlinks Annotation
- Protect Document
- Unlock PDF
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Generate Document Single
- Generate Documents Multiple
- Get Tracking Changes In Word
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Attachment From PDF
- Extract Text By Expression
- Extract Table From PDF
- Extract Resources
Overview
This node converts various input file formats into PDF documents. It supports multiple input data types including binary data from previous nodes, base64 encoded strings, and URLs pointing to files. This flexibility makes it useful in workflows where files need to be standardized into PDFs for archiving, sharing, or further processing.
Common scenarios include:
- Converting uploaded documents (e.g., Word, images) into PDFs.
- Fetching a document from a URL and converting it to PDF.
- Processing base64 encoded content received from APIs or other sources.
For example, you might use this node to convert a Word document received as binary data into a PDF before sending it via email or storing it in a document management system.
Properties
| Name | Meaning |
|---|---|
| Input Data Type | How the input file is provided. Options: • Binary Data — Use binary data from a previous node. • Base64 String — Provide base64 encoded content. • URL — Provide a URL to the file to convert. |
| Binary Property | The name of the binary property containing the file to convert (used when Input Data Type is Binary Data). |
| Input File Name | The name of the input file including extension. If not provided with binary data, the filename from the binary data will be used. Required for Base64 and URL input types. |
| Base64 Content | Base64 encoded content of the file to convert (required if Input Data Type is Base64 String). |
| File URL | URL of the file to convert to PDF (required if Input Data Type is URL). |
| Output File Name | Desired name for the output PDF file. Defaults to "output.pdf". |
| Advanced Options | Custom JSON profiles to adjust conversion properties. Users can specify additional options supported by the underlying API to customize the PDF output. For details, see https://dev.pdf4me.com/apiv2/documentation/. |
Output
The node outputs the converted PDF file as binary data under the specified output binary property (default naming conventions apply). The json output contains metadata about the operation and the file, typically including the filename and possibly other relevant information.
If the input was binary or base64, the output binary data represents the newly created PDF file. If the input was a URL, the node downloads the file, converts it, and outputs the PDF similarly.
Dependencies
- Requires an external PDF conversion service accessible via API.
- Needs an API key credential configured in n8n to authenticate requests to the PDF conversion service.
- Network access to URLs if using the URL input type.
Troubleshooting
- File Not Found or Download Errors: When using URL input, ensure the URL is accessible and publicly reachable or properly authenticated.
- Invalid Base64 Content: If providing base64 content, verify that the string is correctly encoded and complete.
- Unsupported File Format: The input file must be in a format supported by the conversion service; otherwise, conversion will fail.
- Missing Input File Name: For base64 and URL inputs, the input file name including extension is required to determine the file type.
- API Authentication Errors: Ensure the API key credential is valid and has sufficient permissions.
- Large Files: Very large files may cause timeouts or memory issues depending on the environment and service limits.