A n8n Node for processing files and base64 data using the Docuprox API. Easily integrate automated document processing and data extraction into your applications.
npm install n8n-nodes-docuproxbash
npm install
`
4. Build the project:
`bash
npm run build
`
5. Copy the dist folder to your n8n custom nodes directory
6. Restart n8n
Usage
1. Add the "DocuProx" node to your n8n workflow
2. Configure your DocuProx API credentials (see Configuration section)
3. Set the Template ID for the document processing template you want to use
4. Choose your image source:
- Upload Image File: Provide the binary property name containing the image file
- Base64 String: Directly input the base64 encoded image data
5. Execute the workflow
The node will return the processed document data from the DocuProx API.
Configuration
$3
Before using the node, you need to set up your DocuProx API credentials:
1. Go to your n8n instance
2. Navigate to Settings > Credentials
3. Create a new credential of type "DocuProx API"
4. Enter your DocuProx API key
5. Save the credential
$3
- Template ID (required): The ID of the template to use for document processing
- Image Source (required):
- Upload Image File: Upload an image file from binary data
- Base64 String: Provide image as Base64 encoded string
- Binary Property Name (required when using Upload): Name of the binary property containing the image file
- Base64 Image (required when using Base64): The base64 encoded image data
API Reference
$3
- Template ID: String
- Image: Binary file or Base64 string
$3
- Success status
- Template ID used
- API response data
- Timestamp
$3
The node includes comprehensive error handling and will return error details if the API call fails. You can configure the node to continue on failure or stop the workflow.
Development
$3
- Node.js
- npm
- n8n instance
$3
- npm run build: Build the TypeScript code and copy assets
- npm run dev: Watch mode for development
- npm run format: Format code with Prettier
- npm run lint: Lint code with ESLint
$3
`
├── 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
├── tsconfig.json
└── README.md
``