← ALL WORK
AI-BUILT // DEVELOPER-DIRECTED

Built end-to-end with AI. A developer directed the requirements, information design, safeguards, refinement, and verification.

AI + AUTOMATION BUILD RECEIPT RPA orchestration

Invoice Exception
Control Room.

A fictional invoice queue demonstrates routine posting, exception routing, one controlled retry, and duplicate protection.

01 WHAT THE SYSTEM DOES

From invoice to a safe next step.

The automation handles routine matches and makes every exception visible instead of guessing.

INPUT12 fictional invoices

Known and unknown vendors, missing data, amount differences, a duplicate, and one temporary posting failure.

DECISIONRules before posting

Check duplicate, vendor, PO, and variance. Retry a temporary failure once.

OUTPUT8 posted · 3 reviewed · 1 quarantined

Illustrative review load: 12 → 3 (−75%).

SYNTHETIC AUTOMATION // READY

Run the 12-invoice model

Press Start and follow one numbered invoice through the workflow. Open the records only when you want the detail.

Completed static result: 8 posted, 3 in human review, 1 quarantined.

01Queued0 invoices
02 // DETERMINISTIC RULESValidating0 invoices
03 // RULES PASSEDMatched0 invoices
04A // WARNINGRetrying0 invoices
05 // VERIFIEDPosted8 invoices
03B // HUMANHuman review3 invoices
03C // PROTECTEDQuarantined1 invoices

Posted8 / 12

Human review3 / 12

Retried1 / 12

Quarantined1 / 12

Inspect the 12 invoice recordsTABLE + DECISION PATH
DATASET // 12 FIXTURES

Invoice queue

Select a row to inspect its deterministic decision path.

Twelve fictional invoices synchronized with the workflow diagram and audit log
InvoiceVendorPOInvoice amountPO amountValidation decisionCurrent state
Northstar SuppliesKNOWN VENDORPO-4101€1,280.00€1,280.00Validation passedPosted
Acme ServicesKNOWN VENDORPO-4102€2,460.00€2,424.00Validation passedPosted
Blue Oak LogisticsKNOWN VENDORPO-4103€780.00€780.00Validation passedPosted
Northstar SuppliesKNOWN VENDORPO-4104€3,150.00€3,120.00Validation passedPosted
Acme ServicesKNOWN VENDORPO-4105€940.00€940.00Validation passedPosted
Blue Oak LogisticsKNOWN VENDORPO-4106€1,765.00€1,750.00Validation passedPosted
Northstar SuppliesKNOWN VENDORPO-4107€520.00€520.00Validation passedPosted
Acme ServicesKNOWN VENDORPO-4108€2,290.00€2,290.00Matched; transient failure recoveredPosted
Blue Oak LogisticsKNOWN VENDORMissing€680.00Missing purchase orderHuman review
Northstar SuppliesKNOWN VENDORPO-4110€1,060.00€1,000.00Amount variance above 2%Human review
Unregistered VendorUNKNOWN VENDORPO-4111€840.00€840.00Unknown vendorHuman review
Acme ServicesKNOWN VENDORPO-4112€1,550.00€1,550.00Duplicate detectedQuarantined
Audit log45 deterministic events recorded.
Exact outcome values
Current control-room bar values from the deterministic simulation state
OutcomeCurrent valueDenominatorRelationship
Posted812Terminal outcome; includes retry success
Human review312Terminal outcome requiring human judgment
Retried112Posting path; overlaps with posted
Quarantined112Terminal duplicate-protection outcome
Inspect exact rule order6 deterministic rules
Deterministic rules applied to the synthetic invoice queue
PriorityRuleConditionResultPurpose
01Duplicate protectionAn invoice is already recorded as received.quarantinedStop processing and quarantine the duplicate before any posting attempt.
02Vendor validationThe vendor is not present in the synthetic approved-vendor register.human reviewRoute the invoice to a person instead of guessing vendor identity or payment details.
03Purchase-order presenceNo purchase-order number or comparable purchase-order amount is available.human reviewAsk a person to resolve the missing business reference.
04Amount variance thresholdAbsolute invoice-to-PO variance is greater than 2% of the PO amount.human reviewValues at or below 2% may continue; values above the threshold require human judgment.
05Matched postingThe invoice passes duplicate, vendor, PO, and variance validation and posting succeeds.direct postMark the invoice matched and post it once.
06Controlled transient retryA validated invoice encounters its configured transient posting failure.retry successRetry exactly once; the deterministic second posting attempt succeeds.

AI BUILD RECEIPT // PROMPT STRATEGY

