Overview
This documentation covers the installation, configuration, and operational guidance for both Monzo Technology products. Choose a guide to get started:
Shared infrastructure: Both products support Docker Compose and Kubernetes, share PostgreSQL + Redis as data layer, and can be deployed together with unified SSO and audit logging.
Documentation Updates
A dated record of changes to this documentation. Entries are added as updates are made.
November 2, 2026
Docs Added this update history and a sidebar link so documentation changes are easier to track.
Zenflow OA is an integrated Enterprise Office Automation platform for HR & organization management, attendance, payroll, performance, training, administration, assets, projects, and workflow automation.
1 Architecture Overview
[Web (React/TS)] → [API (Strapi)]
│
├─ DB: PostgreSQL / MySQL
├─ Cache: Redis
├─ Storage: S3 / MinIO / OSS
├─ Workflow: BPMN 2.0 Engine
└─ AuthZ: RBAC + ABAC + Audit
2 Requirements
Linux x86_64 / ARM64
Docker + Compose / Kubernetes
PostgreSQL 14+
Optional: Redis / MinIO / Nginx
3 Quick Start (Docker Compose)
git clone https://github.com/monzotechnology/zenflow-oa.git
cd zenflow-oa
cp .env.example .env
docker compose up -d
Create admin account:
curl -X POST http://localhost:1337/admin/auth/local/register \
-H 'Content-Type: application/json' \
-d '{"email":"admin@example.com","password":"ChangeMe!123"}'
Access the portal → https://zenflow.example.com
4 Reverse Proxy (Nginx)
server {
listen 443 ssl http2;
server_name zenflow.example.com;
ssl_certificate /etc/letsencrypt/live/zenflow/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/zenflow/privkey.pem;
location / {
proxy_pass http://web:8088;
}
location /api/ {
proxy_pass http://api:1337/;
}
}
5 Key Modules
Organization & HR — employee profiles, contracts, onboarding flows
Attendance & Leave — multi-method clock-in, leave tracking, appeals
Payroll & Benefits — auto calculation, batch disbursement, cost analysis
Performance & Training — goal setting, 360° feedback, analytics
Administration & Projects — assets, budgets, tasks, collaboration
Workflow & System — visual BPMN, conditions, notifications, audits
6 Integrations
SSO — OIDC / SAML / LDAP (Azure AD, Google Workspace)
Mail & IM — SMTP / Teams / Slack / Lark / Feishu
Finance & ERP — REST / GraphQL / Webhooks
Storage — S3 / MinIO / OSS
7 Monitoring & Backup
# Database backup
docker compose exec db pg_dump -U zenflow zenflow > backup.sql
# File backup
tar czf config_$(date +%F).tar.gz config/
Prometheus health endpoint: /api/health
8 Security & Compliance
Role- and attribute-based access control (RBAC + ABAC)
Full audit logging for login, workflow, and salary changes
Data localization and field-level masking (PII / salary)
Configurable retention policies and export restrictions
9 Common Issues
Problem Solution
Stuck workflow Verify BPMN definition & queue status
Export encoding Ensure UTF-8 & fonts installed
Missing attachments Check object storage bucket policy
10 Vault CX + Zenflow OA Integration
Unified SSO (IdP / SCIM) for shared users and roles
OA organizational data used as Vault CX ABAC attributes
Unified audit logging to Grafana / Loki
Shared deployment cycle and version governance
11 Release Flow
Feature branch → PR → CI/CD test → build image
Tag vX.Y.Z → push to registry
Run DB migration if needed
Update changelog and Helm chart
12 FAQ
Can it run offline? Yes, both products support air-gapped Docker images.
Can OA and Vault CX share auth? Yes, via a central IdP (Keycloak / Azure AD).
Is multilingual supported? Yes — EN / ZH / JA.
RPO/RTO targets? RPO ≤ 15 min, RTO ≤ 30 min.
Vault CX is a self-hosted AI Operations & Knowledge Platform that unifies AI monitoring, model governance, and knowledge automation in a single, secure environment.
1 Architecture Overview
[Web (Next.js)] → [API (FastAPI)]
│
├─ Models: Ollama / OpenAI / Anthropic / Local
├─ Vector DB: FAISS / Milvus / Chroma
├─ DB: PostgreSQL (primary) + Redis (cache/queue)
├─ Storage: S3 / MinIO / OSS
├─ Telemetry: Prometheus + Grafana
└─ Logs/Traces: Loki / ELK / OTLP
Security: JWT + RBAC/ABAC, org-domain-project isolation, full audit trail.
Governance: prompt versioning, SLO dashboards, feature flags, tool success-rate monitoring.
Widgets: embeddable chat widgets via script or iframe with domain whitelist control.
2 Requirements
Linux x86_64 / ARM64 (Ubuntu 22.04+ / RHEL 9+)
Docker 24+ / Compose v2 or Kubernetes 1.26+
PostgreSQL 14+, Redis 6+
Optional: MinIO / Prometheus / Grafana / Loki
Ports: 80 / 443 / 8080 / 3000 / 5432 / 6379
3 Quick Start (Docker Compose)
git clone https://github.com/monzotechnology/vaultcx.git
cd vaultcx
cp .env.example .env
docker compose up -d
Initialize admin:
docker compose exec api vxcctl admin create \
--email admin@example.com --password "ChangeMe!123"
Then visit → https://vaultcx.example.com
4 Reverse Proxy + TLS (Nginx)
server {
listen 443 ssl http2;
server_name vaultcx.example.com;
ssl_certificate /etc/letsencrypt/live/vaultcx/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/vaultcx/privkey.pem;
location / {
proxy_pass http://web:3000;
}
location /api/ {
proxy_pass http://api:8080/;
}
}
5 Configuration Highlights
Domains & Prompts — define YAML prompt files under /config/prompts.
Feature Flags & Rate Limits — controlled in /config/app.yaml.
Access Control — role-based (super-admin, editor, viewer) + ABAC for fine-grained policies.
7 Monitoring & SLO
Exposes Prometheus metrics at /metrics
Grafana dashboard → vaultcx-slo.json
Key indicators: QPS, Latency P95, Tool Success Rate, Token Usage
8 Backup & Upgrade
# Backup database
docker compose exec db pg_dump -U vaultcx vaultcx > backup.sql
# Pull latest image and apply migrations
docker compose pull && docker compose up -d
docker compose exec api vxcctl migrate db
9 Troubleshooting
Issue Cause / Fix
401 Unauthorized Check JWT_SECRET and CORS origin whitelist
Vector load fail Ensure VECTOR_PATH is mounted and writable
Widget not loading Confirm domain is in allowed list
Tool failure rate ↑ Re-authenticate API keys or permissions
Latest stable: v3.3.0 · Released Jul 24, 2026
Product Optimization Focus
Nov 2, 2026
Proposed improvement areas — these are planning themes, not confirmation of shipped features.
Planned Make approval workflows easier to follow with clearer hand-off status and exception summaries.
Planned Improve payroll review with more visible validation results and a clearer pre-submit checklist.
Planned Streamline administration with more consistent filters, exports, and audit-history navigation.
v3.3.0
Jul 24, 2026
New
Improvement
Fix
New Workflow Copilot with approval brief, risk score, and SLA prediction
New Cross-company delegation rules for regional approver fallback
Improvement Payroll processing pipeline throughput increased by 38%
Fix Expense attachment preview fail on HEIC files
Feature Walkthrough: Workflow Copilot
Workflow Copilot is designed for managers handling high-volume approvals.
Collects request context: submitter role, department budget, historical approval outcomes.
Generates a plain-language summary with risk and urgency indicators.
Suggests the best next approver path according to policy and organization chart.
Writes every suggestion and override into audit logs for traceability.
v3.2.1
Jun 12, 2026
New
Fix
New AI-assisted performance review summary with GPT integration
New Bulk payroll recalculation with preview diff before commit
New Department budget vs. actual real-time dashboard
Fix Overtime calculation rounding error on DST boundaries
Fix Avatar upload failing on certain MIME types
v3.2.0
May 8, 2026
New Smart attendance scheduling with conflict detection
New Geo-fence v2 — polygon zones and multi-office support
New Workflow visual debugger with execution trace playback
Fix Leave balance sync delay on cross-timezone teams
v3.1.5
Apr 3, 2026
New Multi-currency payroll — USD / CNY / AED / SGD
New 360° feedback redesign with anonymous submission mode
Fix Training completion certificate not generating for some users
Fix SSO token expiry not triggering re-auth on SAML providers
v3.1.4
Mar 6, 2026
New Asset QR code bulk print export
Fix Leave appeal form not saving attachments > 5 MB
Fix Contract expiry reminder email not firing for contractors
Fix Payroll slip PDF layout broken on Arabic locale
v3.1.3
Feb 5, 2026
New Automated training path assignment by job role
New Mobile app v2 — offline punch-in and push notifications
Fix Org chart failing to render when reporting chain > 8 levels
Fix Excel export truncating long text fields
v3.1.2
Jan 10, 2026
Fix Payroll rounding producing 0.01 discrepancy in batch totals
Fix Export encoding corruption on Windows clients (UTF-8 BOM)
Security Dependency upgrade — axios XSS patch (CVE-2025-9142)
v3.1.0
Dec 4, 2025
New BPMN 2.0 engine upgrade — parallel gateways and timer events
New Audit trail dashboard with filterable export
New HR Analytics module — turnover prediction (beta)
New Webhook push for external ERP synchronization
v3.0.5
Nov 7, 2025
Security RBAC privilege escalation patch (CVE-2025-4812)
Fix Session token not invalidated after password reset
Latest stable: v2.6.0 · Released Jul 26, 2026
Product Optimization Focus
Nov 2, 2026
Proposed improvement areas — these are planning themes, not confirmation of shipped features.
Planned Make knowledge answers easier to verify by improving source visibility and retrieval evaluation.
Planned Clarify operational health with more actionable views of latency, errors, and alert context.
Planned Make policy testing easier to review with clearer scenario coverage and version comparisons.
v2.6.0
Jul 26, 2026
New Live Guardrails Engine for prompt and response policy enforcement
New Policy Simulator with replay mode for historical conversations
Improvement RAG cache layer reduced average response latency by 23%
Fix False positive injection alerts on markdown code blocks
Feature Walkthrough: Live Guardrails & Policy Simulator
This release adds a safer way to launch model changes in enterprise environments.
Build policy rules by domain: PII, compliance terms, data boundaries, and tool permissions.
Run simulator scenarios before publish to preview blocked, redacted, or approved outputs.
Enable live checks in production with alerting for policy hit rates and severity.
Roll back instantly to previous policy version if quality or compliance drops.
v2.5.0
Jun 18, 2026
New GPT-4o and Claude 3.5 Sonnet support with streaming responses
New Knowledge graph visualization — entity relationship explorer
New Multi-agent orchestration framework (sequential + parallel modes)
New Tool marketplace — 30+ pre-built integrations (Jira, Salesforce, Zendesk)
Fix RAG retrieval quality degradation on large corpora (> 1M chunks)
v2.4.3
May 14, 2026
New Prompt playground with A/B testing and version comparison
New SLO alerting — PagerDuty / Slack / webhook triggers
New Tenant-level model cost tracking and budget limits
Fix Widget scroll position reset on message append
v2.4.2
Apr 11, 2026
New Chat widget v2 — rich cards, file attachments, reaction buttons
New Conversation export in JSON / CSV / PDF formats
Fix Milvus collection not auto-creating on first vector insert
v2.4.1
Mar 13, 2026
New SCIM 2.0 user provisioning from Azure AD
Fix JWT refresh loop when Redis session store disconnects
Fix CORS preflight failing on subpath reverse proxy configurations
Fix Vector search returning duplicate chunks from same document
v2.4.0
Feb 10, 2026
New Prompt versioning with rollback and side-by-side diff view
New Per-domain feature flags with gradual percentage rollout
New Grafana SLO dashboard bundled (vaultcx-slo.json v2)
v2.3.8
Jan 8, 2026
Fix Milvus gRPC connection timeout under high concurrency
Fix Missing CORS headers on /metrics endpoint
Fix Admin invite email not sending via SMTP relay
v2.3.5
Dec 2, 2025
New Loki log integration — structured request/response traces
New ELK stack support via OTLP exporter
v2.3.2
Nov 12, 2025
Security ABAC policy evaluation hardening — deny-by-default on missing context
Security Dependency audit — upgraded 14 packages with known CVEs