This is an n8n community node for Nanonets Document Extraction API.
Get 10,000 free credits when you sign up at docstrange.nanonets.com/app.
Extract data from documents (PDFs, images) with high accuracy using Nanonets AI:
- Extract (Sync) - Synchronous document extraction
- Extract (Async) - Queue documents for asynchronous processing
- Extract (Batch) - Process up to 50 files in a single batch
- Classify (Sync) - Classify documents into categories
- Classify (Batch) - Classify multiple documents in a batch
- Chat Completion - OpenAI-compatible chat with document understanding
- Get Result - Retrieve results for async extractions
- List Results - List all recent extraction results
- Markdown - Clean markdown with tables and formatting
- JSON - Structured data with custom schemas or field lists
- CSV - Table data extraction
- URL - Provide document URL
- Binary File - Use binary data from previous nodes
- Base64 - Provide file content as Base64 string
- Bounding boxes for coordinate data
- Confidence scores for extracted fields
- Custom instructions for specialized extraction
- Financial document optimization
- Go to Settings > Community Nodes in n8n
- Select Install
- Enter
n8n-nodes-nanonetsand click Install
# In your n8n installation directory
cd ~/.n8n/nodes
npm install n8n-nodes-nanonets- Sign up at docstrange.nanonets.com/app
- Get your API key from the dashboard
- In n8n, create new credentials for "Nanonets API"
- Enter your API key
- Add a Read Binary File node with your PDF
- Add a Nanonets node
- Set Operation to "Extract (Sync)"
- Set Output Format to "Markdown" or "JSON"
- Execute the workflow
- Set Output Format to "JSON"
- In Additional Fields > JSON Options, enter:
- Field list:
["invoice_number", "date", "total_amount"] - Or use
hierarchy_outputfor document structure
- Field list:
MIT