One thought. Several skilled prompts.

This result took several skilled prompt passes—not one magic instruction. The copy-ready prompt below carries the current source revision.

01 // REDUCED THOUGHT

Starting thought for the invoice automation

Show how an AI-assisted invoice automation can validate routine work, expose exceptions, involve people where judgment is needed, and publish enough of the build method that another developer can learn from it.

Reduced to the durable product intent. Personal phrasing, hidden instructions, tool traces, and unrelated editor context are not published.

02 // SKILLED PROMPT PASSES

Each pass resolves a different kind of decision.

  1. 01
    Model the systemRules + outcomes

    Define fictional invoice inputs, rule precedence, exception reasons, one bounded retry, and exact expected totals before designing the interface.

  2. 02
    Design the explanationUX + accessibility

    Make input, decision, and output understandable at a glance. Keep deeper tables and evidence available without placing everything on screen at once.

  3. 03
    Build the interactionAstro + deterministic state

    Connect Start, Pause, Reset, replay, diagram, rows, audit events, and metrics to one pure evaluator with static and reduced-motion fallbacks.

  4. 04
    Review and refineHuman direction + verification

    Test the real page, fix replay so invoice 01 visibly returns, reduce visual density, verify the claims, and publish only the prompt material safe for visitors.

03 // CURRENT PAGE PROMPTReady-to-copy prompt for the current page

PROVENANCEGenerated at build time from current content and page sources. Revision a7939ae98b2e.

UPDATED

AUTO-SYNCED PAGE PROMPT // REVISION a7939ae98b2e. The revision changes when this case page, its control room, prompt receipt, layout, global styling, or schema-backed content changes.

current-page-prompt.txt
Update the AI-built, developer-directed Invoice Exception Control Room at /work/invoice-exception-control-room/

CURRENT SOURCE REVISION: a7939ae98b2e

PURPOSE
Present a fictional sample of what an invoice automation could look like. Do not imply that the developer delivered or operated the underlying invoice system. Explain the model clearly enough for a potential client to understand the design judgment and the role AI played in creating the demonstration.

OPENING
State near the beginning that the page was created end-to-end with AI assistance while a developer directed the requirements, information design, safeguards, refinement, and verification. Keep the hero concise and label all results synthetic.

SYSTEM STORY
Explain three things before the interactive control room:
1. Input: 12 fictional invoices.
2. Decision: deterministic duplicate, vendor, purchase-order, variance, and retry rules.
3. Output: 8 posted, 3 sent to human review, and 1 quarantined.

INTERACTION
Provide Start, Pause, and Reset. Replay must visibly restore INV-2601 and the queued state before advancing. Keep the workflow map and live outcomes visible; place the invoice table, audit log, exact metrics, and full rule order in accessible disclosures. Preserve keyboard focus, semantic tables, no-JavaScript content, and reduced-motion behavior.

AI BUILD RECEIPT
Do not publish the user's original wording. Show a clearly labeled condensed starting thought, then four skilled prompt passes: system model, explanation design, interaction build, and human review/verification. Finish with this copy-ready prompt and its source revision. Exclude hidden instructions, private traces, company data, and unrelated editor content.

TRUTHFULNESS
State that this is not a client or production implementation. Use only the deterministic synthetic fixture. Preserve seven direct posts, one retry success, three human reviews, one quarantine, and the illustrative 12-to-3 manual-review comparison. Make no production, ROI, savings, speed, or accuracy claim.

IMPLEMENTATION
Use the existing Astro content collection, pure invoice evaluator, scoped components, native scripts, CSS, and inline SVG. Add no backend, live AI call, framework, or chart dependency. Verify tests, Astro diagnostics/build, replay, disclosures, prompt copying, responsive layouts, reduced motion, no-JavaScript rendering, and formatting before updating the public receipt.

03 // BOUNDARIESWhat this demonstration does not prove

All invoice identifiers, vendors, purchase orders, and amounts are fictional and exist only to exercise deterministic workflow branches.

  • This is a deterministic portfolio simulation, not a production deployment or benchmark.
  • The vendor register, PO matching, duplicate flag, transient error, and second-attempt success are explicit fixtures rather than integrations with finance systems.
  • The example does not estimate staff time, processing duration, financial return, accuracy, or employer outcomes.
  • Real automation would require authentication, authorization, audit retention, integration contracts, operational monitoring, and organization-specific approval policy.

OPEN CHANNEL YOUR PROCESS, YOUR CONTROLS

Have an automation
worth making clearer?

Discuss an automation