Module 4 · Reliability and final project

Errors, tests and human approval

Lesson 10 of 12 8 min lesson Updated on October 30, 2026
Progress in the course83%

In this lesson

An automation nobody watches only changes the day the problem shows up.

Every flow breaks one day. What matters is that you find out right away and that you do not let the machine decide what is sensitive.

The four errors you will see

The first step is always the same: open the run history. Every run shows up there, in green or red. Open the red one, see which step failed and read the message.

A case

Imagine a language school that gets contacts through a form. On a Wednesday, the coordinator renames the "Phone" column to "Mobile". The flow keeps running, but the old column no longer exists. For two days, contacts come in without a phone number. Nobody notices. On Friday, a student complains that nobody called her.

In the history, the cause shows up in seconds. The problem is not finding the error. It is knowing about it on Wednesday, and not on Friday.

Failure alert

Nobody opens the history every day. So make the tool tell you. Build a second flow, just for errors. It starts with an error trigger and ends in an email to you, with the name of the flow, the step and the message.

What the pros know

In the n8n documentation, the error flow is a separate flow. It has to start with the Error Trigger node, and it runs when a run of another flow fails. This has a practical consequence: the alert does not depend on the broken flow. Experienced people create a single alert flow and link it to all the others, in the settings of each one. That way, a new flow is born with an alert and nobody forgets. Test it by forcing an error on purpose, such as renaming a column, to see the email arrive.

Human approval

Some steps should not be automatic: replying to a customer, asking for payment, deleting. In those cases, the flow prepares and a person releases.

The simplest way is through the spreadsheet:

  1. The AI flow saves the draft in the Draft column and writes "awaiting approval" in Status.
  2. A person reads it and changes the Status to "approved".
  3. A second flow, every 15 minutes, sends only the "approved" rows and changes the Status to "sent".

Look at step 3: when it sends, it marks "sent". Without that, the same reply would go out again.

Who approves

Name the person. "The team" does not approve anything. Write: "Marina checks the spreadsheet every day at 9 a.m. and at 3 p.m." Also agree on what happens when she is on vacation. An approval with no owner is a queue that does not move.

When approval is not worth it

Not everything needs approval. Writing a row to the spreadsheet or adding a label is easy to undo. Sending a message, asking for payment and deleting cannot be undone. The rule is simple: if there is no way back, there is an approval.

Test first, turn it on slowly

First, test with made-up data. Then leave it for a week in "notify-only" mode: the flow sends the result to you, not to the customer. Write down the errors. When the success rate is good and the errors land with a person who checks, then you change the destination.

Careful

Rerun the failed run straight from the history before you touch the flow. If the problem was a service that was down, it goes through and you have not lost the customer's contact.

Practice · 10 min

  1. Create the "Failure alert" flow with the error trigger and an email to you.
  2. Force an error (rename a test column) and check that the email arrived.
  3. Create the Draft and Status columns and the second flow, which sends only what is "approved".

Summary

Sources

Read on October 30, 2026.

  1. n8n. Error handling: error flow and Error Trigger
  2. Anthropic. Building effective agents: start simple and keep the person in control

Lesson quiz

Three situations to apply what you learned.

Lesson 10 of 12

Before moving on to the next lesson

Put what you saw into practice. The boxes stay checked in this browser, so you can come back later.

Have a question about this lesson? The IV Help team answers personally on WhatsApp.

Ask on WhatsApp