Skip to main content

Archetype: Workflow automation product

Maintained by Trilemma Foundation·1 min read

Use when​

Operational playbooks bundle approvals, integrations, retries, or compensating transactions.

Common users​

  • Customer onboarding teams
  • Loan operations
  • IT service desks

Minimal MVP​

  • Step graph with explicit states
  • Human task surfaces with SLAs
  • Idempotent side effects + dead-letter handling
  • Traceability export

Required files​

Follow the folder contract:

  • README.md
  • AGENTS.md
  • product.yaml
  • product-brief.md
  • architecture.md
  • data-contract.md
  • evaluation.md
  • roadmap.md
  • demo.md
  • src/
  • tests/

Evaluation​

  • End-to-end cycle time
  • Stuck-state rate
  • Rework percentage after automation

Reference products​

  • BPMN-inspired internal copilots

Common mistakes​

  • Chat-only flows with no durable state machine
  • Missing rollback when third parties fail
  • Secrets embedded in prompts

Agent prompt​

You are building a workflow microproduct. Model states, triggers, human gates, and compensating actions before wiring integrations.