Source Code
Nutrient Document Processing
Process documents directly in OpenClaw conversations โ convert formats, extract text, apply OCR, redact PII, add signatures, and watermark files through natural language.
Installation
openclaw plugins install @nutrient-sdk/nutrient-openclaw
Configure your API key:
plugins:
entries:
nutrient-openclaw:
config:
apiKey: "your-api-key-here"
Get an API key at nutrient.io/api
Available Tools
| Tool | Description |
|---|---|
nutrient_convert_to_pdf |
Convert DOCX, XLSX, PPTX, HTML, or images to PDF |
nutrient_convert_to_image |
Render PDF pages as PNG, JPEG, or WebP |
nutrient_convert_to_office |
Convert PDF to DOCX, XLSX, or PPTX |
nutrient_extract_text |
Extract text, tables, or key-value pairs |
nutrient_ocr |
Apply OCR to scanned PDFs or images |
nutrient_watermark |
Add text or image watermarks |
nutrient_redact |
Redact via patterns (SSN, email, phone) |
nutrient_ai_redact |
AI-powered PII detection and redaction |
nutrient_sign |
Digitally sign PDF documents |
nutrient_check_credits |
Check API credit balance and usage |
Example Prompts
Convert: "Convert this Word doc to PDF"
Extract: "Extract all text from this scanned receipt" / "Pull tables from this PDF"
Redact: "Redact all PII from this document" / "Remove email addresses and phone numbers"
Watermark: "Add a CONFIDENTIAL watermark to this PDF"
Sign: "Sign this contract as Jonathan Rhyne"