I kept seeing the same pattern in finance automations: a vendor emails “please update our IBAN”, someone pastes it into the sheet, and the payment runs that afternoon. The workflow is not the hard part — the hard part is that nothing in the chain is allowed to say wait.
So I built a guard instead of a notifier. Four moving parts:
- Intake (form → hold). The vendor submits through a form. The IBAN is normalised and actually validated: format, mod-97 checksum, and IBAN country vs. bank country. Then the request is scored: unknown vendor 100, inactive vendor +40, different IBAN country +30, requester domain mismatch +25, free mailbox +15, second change in 90 days +15, third or more +30. Score ≥ 70 goes to manual review and never receives an approval link. Duplicates are caught by a hash of the IBAN and silently ignored — no second email.
- Decision (webhook). The single-use link goes only to the finance address already on file, never to the one requesting the change. Approving before the cooling period ends is rejected without touching the state. A second click returns “Already handled” and changes nothing. Unknown or expired tokens return HTTP 400 and write a
LINK_DENIEDrow. - Watchdog (daily). 24 h → reminder to finance. 48 h → escalation. 72 h → closed as
EXPIREDand the requester is told nothing was applied. Alast_stagefield makes sure each stage fires once. - Audit. Denials, duplicates and manual reviews are appended to an
Auditsheet. The tokens themselves are stored only as SHA-256 hashes.
The sheet is the state machine: PENDING_VERIFICATION → APPROVED / REJECTED / EXPIRED / MANUAL_REVIEW / DUPLICATE_IGNORED.
Stack: Google Sheets + SMTP + Telegram + form + webhook. No AI, no paid services. 60 nodes (54 functional, 6 sticky notes), 4 entry points.
Two things I’d flag for anyone copying the idea:
- The cooling period is the actual control. Everything else is bookkeeping.
- Sending the approval link to the address on file — not the one in the request — is what breaks the BEC pattern. If you skip that, you have built a faster way to lose money.
Free, MIT, no signup: GitHub - mrnpvn/flowkit: Flujos n8n listos para importar: automatiza asesorias, clinicas e inmobiliarias sin escribir codigo. Plantillas de automatizacion en espanol. · GitHub → workflows/finance/vendor-bank-change-guard.json
Happy to answer questions about the scoring weights; they’re the part I’m least sure about.