document_processor
Transform documents using Nutrient API: apply OCR, watermarks, redactions, and convert between formats including PDF, images, and Office.
Instructions
Process, convert, and transform documents using the Nutrient API. Reads input files from the local file system or sandbox (if enabled) and writes results back locally.
Features: • Import XFDF annotations • Flatten annotations • OCR processing • Page rotation • Watermarking (text/image) • Redaction creation and application
Output formats: PDF, PDF/A, images (PNG, JPEG, WebP), JSON extraction, Office (DOCX, XLSX, PPTX)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | A path to the output file to. (if required) Resolves to sandbox path if enabled, otherwise resolves to the local file system. | |
| instructions | Yes | Build instructions. |