Design outbound automation to fail closed
- GTM engineering
- Outbound automation
- Fail-safe design
- Systems thinking
Most automations fail open. If a check can’t run, the job carries on, because carrying on is the default. For a report, that’s fine. For something that contacts real people on your client’s behalf, it’s the wrong default.
In October we rebuilt an outbound pipeline that loads leads, writes messages and sends across email and LinkedIn. Every guardrail we added had the same design rule: if in doubt, stop.
The six guardrails
1. A person approves the copy. Nothing launches without one click on an Approve button in Slack, from one named approver. Each group of leads gets its own approval. If the copy changes after the card is posted, the old card is refused. You can’t approve something you haven’t seen.
2. A kill switch that fails closed. One flag stops lead loading at once. If the flag can’t be read at all (a database error, a timeout, a missing row), the system treats that as “paused”. A database outage should pause sending, not let it run unchecked.
3. A dead man’s switch. Every job reports a heartbeat. If a job goes quiet, or never reports, an alert fires. Failed steps go into a retry queue that sets them aside after 8 attempts but never drops them. The same change replaced silent errors with logged warnings, including one place where a Slack failure was being hidden.
4. Reply-stop across channels. Reply by email and you’re removed from the LinkedIn sequence, and the other way round. Out-of-office and auto-replies are ignored. A person who’s been stopped is never added back. An unsubscribe or a negative reply excludes that person for good and pauses everyone else at their company for 90 days. Positive replies go to a person.
5. A reply-rate guard. After 14 days and at least 50 people contacted, a campaign with a reply rate under 2% pauses itself and proposes a rewrite. Bad copy shouldn’t keep running just because nobody looked.
6. A channel gate. Email only goes out after a LinkedIn connection is accepted or a first message is sent, plus a delay, so the two channels don’t collide. If the gate can’t tell, it doesn’t send.
Every one of these ships in dry-run mode by default. Turning a guardrail on for real is a deliberate act.
What failing closed looked like
Shortly after launch, the scheduled jobs on the server stopped. A configuration line read a key under a different name from the one the scripts expected. Without the key, the jobs couldn’t confirm they were allowed to run, so they didn’t. Nothing was sent in a broken state.
The fix was a single documented template for the schedule, with the key mapping written out, and quieter alerts that fire after several failures in a row instead of on every blip.
That’s the trade-off you accept. A pipeline that fails closed will sometimes stop when it didn’t need to. The cost is a delayed send and an alert. The alternative, a pipeline that keeps going when it can’t see, has a cost that lands on your client’s reputation.
The question to ask of any outbound automation
When your automation can’t reach its database, can’t read its settings or can’t tell whether someone replied, what does it do?
It’s a systems thinking question more than a technical one. In outbound operations, the safe default has to be designed in, not hoped for.
If the answer is “carry on”, that’s the first thing to change.