@velocity-bpa/n8n-nodes-alloy-compliance
v1.0.0
Published
n8n community node for Alloy Compliance API
Readme
n8n-nodes-alloy-compliance
[Velocity BPA Licensing Notice]
This n8n node is licensed under the Business Source License 1.1 (BSL 1.1).
Use of this node by for-profit organizations in production environments requires a commercial license from Velocity BPA.
For licensing information, visit https://velobpa.com/licensing or contact [email protected].
A comprehensive n8n community node for Alloy Compliance that provides access to 6 core resources for compliance automation and monitoring. Enables seamless integration with Alloy's compliance platform for entity screening, document management, evaluation workflows, and real-time webhook monitoring.
Features
- Entity Management - Create, update, and manage compliance entities with comprehensive screening capabilities
- Document Processing - Upload, retrieve, and manage compliance documents with metadata tracking
- Evaluation Workflows - Execute and monitor compliance evaluations with detailed results and status tracking
- Watchlist Integration - Access and manage watchlist entries for ongoing compliance monitoring
- Workflow Automation - Configure and manage compliance workflows with customizable triggers and actions
- Real-time Webhooks - Set up webhook endpoints for instant compliance event notifications and updates
- Comprehensive Screening - Perform KYC, AML, and sanctions screening across multiple data sources
- Audit Trail Support - Maintain detailed logs and history for compliance reporting and auditing
Installation
Community Nodes (Recommended)
- Open n8n
- Go to Settings → Community Nodes
- Click Install a community node
- Enter
n8n-nodes-alloy-compliance - Click Install
Manual Installation
cd ~/.n8n
npm install n8n-nodes-alloy-complianceDevelopment Installation
git clone https://github.com/Velocity-BPA/n8n-nodes-alloy-compliance.git
cd n8n-nodes-alloy-compliance
npm install
npm run build
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-alloy-compliance
n8n startCredentials Setup
| Field | Description | Required | |-------|-------------|----------| | API Key | Your Alloy Compliance API key | Yes | | Environment | API environment (sandbox/production) | Yes | | Base URL | Custom API base URL (if applicable) | No |
Resources & Operations
1. Evaluation
| Operation | Description | |-----------|-------------| | Create | Create a new compliance evaluation | | Get | Retrieve an existing evaluation by ID | | List | List all evaluations with filtering options | | Update | Update evaluation status or metadata | | Delete | Remove an evaluation from the system |
2. Entity
| Operation | Description | |-----------|-------------| | Create | Create a new entity for compliance screening | | Get | Retrieve entity details and screening results | | List | List all entities with search and filter capabilities | | Update | Update entity information and re-screen | | Delete | Remove an entity from the compliance system | | Screen | Perform on-demand screening of an entity |
3. Document
| Operation | Description | |-----------|-------------| | Upload | Upload compliance documents with metadata | | Get | Retrieve document details and download links | | List | List all documents with filtering and search | | Update | Update document metadata and tags | | Delete | Remove documents from the system | | Download | Download document content |
4. Watchlist
| Operation | Description | |-----------|-------------| | Create | Add new entries to watchlists | | Get | Retrieve specific watchlist entry details | | List | List watchlist entries with search capabilities | | Update | Modify watchlist entry information | | Delete | Remove entries from watchlists | | Search | Search across all watchlist entries |
5. Workflow
| Operation | Description | |-----------|-------------| | Create | Create new compliance workflows | | Get | Retrieve workflow configuration and status | | List | List all workflows with filtering options | | Update | Modify workflow settings and triggers | | Delete | Remove workflows from the system | | Execute | Manually trigger workflow execution |
6. Webhook
| Operation | Description | |-----------|-------------| | Create | Set up new webhook endpoints | | Get | Retrieve webhook configuration details | | List | List all configured webhooks | | Update | Modify webhook settings and URLs | | Delete | Remove webhook configurations | | Test | Send test events to webhook endpoints |
Usage Examples
// Create a new entity for compliance screening
{
"name_first": "John",
"name_last": "Doe",
"birth_date": "1985-06-15",
"document_ssn": "123-45-6789",
"address_line_1": "123 Main St",
"address_city": "New York",
"address_state": "NY",
"address_postal_code": "10001",
"address_country_code": "US"
}// Upload a compliance document
{
"entity_token": "ent_abc123def456",
"document_type": "government_id",
"file_name": "drivers_license.pdf",
"file_content": "base64_encoded_content",
"metadata": {
"issuing_authority": "NY DMV",
"expiration_date": "2025-12-31"
}
}// Create a compliance evaluation
{
"entity_token": "ent_abc123def456",
"evaluation_type": "kyc_screening",
"workflow_token": "wfl_xyz789abc123",
"custom_parameters": {
"risk_threshold": "medium",
"include_sanctions": true,
"include_pep": true
}
}// Set up a webhook for real-time notifications
{
"url": "https://your-app.com/webhook/alloy-compliance",
"events": ["evaluation.completed", "entity.flagged", "document.processed"],
"secret": "your_webhook_secret",
"active": true,
"description": "Compliance notifications webhook"
}Error Handling
| Error | Description | Solution | |-------|-------------|----------| | 401 Unauthorized | Invalid API key or expired credentials | Verify API key is correct and active | | 403 Forbidden | Insufficient permissions for operation | Check API key permissions and account limits | | 404 Not Found | Requested resource does not exist | Verify entity/document/evaluation tokens are correct | | 429 Rate Limited | Too many requests sent | Implement exponential backoff and retry logic | | 422 Validation Error | Request data validation failed | Check required fields and data formats | | 500 Internal Error | Alloy service temporarily unavailable | Retry request after brief delay |
Development
npm install
npm run build
npm test
npm run lint
npm run devAuthor
Velocity BPA
- Website: velobpa.com
- GitHub: Velocity-BPA
Licensing
This n8n community node is licensed under the Business Source License 1.1.
Free Use
Permitted for personal, educational, research, and internal business use.
Commercial Use
Use of this node within any SaaS, PaaS, hosted platform, managed service, or paid automation offering requires a commercial license.
For licensing inquiries: [email protected]
See LICENSE, COMMERCIAL_LICENSE.md, and LICENSING_FAQ.md for details.
Contributing
Contributions are welcome! Please ensure:
- Code follows existing style conventions
- All tests pass (
npm test) - Linting passes (
npm run lint) - Documentation is updated for new features
- Commit messages are descriptive
Support
- Issues: GitHub Issues
- API Documentation: Alloy Compliance API Docs
- Community Support: Alloy Community Forum
