invoice automation. tested perfectly. deployed confidently.
day 3: "nothing is processing"
the problem: gmail auth expired. workflow silently failed. no alerts. no retries. nothing.
client discovered it when invoices piled up. i discovered it when client messaged me.
so embarrassing.
THE FIX
added error handling in 20 minutes:
- retry 3 times if extraction fails
- slack alert if still broken
- failed invoices go to review sheet
also added daily summary: "processed 47 invoices, 2 failed" so i know before client does
lesson: test for success. build for failure.
anyone else learn error handling the hard way?