n8n-nodes-docuprox
v1.1.0
Published
An n8n community node for AI-powered document processing via the DocuProx API. Extract structured data from documents using manual or AI-generated prompts — no template required. Supports real-time processing and high-volume batch jobs.
Maintainers
Readme
n8n-nodes-docuprox
An n8n community node for AI-powered document processing and data extraction via the DocuProx API. Extract structured data from documents using manual or AI-generated prompts — no template required.
Automate document data extraction in your n8n workflows. Supports invoices, passports, ID cards, receipts, contracts, and more.
What is DocuProx?
DocuProx is an AI-powered document extraction platform. This n8n node lets you integrate DocuProx directly into your automation workflows — extract structured fields from any document image in real-time or process thousands of documents via batch jobs.
Features
- AI Agent Extraction — Extract any field using natural language prompts. No dashboard template needed.
- Template-Based Extraction — Use a pre-built Template ID (UUID) from your DocuProx dashboard for consistent, structured extraction.
- Batch Processing — Submit a ZIP of documents for high-volume background processing and retrieve results in JSON or CSV.
- Flexible Input — Supports binary file uploads and Base64 encoded images.
- Real-Time Results — Synchronous processing returns structured data immediately.
Supported Document Types
Works with any document type, including:
- Passports & ID Cards
- Invoices & Receipts
- Contracts & Agreements
- Bank Statements
- Medical Records
- Custom document types via AI prompts
Installation
Via n8n Community Nodes (Recommended)
- Open your n8n instance
- Go to Settings → Community Nodes
- Search for
n8n-nodes-docuprox - Click Install
- Restart n8n
Manual Installation
npm install n8n-nodes-docuproxCredentials Setup
- Go to Settings → Credentials in your n8n instance
- Create a new credential of type DocuProx API
- Enter your DocuProx API key
- Save the credential
Usage
Document → Process Agent (AI extraction, no template needed)
Use natural language prompts to extract any field from a document without creating a dashboard template.
- Select Resource:
Document - Select Operation:
Process Agent - Choose Selection Method:
Structured Form - Set Document Type (e.g.
passport,invoice) - Add Prompts — define fields to extract:
- Key:
passport_number→ Instruction:Extract the passport number - Key:
full_name→ Instruction:Extract the full name
- Key:
- Upload your document image
Document → Process (Template-based extraction)
Use a Template ID (UUID) from your DocuProx dashboard for structured extraction.
- Select Resource:
Document - Select Operation:
Process - Enter your Template ID (UUID)
- Upload your document image
Job → Batch Processing
Submit a ZIP file containing multiple documents for high-volume background processing.
- Submit Job — Upload ZIP + Template ID → returns a
Job ID - Get Job Status — Poll with
Job IDuntil status isSUCCESS - Get Job Results — Retrieve extracted data in JSON or CSV format
Node Properties
Document → Process | Field | Required | Description | |---|---|---| | Template ID | Yes | UUID from your DocuProx dashboard | | Image Source | Yes | Binary file upload or Base64 string | | Static Values | No | Additional key-value metadata |
Document → Process Agent
| Field | Required | Description |
|---|---|---|
| Selection Method | Yes | Structured Form or Manual JSON |
| Document Type | Yes | e.g. passport, invoice, receipt |
| Custom Instructions | No | Natural language guidance for the AI |
| Prompts | Yes | Field name + extraction instruction pairs |
| Static Values | No | Additional key-value metadata |
Job → Submit Job | Field | Required | Description | |---|---|---| | Template ID | Yes | UUID from your DocuProx dashboard | | Binary Property Name | Yes | Property containing the ZIP file | | Static Values | No | Additional key-value metadata |
Job → Get Job Status / Get Job Results
| Field | Required | Description |
|---|---|---|
| Job ID | Yes | UUID returned from Submit Job |
| Result Format | No | json (default) or csv |
Job Status Values
| Status | Description |
|---|---|
| NEW | Job created and queued for processing |
| UNZIP FILE | Extracting files from the uploaded ZIP archive |
| UNZIP FILE SUCCESS | ZIP extraction completed successfully |
| UNZIP FILE FAILED | ZIP extraction failed |
| PROCESS IMAGE | Processing document images for data extraction |
| PROCESS IMAGE SUCCESS | Image processing completed successfully |
| PROCESS IMAGE FAILED | Image processing failed |
| SUCCESS | Job completed — results are ready to retrieve |
| FAILED | Job processing failed |
API Reference
Input
| Operation | Key Inputs | |---|---| | Process | Template ID (UUID), Image (binary or Base64), Static Values (optional) | | Process Agent | Document Type, Custom Instructions, Prompts (key-value), Image | | Submit Job | Template ID (UUID), ZIP file (binary), Static Values (optional) | | Get Job Status | Job ID (UUID) | | Get Job Results | Job ID (UUID), Result Format (JSON or CSV) |
Output
| Operation | Output Fields |
|---|---|
| Process | success, templateId, response, timestamp |
| Process Agent | success, response, timestamp |
| Submit Job | success, templateId, response, timestamp |
| Get Job Status | success, jobId, response, timestamp |
| Get Job Results | success, jobId, resultFormat, total_records, results / results_csv |
Error Handling
The node includes built-in error handling. Enable Continue on Fail in the node settings to handle errors gracefully within your workflow.
Resources
Development
npm install # Install dependencies
npm run build # Build TypeScript
npm run dev # Watch modeProject Structure
├── credentials/
│ └── DocuProxApi.credentials.ts # API credentials definition
├── nodes/
│ └── DocuProx/
│ ├── DocuProx.node.ts # Main node implementation
│ └── douprox-logo.svg # Node icon
├── dist/ # Built files
├── package.json
└── README.mdRelease & npm Publish
- Add
NPM_TOKENto GitHub repository secrets - Bump
versioninpackage.json - Push a tag in
vX.Y.Zformat (e.g.v1.1.0) - GitHub Actions will build and run
npm publish --provenance
License
This project is licensed under the MIT License - see the LICENSE file for details.
