← Engineering notebook

Automation · Integrations · Applied AI / PERSONAL PROJECT

FlowDesk

A synthetic invoice workflow with idempotent ingestion, human approval and measurable AI assistance.

Planned · scope defined

The problem

Business workflows need to survive duplicates, missing data and unavailable integrations. AI output needs a bounded role and a human decision point.

Technical approach

Authenticated webhook → validated data → persistence → optional AI assistance → human approval → simulated ERP adapter. A deterministic mock is the initial provider and will be labelled in the demo.

  • TypeScript
  • Node.js
  • PostgreSQL
  • REST
  • Docker Compose

Acceptance criteria

  1. A repeated or concurrent event creates one request.
  2. A requester cannot approve their own invoice.
  3. Retries are bounded, visible and recoverable after an integration failure.
  4. Evaluate 30 labelled synthetic cases, including missing fields and prompt injection attempts.
  5. Report observed errors and limitations; no claimed accuracy before evaluation.

Build log

Workflow and evaluation plan defined

The planned states, failure cases and human approval boundary are documented. There is no deployed application or measured AI result yet.

JUAN OVALLES.© 2026 Juan Ovalles — Zürich, CHBuilt with Next.js