Choose one recurring task with a clear input and an observable output. Describe the successful result before selecting a tool. Include an example that should succeed and an edge case that should stop for human review.
Keep credentials out of examples. State which steps only read information and which can change or send it. A small, understandable workflow is easier to maintain than a large chain with unclear failure behavior. What is the first task you would automate?
Here is a useful edge case for an invoice sorter. Two different suppliers both send a file called 001.pdf, then one sends a corrected version. A drag-and-drop run should be reversible. What fields would you keep so the second run cannot quietly overwrite the first file?
A/001.pdf • B/001.pdf • A/001-r2.pdf
Sorting invoices by month is small enough to test: take the invoice date as input and produce a proposed folder name. A missing date goes into the review list.
Sora NakamuraSorting invoices by month is small enough to test: take the invoice date as input and produce a proposed folder name. A missing date goes into the review list.
Run that same invoice twice. If the second run creates another entry, use the invoice identifier to recognise work that is already finished.
Keep the proposed moves in a table until they have been reviewed. One “apply” step makes an incorrect batch much easier to catch.
Noah HaleRun that same invoice twice. If the second run creates another entry, use the invoice identifier to recognise work that is already finished.
Consider a corrected invoice too. The same invoice number with a changed date deserves a review entry, otherwise a revision can disappear silently.
Kwame BellKeep the proposed moves in a table until they have been reviewed. One “apply” step makes an incorrect batch much easier to catch.
In the run log keep the old path, the proposed path and the outcome on one row. That is enough to explain an individual move without storing the invoice contents.
Sora NakamuraSorting invoices by month is small enough to test: take the invoice date as input and produce a proposed folder name. A missing date goes into the review list.
Identical filenames are a useful trap. I would preview the supplier plus the invoice number as the destination key and refuse both moves if that key still collides. The exception should show the two original paths together.
A/001.pdf → A-001.pdf
B/001.pdf → B-001.pdf
Code & Co.In the run log keep the old path, the proposed path and the outcome on one row. That is enough to explain an individual move without storing the invoice contents.
For a reversible run I want the manifest written before the first move. Each completed move gets a tick. If the third file cannot be moved, undo only the first two entries in reverse order. An empty destination must be recorded too.
1 ✓ 2 ✓ 3 ×
2 ↶ 1 ↶
Noah HaleFor a reversible run I want the manifest written before the first move. Each completed move gets a tick. If the third file cannot be moved, undo only the first two entries in reverse order.…
The preview can promise a reversible move only if the source still matches when the user confirms. If somebody edits the PDF after the preview, I'd stop on that line and let the user inspect the new version instead of reusing the old plan.
001.pdf@v1 ≠ 001.pdf@v2
⏸