A simple human-review step for an AI invoice workflow
Start with one invoice. The AI reads it, but a person checks the amount and due date before the workflow continues.
There are four parts to build:
1.Extract the invoice into structured fields.
2.Put those fields in an editable review screen.
3.Let a person correct and confirm them.
4.Resume the workflow with the saved, corrected values.
Univer is the component for the review screen. It embeds a spreadsheet in your app, so the reviewer can edit cells, use validation and see calculated totals. Its API gives your backend access to the values the person approved.
Carry the same invoice ID through all four parts. When the reviewer confirms, have your backend save the correction before it signals n8n to continue. That keeps the resumed workflow tied to the invoice that was reviewed.
Try it first with an intentionally wrong date. Correct the date in the screen, resume the workflow, and inspect what the next step received. Once that handoff is clear, add a queue for multiple invoices.