Package Information
Available Nodes
Documentation
n8n-nodes-compdf
This is an n8n community node that integrates ComPDF API into your n8n workflows, enabling async document processing including PDF conversion, intelligent document extraction, PDF merging, splitting, compression, and more.
ComPDF provides powerful document processing APIs that support PDF conversion, OCR, document comparison, intelligent extraction, and many other document operations.
n8n is a fair-code licensed workflow automation platform.
Installation | Operations | Credentials | Compatibility | Usage | Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
This node supports the following operations:
Document Conversion
| Operation | Description |
|---|---|
| PDF to Word | Convert PDF files into Word documents |
| PDF to JSON | Convert PDF files into JSON format |
| PDF to Others | Convert PDF to Excel, PPT, HTML, RTF, PNG, JPG, TXT, CSV, Markdown |
| PDF to Editable PDF (OCR) | Convert scanned/image-based PDFs into editable PDFs using OCR |
| Others to PDF | Convert Word, Excel, PPT, HTML, RTF, images, TXT, CSV into PDF |
| Image to Others | Convert image files into other formats |
Intelligent Document Processing
| Operation | Description |
|---|---|
| Intelligent Document Extraction | AI-powered extraction to capture key information and map intelligent fields |
| Intelligent Document Parsing | AI-powered parsing to transform unstructured documents into structured data |
PDF Tools
| Operation | Description |
|---|---|
| PDF Generation | Generate PDFs in batch from HTML templates |
| PDF Merger | Merge multiple PDF files into a single PDF |
| PDF Split | Split a PDF into separate files by pages or page ranges |
| PDF Extract | Extract images from documents |
| PDF Page Tools | Organize PDF pages (rotate, insert, delete) |
| Security | Add or remove watermarks from PDFs in bulk |
| Compress | Compress PDF files without losing visual quality |
| Compare Documents | Compare documents by analyzing text and images |
Task Management
| Operation | Description |
|---|---|
| Get Task Information | Query task status and results after processing |
Credentials
To use this node, you need a ComPDF API Key.
- Sign up at ComPDF API
- After registration, navigate to the API dashboard to obtain your Public API Key
- In n8n, go to Credentials > New Credential > search for ComPDF API
- Paste your API Key and save
Compatibility
- Tested with n8n v2.10.3+
- Requires Node.js 18+
Usage
All file processing operations in this node use the async processing pattern:
- Submit a task — Use any file processing operation (e.g., PDF to Word) to upload a file. The API returns a
taskId. - Poll for results — Use the Get Task Information operation with the
taskIdto check the processing status.
Example Workflow
- Add a ComPDF node with operation PDF to Word
- Connect it to a source that provides a binary file (e.g., HTTP Request or Read Binary File)
- The node returns a
taskIdin the output - Add another ComPDF node with operation Get Task Information
- Pass the
taskIdfrom step 3 — the node queries the current task status and returns the result - Use an If node to check if
taskStatusisTaskFinish, and a Wait node to retry if still processing
Parameters
- Execute Type URL — Required for operations like PDF to Others, Others to PDF, etc. Specifies the exact conversion endpoint path.
- Binary Property — Name of the input binary property containing the file (default:
data). - Parameter — Processing parameter for the API request (format specific, see ComPDF API docs).
- Language — Language setting for OCR and text recognition (default:
2).
Resources
- n8n community nodes documentation
- ComPDF Official Website
- ComPDF API Documentation
- ComPDF API Sign Up