n8n-nodes-doclayer


This is an n8n community node for Doclayer - an AI-powered document processing, extraction, and search platform.
n8n is a fair-code licensed workflow automation platform.
Features
- 📄 Document Management - List, retrieve, and delete documents
- 📤 Document Ingestion - Upload documents with optional AI agent processing
- 🔍 Semantic Search - Vector, graph, and table search capabilities
- 📁 Project Management - Create and manage document projects
- 🤖 Agent Templates - Browse and use pre-built extraction agents
- ⚡ Workflow Monitoring - Track and manage processing workflows
- 💰 Billing & Usage - Track costs, usage breakdown, and estimates
- 🧠 Model Configuration - Manage LLM and embedding models
- 📊 Status Monitoring - Monitor job status and grounding coverage
Installation
Community Nodes (Recommended)
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-doclayer
- Agree to the risks and click Install
Manual Installation
# In your n8n installation directory
pnpm install n8n-nodes-doclayer
Or with npm:
npm install n8n-nodes-doclayer
Configuration
Credentials
- In n8n, go to Credentials > New
- Search for "Doclayer API"
- Enter your credentials:
- API Key: Your Doclayer API key
- Base URL: Your Doclayer instance URL (default:
https://api.doclayer.ai)
Operations
Document
| Operation |
Description |
| List |
List all documents in your account |
| Get |
Retrieve a specific document by ID |
| Get Chunks |
Get document chunks (text segments) |
| Get Extractions |
Get AI-extracted data from a document |
| Delete |
Delete a document |
Ingestion
| Operation |
Description |
| Upload Document |
Upload a file for processing |
| Get Presigned URL |
Get a URL for direct file upload |
| List Jobs |
List all ingestion jobs |
| Get Job |
Get details of an ingestion job |
| Process Job |
Trigger processing for a job |
| Cancel Job |
Cancel an active ingestion job |
| Retry Job |
Retry a failed ingestion job |
| Get Insights |
Get AI-generated insights from a job |
Search
| Operation |
Description |
| Vector Search |
Semantic search using embeddings |
| Graph Search |
Search using knowledge graph |
| Table Search |
Search within extracted tables |
Project
| Operation |
Description |
| List |
List all projects |
| Get |
Get project details |
| Create |
Create a new project |
| Delete |
Delete a project |
Agent Template
| Operation |
Description |
| List |
List available agent templates |
| Get |
Get template details |
Workflow
| Operation |
Description |
| List |
List all workflows |
| Get |
Get workflow status |
| Get History |
Get workflow execution history |
| Cancel |
Cancel a running workflow |
| Retry |
Retry a failed workflow |
Billing
| Operation |
Description |
| Get Usage |
Get current period usage breakdown |
| Get History |
Get billing history by month |
| Get Tier |
Get current tier information |
| Get Breakdown |
Get detailed cost breakdown by model |
| Estimate Cost |
Estimate processing costs for an agent |
Model
| Operation |
Description |
| Get Config |
Get current LLM and embedding configuration |
| List Available |
List all available models by provider |
| Set LLM |
Configure LLM provider and model |
| Set Embedding |
Configure embedding provider and model |
| Test Model |
Test model with sample text |
Status
| Operation |
Description |
| List Jobs |
List ingestion jobs with filtering |
| Inspect Job |
Get detailed job information |
| Get Grounding Report |
Get extraction grounding coverage |
Example Workflows
Upload and Extract Data
1. Trigger →
2. Read Binary File →
3. Doclayer (Upload Document with agent_id) →
4. Wait (for processing) →
5. Doclayer (Get Extractions) →
6. Process Data
Semantic Search
1. Webhook (with search query) →
2. Doclayer (Vector Search) →
3. Format Results →
4. Respond to Webhook
Document Processing Pipeline
1. Watch Folder →
2. Doclayer (Upload Document) →
3. Loop: Check Status →
4. Doclayer (Get Extractions) →
5. Send to Database/API
Cost Monitoring Workflow
1. Schedule Trigger (daily) →
2. Doclayer (Billing: Get Usage) →
3. IF cost > threshold →
4. Send Alert (Slack/Email)
Model Configuration
1. Webhook →
2. Doclayer (Model: Set LLM) →
3. Doclayer (Model: Test) →
4. Return Success/Failure
Agent Templates
Doclayer provides pre-built agent templates for common use cases:
- contracts.msa-risks - Extract risks from Master Service Agreements
- compliance.aml-entity-lookup - AML entity verification
- engineering.component-extractor - Extract technical components
- And many more...
Use the Agent Template ID field when uploading documents to automatically apply extraction agents.
Development
# Clone the repository
git clone https://github.com/doclayer/n8n-nodes-doclayer.git
cd n8n-nodes-doclayer
# Install dependencies
pnpm install
# Build
pnpm build
# Link for local testing
pnpm link --global
Resources
Support
License
MIT