Package Information
Available Nodes
Documentation generating…
Documentation
n8n-nodes-uvpdftool
An n8n community node for the UV pdfTool API:
compress, convert, OCR and check PDFs in a workflow, on UV pdfTool's servers. It needs nothing at
run time but n8n itself.
Install
In n8n: Settings → Community nodes → Install, and enter n8n-nodes-uvpdftool. On a
self-hosted n8n you can also run npm install n8n-nodes-uvpdftool in ~/.n8n/nodes.
Then add a UV pdfTool API credential with a key from the
API keys page; a test key is free and marks its results.
The node
UV pdfTool runs one tool for each incoming item:
| Field | What it is |
|---|---|
| Tool | Compress PDF, Office to PDF, PDF to Word or PowerPoint, OCR, PDF to PDF/A, and seven more. |
| Input Binary Field | The binary field of the item that holds the file (data by default). Not asked for a web page. |
| Options | The tool's options as JSON, such as {"method": "ghostscript", "preset": "ebook"}. |
| Output Binary Field | Where each result goes (data); a second result gets a number after the name. |
| Wait Up To (Seconds) | How long to wait for the job (600). It goes on after that; the error gives its ID. |
Each result comes out as a binary field of a new item, with jobId, tool, mode (live ortest) and the outputs' names and sizes in its JSON. A failed job stops the workflow with the
API's reason, such as PASSWORD_REQUIRED: The file is locked., unless the node is set to
continue on failure, when the item carries error instead. A job whose upload failed is
cancelled at once, so its task comes back.
The tools and their options are listed at https://uvpdftool.com/developers/tools.
