User Journey
What a person sees across the whole DocFlow journey, and where DocFlow's own steps are.
Upload to results
Someone with an invoiceDOCFLOW-V1-E0-09DOCFLOW-V1-E2-05
Starts when: Starts on My documents.
The personSees My documents, or 'Upload your first invoice' with a sample invoice to try.
The systemDocFlow lists the person's documents with status and next action.
The personUploads, sees a preview of the file, and taps Continue to the extraction page.
The systemDocFlow starts the document, Upload stores and checks the file, DocFlow starts Extraction, and the upload screen shows Upload's FilePreview.
The personWatches the steps, then sees 'Review 3 flagged fields' and the three fields; the fields read with high confidence stay hidden until payment.
The systemExtraction tells DocFlow it finished; DocFlow sends the fields to Review.
The personChecks the flagged fields and taps Complete review.
The systemDocFlow re-checks the values with Extraction and completes the review.
Result: The results can be previewed, built from Review's values; downloads are locked until payment.
Preview, pay and download
Someone with reviewed resultsDOCFLOW-V1-E5-01DOCFLOW-V1-E5-03PAYMENT-V1-E6-01DOCFLOW-V1-E7-01DOCFLOW-V1-E7-02
Starts when: Opens the results.
The personSees a preview of the JSON and the CSV: four fields, and how many more unlock after payment; download buttons say 'Pay to download'.
The systemDocFlow builds a limited preview from Review's latest values; downloads answer 402 until paid.
The personTaps Pay $5.00 and pays on Stripe's page.
The systemDocFlow's server asks Payment for an order at $5.00.
The personLands on the success page: 'Confirming payment…', then the buttons work.
The systemThe success page polls the order; Payment's event tells DocFlow it is paid; DocFlow asks Delivery to email.
The personTaps Download CSV; opens it in Excel with correct characters.
The systemDocFlow checks the order is paid, builds the CSV from Review's latest values and returns it. The CSV is UTF-8 with a BOM.
Result: The person has their files and an email with a link back.
Correct a value on the results page
Someone with results, before or after payingDOCFLOW-V1-E5-04REVIEW-V1-E4-02
Starts when: Spots a wrong value in the preview.
The personTaps Edit beside the value, types the right one and saves.
The systemReview's field component saves the correction in Review, with its history (Review allows corrections after completion).
The personSees the preview update, and a warning if the new value breaks a rule, such as the total no longer adding up.
The systemDocFlow rebuilds the results from Review's latest values and re-runs Extraction's checks.
The personDownloads again.
The systemThe download is built from the corrected values. No new payment is asked for.
Result: The corrected values are the final document; every earlier value is in Review's history.
When something goes wrong
- Tries to download before paying (for example by URL)
payment_required - 'Pay to download.'
- A check still fails at Complete review
checks_failed - Which check, with Fix it or 'Values are correct as on the document'.
- Extraction failedDocument
extraction_failed - The failure message and Retry.
- Upload rejected the fileDocument
rejected - The reason and 'Choose another file'.
- Pays for a document already paid
already_paid - Goes straight to the success page.
- A service is down
dependency_unavailable - 'Something went wrong. Try again in a moment.' Nothing is lost.
- A correction after review breaks a rule, like a total that no longer adds up
checks.failed[] in GET …/outputs - The preview shows the failed check beside the value, with Fix it. The download still works: the values are the person's.
- A spreadsheet formula in a value, like `=SUM(…)`Prefixed with
' - The text as written, not a formula, when the CSV is opened.
User journeys on GitHub →