Test your workflow's error handling by causing the common failures yourself.
Go to your flow's run history now and find a run in which the error path did something. If there is no such run, you have no evidence yet that your error handling works.
You have already built alerts, an error path, a log and an approval step into this flow. They handle failure on paper, but you have never watched them do it, and an error handler that has never run is only a guess. You don't want to learn that an alert is broken on the night a real enquiry goes missing. So you break the flow yourself, under control, and watch each part respond. There are five tests, and each one matches one of the common failure causes in Lesson 7.1, How automations fail, and why you often do not notice.
Choose a quiet time, when a real enquiry landing in the middle of a test would cause little trouble. Some tools let you point the live trigger at a copy of the form and sheet, and if yours does, use the copies instead of the live ones. Tell anyone else who gets alerts from this flow that test alerts are on the way, so no one acts on them.
Before the first test, set up a failure test record. This is a table with seven columns: test number, what you broke, what you expected, what actually happened, did an alert arrive, did the log record it, and what you fixed. Write your prediction in the "what you expected" column for all five tests before you run a single one, so every result has a prediction you can check it against.
Test 1 is empty input. Leave every optional field blank, make the required ones as short as the form will accept, and submit. Look for a confirmation that begins "Hi ,", a branch left with nothing to route on, and an AI step handed nothing to classify.
Test 2 is very long input. Put several paragraphs into the message field, the kind of message a worried parent might write at midnight. Some steps cut long text off and others fail on it, and an AI step can respond differently when it gets a lot of text.
Test 3 is badly formatted input. Type a phone number with letters in it, a date given as "next Sat", and a name in capitals with an emoji. This checks the formatting steps from Lesson 2.3, Format dates, names and numbers on the way through, and the defaults you chose for values that do not fit.
Test 4 is a renamed column. Pick a column the flow writes to and rename it, for example from "Phone" to "Mobile", then send a normal enquiry. You want to know whether the flow fails loudly or silently. A flow that fails loudly errors and sends an alert. A flow that fails silently reports success but leaves data missing, such as an empty column, and sends no alert. Once you know which one your flow does, change the column name back.
Test 5 is a disconnected account. Disconnect or revoke the tool's access to the sheet or the email account, then submit a normal enquiry. Check that an alert comes through the channel you built in Lesson 7.2, Retries, fallback paths and alerts. Then reconnect, and if your tool supports it, replay the failed run to make sure the enquiry was not lost.
Every test ends with the same check of four places, and you write down what each one shows:
the run history the main sheet the log sheet the alert channel
A silent failure shows up across these four as a success entry in the run history, data missing from the sheet, and nothing in the alert channel.
Some results that look odd are fine. If nothing failed, for example because a record was correctly sent to review, then getting no alert is correct. If an AI step puts the wrong label on a long message, the flow itself has not gone wrong, and the case belongs in the AI step's test set rather than in your list of flow faults.
Mei Ling ran these tests on their own flow, and below is a shortened version of their failure test record.
In test 1, the confirmation read "Hi there" because of a default they had set. The branch for a blank level sent the record to Mei Ling to check, and the log said "sent to review". The test passed, and no alert came, which was correct because nothing had failed.
In test 2, the flow completed, but the AI step labelled a long schedule question as "concern", and the log showed that label. This was not a flow fault. Mei Ling added it as a case to their 20-example test set from Lesson 5.4, Test the AI step on 20 real examples.
Test 3 passed: the phone number with letters went to review as designed, and the emoji in the name came through without trouble.
Test 4 found a gap. The tool showed success and wrote the enquiry with an empty phone column, but sent no alert, so this was a silent failure. To fix it, Mei Ling added a check after the "add row" step. The check looks up the row that was just written and sends an alert if the phone field is empty when the form included a phone value. They also protected the sheet's header row, as Lesson 4.1 suggested, so a column is harder to rename by accident.
Test 5 also passed. The step stopped with an authentication error and the error path ran. The alert reached their Telegram group within a minute and showed the step name and record ID. After reconnecting, they replayed the run and the enquiry appeared in the sheet.
Mei Ling finished with four passes and one silent failure found and fixed. The new check would have caught a renamed column months before any parent noticed.
Fix each gap you find, then run the same test again to confirm the fix works. Write both the gap and the fix into your failure test record. Then add a line to the flow's documentation that describes the failure and what to do if it happens again. Module 8 turns these notes into a proper runbook, and the more detail you write down now, the less you'll need to piece together later.
When the tests are over, undo everything you broke and reconnect every connection. Delete the test entries from the sheet and the log, or mark them clearly as tests.
You are done when your failure test record lists five deliberate tests. Each one needs its expected result, its actual result, whether an alert arrived and whether the log captured it. At least one gap must be fixed and retested. Everything you broke must be restored and reconnected, and every test entry in the sheet and the log must be cleared or marked.
Pick a quiet hour, tell your alert recipients, and start with test 1.
Run five failure tests on your flow on purpose. Note whether each one raised an alert, and fix at least one gap you find.
Junxiong-WFG Organisation is an authorised representative of AIA Financial Advisers Private Limited (Reg. No. 201715016G).