n8n-nodes-docsai
v0.1.5
Published
n8n node to integrate with DocsAI API for document processing
Maintainers
Readme
DocsAI Node for n8n
The DocsAI integration for n8n allows you to seamlessly connect your workflows with DocsAI's powerful document processing platform. This node enables you to extract information from various types of documents including invoices, business cards, passports, Emirates IDs, and property documents.
Installation
Local Installation (Recommended)
Install this package in your n8n installation:
# npm
npm install n8n-nodes-docsai
# Or with yarn
yarn add n8n-nodes-docsaiFor 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.
Community Node Installation
- Go to Settings > Community Nodes
- Click on Install
- Enter
n8n-nodes-docsaiin the text field - Click on Install
Troubleshooting
If you encounter issues with this node:
- Make sure you're using a compatible version of n8n
- Check that your API credentials are correct
- Try reinstalling the node with
npm reinstall n8n-nodes-docsai - 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
Setting Up Credentials
- In n8n, go to Credentials and click on "New"
- Select "DocsAI API" from the list
- Enter your API key
- Save your credentials
Using the Node
Process Invoice
- Add the DocsAI node to your workflow
- Select "Process Invoice" operation
- Choose the input method:
- Binary Field: Use a document from a binary field
- URL: Provide a URL to the document file
- Configure the options:
- Enhanced Processing: Enable for better accuracy
- Save Debug Images: Enable to save debug images during processing
Process Business Card
- Add the DocsAI node to your workflow
- Select "Process Business Card" operation
- Choose the input method and provide the document
- Configure the processing options
Process Passport
- Add the DocsAI node to your workflow
- Select "Process Passport" operation
- Choose the input method and provide the document
- Configure the processing options
Process Emirates ID
- Add the DocsAI node to your workflow
- Select "Process Emirates ID" operation
- Choose the input method:
- Binary Fields: Provide front and back images as binary fields
- URLs: Provide URLs to front and back images
- Configure the processing options
Batch Process
- Add the DocsAI node to your workflow
- Select "Batch Process" operation
- Select the document type to process
- Choose the input method:
- Binary Fields: Provide comma-separated list of binary property names
- URLs: Provide comma-separated list of document URLs
- 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-Keyheader)
Endpoints
/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
Support
For questions or issues related to this node, please contact DocsAI support team or open an issue on the GitHub repository.
License
This node is licensed under the terms of service provided by DocsAI.
This node is developed and maintained for DocsAI. DocsAI is a document processing platform designed to extract information from various document types.
