Skip to content
envexa

Concept Project · Automation platform

Workflow Automation Platform

A concept automation platform where business processes are drawn as graphs and executed as durable, observable workflows.

  • Next.js
  • TypeScript
  • Python
  • FastAPI
  • PostgreSQL
  • Redis
  • Docker

Concept Project. This is not a client engagement. The interface is a designed concept using sample data, and no users, revenue or production results are implied.

The problem

A realistic business problem.

Operations teams stitch tools together with scripts, email rules and manual steps. When something fails, nobody knows which step broke, whether it already ran, or whether re-running will duplicate an action.

No-code automation tools help, but they are often opaque in failure and hard to extend with custom logic.

Proposed solution

How the concept addresses it.

The concept models each automation as a directed graph of typed nodes: triggers, actions, conditions and approvals. A durable execution engine records every step's state, so a run can be paused, retried or resumed after a failure without repeating completed side effects.

The editor and run view share one canvas: you design the graph, then watch the same nodes light up as a run executes, with a log stream beside it.

Product features

Core capabilities.

  • Visual graph editor

    Nodes and connections define triggers, actions and branching conditions.

  • Live execution view

    Node status (waiting, running, succeeded, failed) updates in real time.

  • Retries and back-off

    Per-node retry policies with exponential back-off for transient failures.

  • Idempotent actions

    Idempotency keys prevent duplicate side effects when a step is retried.

  • Structured logs

    Each node emits searchable logs tied to the run and step.

  • Approval gates

    Steps can wait for a human decision before continuing.

Interface

Product screens.

Concept interface compositions that show key states of the product.

Engineering architecture

How it is built.

The request path runs top to bottom. Supporting services handle asynchronous work, state and external providers.

Architecture of Workflow Automation Platform: Frontend (Graph editor canvas, Run viewer with live logs) then API layer (FastAPI, Workflow definitions API, SSE log stream) then Business logic (Execution engine, Node registry, Retry & idempotency) then Database (PostgreSQL, Run & step state, Outbox table). Supporting services: Background worker, Redis, Webhooks & connectors, Dead-letter queue.

Technical challenges

What makes it hard.

  1. 01

    Exactly-once feelings from at-least-once systems

    Queues deliver at least once. Idempotency keys and a transactional outbox make repeated delivery safe for actions with external effects.

  2. 02

    Long-running and waiting steps

    Approvals and timers can last days. Persisting step state in the database, not in worker memory, allows workers to restart freely.

  3. 03

    Debuggability

    A run is only useful if you can see inputs, outputs and errors for each node. Structured, run-scoped logs and a replay view are core features.

Technology decisions

What we chose, and why.

State in PostgreSQL
Transactional run state gives a single source of truth and simple recovery after a crash.
Redis for queues and locks
Fast, simple primitives for dispatch and mutual exclusion; the database remains the system of record.
Typed node contracts
Each node declares input and output schemas, so invalid graphs fail at design time.
SSE for live logs
Simple one-way streaming is enough for log and status updates.

Outcome

What this concept shows.

No performance claims. Here is what the prototype demonstrates and how a production version would differ.

What the prototype demonstrates

  • A graph that is both the editor and the execution monitor
  • Success, failure and retry states communicated clearly
  • Log output tied to individual nodes

Problems it addresses

  • Invisible failures in glue scripts
  • Duplicate side effects after re-runs
  • Slow incident diagnosis for automated processes

What production would add

  • Horizontally scalable worker pool with per-queue concurrency limits
  • Versioned workflow definitions with safe migration of in-flight runs
  • Secrets management and per-node permission scopes

Possible future features

  • Sub-workflows and templates
  • Scheduling and cron triggers
  • Human-in-the-loop AI steps

Want something like this for your business?

We can scope a version of workflow automation platform around your data, users and constraints, and tell you honestly what it would take.