n8n-nodes-unstract
v0.5.7
Published
n8n nodes for Unstract services including LLMWhisperer and Unstract API
Readme
n8n-nodes-unstract
What is Unstract?
Unstract is a platform that helps extract structured data from unstructured documents using AI. It provides powerful APIs for document processing, including:
- LLMWhisperer: Convert documents to layout-preserved plain text
- Unstract API: Extract structured data from documents using custom workflows
Features
This package includes following main nodes:
🔤 LLMWhisperer Node
- Convert documents (PDF, images, etc.) to layout-preserved plain text
- Maintain document structure and formatting
- Support for various document formats
- Configurable processing modes
🤖 Unstract Node
- Process documents using Unstract's AI-powered extraction
- Extract structured data from unstructured documents
- Support for custom API deployments
- Seamless integration with Unstract workflows
📤 Unstract HITL Push Node
- Push documents to Human-in-the-Loop (HITL) processing queues
- Configure timeout, metrics, metadata, and queue targeting
- Support for various document types and queue configurations
- Error handling for upload and processing issues
📥 Unstract HITL Fetch Node
- Retrieve approved results from HITL processing queues
- Poll for completed processing with configurable intervals
- Optional queue name parameter for targeted fetching
- Proper error handling for "No approved items available" responses
Installation
Community Nodes (Recommended)
- Go to Settings > Community Nodes in your n8n instance
- Select Install a community node
- Enter the npm package name:
n8n-nodes-unstract - Click Install
Manual Installation
You can install this node package in your n8n instance using npm:
npm install n8n-nodes-unstractFor Docker installations, add the package to your n8n container:
# Replace <your-path-to-n8n-custom-nodes> with the path to n8n
N8N_CUSTOM_EXTENSIONS="<your-path-to-n8n-custom-nodes>" npx n8n startConfiguration
Prerequisites
Before using these nodes, you'll need:
API Credentials: Get your API keys from:
Node.js: Version 20 or above is required
Setting up Credentials
LLMWhisperer API Credentials:
- Go to your n8n credentials settings
- Create new credentials of type "LLMWhisperer API"
- Enter your LLMWhisperer API key
Unstract API Credentials:
- Go to your n8n credentials settings
- Create new credentials of type "Unstract API"
- Enter your Unstract API key and endpoint details
Unstract HITL Credentials:
- Go to your n8n credentials settings
- Create new credentials of type "Unstract HITL"
- Enter your HITL API key for Human-in-the-Loop processing
Usage Examples
LLMWhisperer Node
Use the LLMWhisperer node to convert documents to text while preserving layout:
- Add the LLMWhisperer node to your workflow
- Configure your API credentials
- Set the input file (binary data)
- Choose processing mode and options
- Execute to get layout-preserved text output
Unstract Node
Use the Unstract node to extract structured data:
- Add the Unstract node to your workflow
- Configure your API credentials and deployment
- Set the input document (binary data)
- Specify your API deployment name
- Execute to get structured data output
Unstract HITL Push Node
Use the HITL Push node to send documents for human review:
- Add the Unstract HITL Push node to your workflow
- Configure your HITL API credentials
- Set the input document (binary data)
- Configure queue name, timeout, and metadata options
- Execute to push document to HITL processing queue
Unstract HITL Fetch Node
Use the HITL Fetch node to retrieve approved results:
- Add the Unstract HITL Fetch node to your workflow
- Configure your HITL API credentials
- Optionally specify a queue name to target specific queues
- Configure polling interval and retry settings
- Execute to fetch approved results from HITL queue
Screenshots
Node Integration Examples
Visual guides for integrating Unstract nodes in your n8n workflows:
LLMWhisperer Node Configuration

Unstract Node Configuration

HITL Push Node Configuration

HITL Fetch Node Configuration

These screenshots help developers understand the visual setup and configuration of each node type for seamless integration into n8n workflows.
API Documentation
For detailed API documentation and advanced configuration options:
Development
Prerequisites
- Node.js 20 or above
- npm or yarn
Setup
# Clone the repository
git clone https://github.com/Zipstack/n8n-nodes.git
cd n8n-nodes
# Install dependencies
npm install
# Build the project
npm run build
# Run linting
npm run lintRunning n8n with Custom Nodes
For development and testing:
# Set the custom extensions path and start n8n
N8N_CUSTOM_EXTENSIONS="/path/to/n8n-nodes" npx n8n startSupport
- Documentation: docs.unstract.com
- Issues: GitHub Issues
- Community: Join our community discussions
- Email: [email protected]
License
This project is licensed under the MIT License - see the package.json file for details.
Contributing
We welcome contributions! Please feel free to submit issues, feature requests, or pull requests.
Made with ❤️ by the Unstract team
