Skip to main content

Your new workflow writes to the live CRM and emails real customers. How do you test it before it goes live?

Automation workflows · Intermediate 1

Short answer

I build it against test accounts or a sandbox, with real past inputs including the difficult ones. For steps with no sandbox, I redirect output: emails go to my own address, writes go to test records. Then a dry run on live data that logs what it would do, then a small pilot, with a way to switch it off.

Deeper answer

The risk in testing an automation is that the test itself does damage: one click can email 5,000 customers. So I separate credentials for test and live, and I make the dangerous steps safe by design, for example a single setting that sends all emails to a test address.

I test with real historical inputs, not invented clean ones: empty fields, long names, two attachments, a duplicate. I test the failure paths too, by giving a wrong API key or a missing field and checking that the alert arrives. Then I run in dry-run mode on live data for a few days and compare its planned actions with what staff did. Then a pilot on one region or 5% of records, with the owner reviewing results daily. I write down the pass conditions before starting. Interviewers listen for safe test data, tests of the failure paths and a staged start.

What a strong answer covers

Answer it out loud in the mock interview about 2 min

Follow-ups to expect

Common mistakes

Learn it

n8n in depth

Practice Automation workflows questions

More on this topic

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.