T05-L04 · Automation · Level 4 Integrator · 19-minute read, plus 4 hours of doing

Three copies on Monday, nothing for three days

The weekly digest from T05-L03 · Chain Checked Steps Into a Weekly Digest Your Team Can Rerun went so well that the department asked for it by email, every Monday at nine, to all 140 people on the department list. In week six the institute's mail server was slow. The send step waited, gave up, and tried again, because Lena had copied the retry setting from the step that fetches papers from PubMed, the public database of medical research. The server had in fact taken the first mail. Then Lena saw a red, failed run in n8n and clicked Retry. Everyone got three copies.

In a company the stakes are money. A distributor's automation reads supplier invoices from the accounts payable mailbox and creates draft bills in the ERP, the business system that holds orders, bills and payments. One busy morning a run took longer than fifteen minutes, the next run started, and both created a bill for the same invoice. A month later an input format changed, every run failed without a sound, and accounts payable worked by hand for three days before anyone noticed.

You are at Level 4 Integrator. Your automation now writes into the organisation's real systems. This book makes it fail safely.

After this you can

  • Name every step in an automation that can't be undone and put a duplicate guard in front of it.
  • Retry only the steps that are safe to repeat, and send every other failure to a list a named person reads.
  • Get a service account from IT that can do only what the automation needs, and show that it can't do more.
  • Make the workflow stop itself after repeated failures, and write the page a colleague uses to take over by hand and rerun safely.
  • Test five failures on purpose before go-live and get sign-off from IT and the data owner.

Before you start