Zen Automation
Define workflows visually. Run them autonomously.
Every operations team runs recurring processes — syncing data between systems, monitoring for exceptions, assigning resources, verifying data integrity. This module replaces hardcoded scripts and one-off cron jobs with a configurable workflow engine. Define automations through a visual admin interface, chain steps together, schedule them, and monitor everything. New workflows are database rows, not code deploys.

From configuration to execution — no code required
Define automation
Use the admin UI to name your workflow, describe what it does, and set parameters.
Set scope query
Filter which entities to process — active records, stale data, unassigned resources.
Chain steps
Link edge functions, webhooks, and RPCs in sequence. Each step receives the output of the previous one.
Schedule via cron
Set any cron schedule — every 5 minutes, hourly, daily. Native PostgreSQL scheduling.
Monitor results
Real-time dashboard shows run history, step traces, success rates, and timing.
What the module provides
A generic workflow engine that runs any automation you define — your business rules drive what it does.
Visual Configuration
Build automations through the admin UI. Define scope, steps, schedule, and rate limits — no SQL or deploys.
Generic Runner
One function runs all automations. It reads config from the database and executes the step chain.
Scope Queries
Filter which entities to process: active records, stale data, pending tasks. RPC or table-based scoping.
Step Chaining
Chain functions, webhooks, and RPCs in sequence. Output flows forward. Early exit on empty results.
Cron Scheduling
pg_cron manages schedules natively in Postgres. Any interval, fully configurable.
Execution Monitoring
Real-time dashboard shows run history, step traces, success/failure rates, and timing for every run.
Per-Entity Rate Limits
Each entity has its own refresh rate. The runner skips recently processed items — no wasted API calls.
Multi-Tenant Isolation
Every automation enforces tenant boundaries. Cross-tenant data access is architecturally impossible.
Replaces custom scripts across any domain
Any recurring process that touches multiple systems or requires monitoring can be configured as a workflow.
Automated system synchronization
Sync data between your ERP, CRM, and operational systems on any schedule. Monitor for exceptions and auto-escalate.
Employee lifecycle workflows
Automate onboarding steps, credential provisioning, compliance checks, and offboarding sequences.
Reconciliation and exception handling
Schedule reconciliation processes, flag discrepancies, and route exceptions to the right team automatically.
Vendor and inventory monitoring
Monitor inventory levels, trigger reorder workflows, verify vendor data integrity, and escalate exceptions.
Let's turn your recurring processes into configurable workflows
We bring the automation engine. You define the business rules. Together we replace fragile scripts with a workflow system your operations team can manage.
Start a Conversation