n8n node to integrate with DocsAI API for document processing
npm install n8n-nodes-docsaibash
npm
npm install n8n-nodes-docsai
Or with yarn
yarn add n8n-nodes-docsai
`
For n8n versions < 0.215.0, restart your n8n instance to load the new node.
For n8n versions >= 0.215.0, the new node will be loaded automatically without restart.
$3
1. Go to Settings > Community Nodes
2. Click on Install
3. Enter n8n-nodes-docsai in the text field
4. Click on Install
Troubleshooting
If you encounter issues with this node:
1. Make sure you're using a compatible version of n8n
2. Check that your API credentials are correct
3. Try reinstalling the node with npm reinstall n8n-nodes-docsai
4. Clear your browser cache and restart n8n
Features
- Process Invoices: Extract key information from invoice files
- Process Business Cards: Extract contact information from business card images
- Process Passports: Extract passport details from passport images
- Process Emirates IDs: Extract information from both front and back images of Emirates ID
- Batch Processing: Process multiple documents of the same type in a single request
Setup
$3
1. In n8n, go to Credentials and click on "New"
2. Select "DocsAI API" from the list
3. Enter your API key
4. Save your credentials
$3
#### Process Invoice
1. Add the DocsAI node to your workflow
2. Select "Process Invoice" operation
3. Choose the input method:
- Binary Field: Use a document from a binary field
- URL: Provide a URL to the document file
4. Configure the options:
- Enhanced Processing: Enable for better accuracy
- Save Debug Images: Enable to save debug images during processing
#### Process Business Card
1. Add the DocsAI node to your workflow
2. Select "Process Business Card" operation
3. Choose the input method and provide the document
4. Configure the processing options
#### Process Passport
1. Add the DocsAI node to your workflow
2. Select "Process Passport" operation
3. Choose the input method and provide the document
4. Configure the processing options
#### Process Emirates ID
1. Add the DocsAI node to your workflow
2. Select "Process Emirates ID" operation
3. Choose the input method:
- Binary Fields: Provide front and back images as binary fields
- URLs: Provide URLs to front and back images
4. Configure the processing options
#### Batch Process
1. Add the DocsAI node to your workflow
2. Select "Batch Process" operation
3. Select the document type to process
4. Choose the input method:
- Binary Fields: Provide comma-separated list of binary property names
- URLs: Provide comma-separated list of document URLs
5. Configure the processing options
Common Use Cases
- Automated Document Processing: Process incoming documents automatically in your workflow
- Form Data Extraction: Extract form data from documents to populate databases or CRMs
- Document Verification: Verify document authenticity and extract information
- Batch Document Processing: Process multiple documents at once for efficient workflows
API Documentation
The DocsAI API provides endpoints for processing various document types:
- Base URL: https://docsai.oncleverflow.com
- Authentication: API Key (passed as X-API-Key header)
$3
- /process-invoice/: Process invoice files
- /process-business-card/: Process business card images
- /process-passport/: Process passport images
- /process-emirates-id/: Process Emirates ID front and back images
- /batch-process/`: Process multiple documents in batch