By Kelsey Brown
I led the automation department at Avalara, so I've built and signed off a lot of automation. I've been thinking about it this month.
People assume the ones I regret are the ones that broke. A broken automation is loud, though. Someone notices by lunch and it's fixed by tea. The one I regret is the quiet one.
It starts with a boring manual job that everybody hates. Someone wires two tools together to get rid of it. It needs a key to do its work, and the quickest key to grab is one that can do everything. It works first time, and everyone's pleased.
A few months on, it's saved someone an hour a week, so it gets mentioned at a review. That's the last time anyone says its name out loud. A couple of years in, the person who built it moves on. Their login is closed the day they leave. The key isn't, because nobody remembers there is one.
Four years later it's still running in a corner, on time, every time, with far more access than it needs. Nobody owns it, and nobody would notice if someone else started using it.
What gets me is that it looks like a success. Nothing's wrong with it that a dashboard would show. The risk is in what it could do, and nobody measures that.
On a building site you take the ladders down at night. Nobody thinks the scaffolding's faulty. You just don't leave a way up for whoever's passing. An automation with a master key is a ladder left up for four years.
I've built that automation. Most people who've done this job have. It's the one I'd take back.
I still love automation, and I still build a lot of it. I'm just stricter with myself than I was. I keep it to plain steps I can test and predict wherever I can, and AI goes in only where it's the better tool, which is less often than the adverts suggest. I give it the smallest key that does the job. That has a proper name, least privilege, and it's the cheapest thing I do.
Every one gets an owner, a person, by name, who gets asked once a year whether the thing's still needed. Plenty of automations should have been switched off long ago, and they're still running because switching things off is nobody's job.
Before I build one I spend ten minutes trying to abuse it on paper, and something always turns up. Then I write it down on one page: what it does, what it touches, and how to stop it in a hurry. If the off switch takes more than a minute to find, I haven't finished building.
If you run a business, try listing every automation in it, with who owns each one and what it can reach. I'd be surprised if you can. Start tonight, even if it's four lines long.