Package Information
Released: 10 mo ago
Downloads: 2 weeklyΒ /Β 15 monthly
Latest Version: 0.1.0
Author: Doclayer
Available Nodes
Documentation generatingβ¦
Documentation
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
- π§ Email: support@doclayer.ai
- π¬ Discord Community
- π GitHub Issues