- A connection expires, the platform stops the workflow on purpose, and every new item parks under a held status waiting for somebody to notice.
- There is no event to catch here. The symptom is an absence, so the build has to go looking on a schedule and ask.
- The first build is a prompt that produces the thing almost nobody has: an inventory of every connection you depend on, who owns it, and what stops when it dies.
- The second is a canary: one cheap, read only authenticated call per connection, so the credential fails where you are watching instead of inside real work.
- The half everybody does by hand is the recovery, and it is the dangerous half. Reconcile the gap before you replay anything, and the same discipline carries over whenever you automate the Make scenarios you babysit.
Welcome to The Loop. Every Wednesday we take one real, repetitive workflow that someone does by hand and unwind it into something you can run. This week it is the loop that never announces itself: the connection that quietly expired, parked a week of work, and left somebody to reconstruct what got missed.
Here is the idea that makes this series worth your time. The boring task you repeat is a specification in disguise. Every time you do it by hand you are following a recipe you already know by heart, and the only reason a machine is not following it instead is that nobody wrote the recipe down and handed it over. That holds for the repairs just as much as the work. The scramble after a dead credential feels like bad luck every time, but you run the same five decisions in the same order, and you have run them before. Describe them once and you can hand the whole recovery over. Describing replaces doing.
So let us watch a connection die, count what the silence costs, and build the check that would have caught it before the customer did.
The Loop, in Full
Before you can automate anything you have to see the loop clearly, so here it is start to finish. The thing to notice up front is that the loop is not the automation. The loop is the repair, and it comes back every few weeks.
Dana runs operations at a twelve person agency. New client intake arrives through a form, and a scenario moves each submission into the CRM, files the signed agreement in Drive, and posts a line in the team channel. It has run quietly for eight months. On a Thursday afternoon somebody resets the password on the Google account the connection was built with, and the refresh token dies with it. The platform notices within seconds and does exactly what it was designed to do: it stops the scenario and sends an email. That email lands in a shared inbox nobody has opened since onboarding. For nine days the form keeps collecting submissions and the runs keep stacking up under a held status. Dana finds out the following Monday, when a client asks why nobody has called.
Written out as steps, the by-hand version looks like this:
- Find out at all, which usually means somebody outside the process complains.
- Open the platform and work out which connection is dead, rather than which scenario is red.
- Re-authorize it, which means tracking down whoever owns that login and getting them to sit down with you.
- Establish the window: the last successful run on one side, the first held item on the other.
- Decide what to replay, then replay it, checking each item against the destination so the fix does not send the same welcome twice.
Nothing in that list is hard, which is exactly why it is worth automating. Hard problems need judgment. This one needs somebody to be watching, and watching is the thing people are worst at and machines are best at. Every scenario you automate on a connection somebody owns inherits this loop on the day you build it, whether or not you have met it yet.
The Manual Tax
The real cost of a loop is never the minutes on the clock. It is the minutes, plus the mistakes, plus the time the work sat still. Add those up and you get the manual tax, and for this loop almost the entire bill hides in the third term.
Start with how many of these connections you are carrying. In MuleSoft's 2026 Connectivity Benchmark Report, a survey of 1,050 IT leaders, the average organization runs 957 applications and only 27 percent of them are connected to anything else. Every one of those connections is a standing authorization with an expiry attached, and not one of them expires on a schedule you chose.
The expiry is not a bug and it is not rare. Google's OAuth 2.0 documentation lists four ordinary ways a refresh token stops working: the user revokes access, the token goes six months unused, the account password changes while Gmail scopes are granted, or the client passes its ceiling of live tokens, which is 100 per account per client ID. Microsoft's identity platform documentation puts a 90 day lifetime on most refresh tokens and notes they can be revoked at any point before that, including by a password change or an admin reset. Read those two pages together and the conclusion is uncomfortable: a credential dying is a scheduled event whose date nobody tells you.
- Errors. The replay is where the damage happens. Nine days of held items re-run without a check will fire nine days of welcome emails in ninety seconds, at people who were already called by hand during the outage. The careful alternative, replaying by hand, is where somebody quietly skips a record and never knows.
- Latency. This is the whole bill. Nine days of intake that never reached the CRM is nine days of leads nobody worked, and the money was gone before anybody knew there was a problem at all.
A credential does not fail loudly. It fails politely, into a queue, and waits for somebody to be curious.
So the goal is not a faster reconnect. The reconnect is one click and it was never the expensive part. The goal is to stop paying the tax: to know within minutes instead of days, and to know exactly which records to replay so the recovery does not become a second incident. That is true of every run you automate on a platform that holds tasks when a connection dies, whichever one you happen to use.
Unwinding the Loop
Automating starts with description, not code. Describe the loop precisely enough that a machine could run it without you in the room and most of the work is finished before a line is written. The interesting parts, as always, are the decisions rather than the steps.
There is a catch in this one worth naming before the table. You cannot build it as a response to an event, because there is no event. Nothing was created, nothing was updated, nobody clicked anything. A credential expired somewhere else entirely, and the only visible symptom on your side is an absence: runs that stopped happening. A trigger list has no entry for that. So the workflow has to go looking on a schedule and ask a question rather than wait to be told.
| Part of the loop | What it is for this workflow |
|---|---|
| Trigger | A schedule, every fifteen minutes. You are watching for an absence, so nothing is ever going to come and tell you. |
| Input | One cheap, read only call per connection, plus the timestamp of the last pass that succeeded. |
| Decision: is it the credential? | An authorization error (401, 403, invalid_grant) means reconnect. A timeout or a 500 means the service is having a bad afternoon. The two deserve different responses. |
| Decision: who owns it? | Every credential maps to one named human who can actually re-authorize it. The alert goes to that person, never to a shared inbox. |
| Output | An alert naming the connection, the owner, and when it last worked, plus a durable record of the gap window. |
| Success signal | Every connection has reported healthy inside the last fifteen minutes, and after any outage the replay list matches the gap exactly. |
That table is the automation. Everything after it is a choice about how hands-off you want the machine to be. If you would rather arrive at the table through a conversation than fill it in yourself, that is how BYOBot turns a task into a spec, one question at a time. The distinction worth holding on to is that in this loop the tool did shout. It shouted into a room nobody was standing in.
Describe your own version of this loop and BYOBot will turn it into a spec, then a build that watches it for you.
The Build: One Loop, Three Ways to Run It
The same described loop becomes three builds, and here they stack rather than compete. Start at the top and move down when you are ready. Most people are surprised how much of the problem the first one solves on its own.
The Prompt
The first build does not watch anything. It produces the document that makes watching possible, which is the thing almost nobody has: a list of every connection you depend on, who owns it, and what stops when it expires. Paste your scenario or zap list into any AI chat tool along with this and you get the inventory and the runbook in one pass.
You are helping me inventory the credentials my automations depend on. I will paste a list of my automations and the apps each one touches. For each distinct connection (app + which account authorizes it), return: - Connection: the app, and which account it is authorized as - Used by: every automation that stops if this one dies - Owner: the named person who can re-authorize it (ask me if unclear) - Blast radius: in one line, what stops happening when it expires - Expiry risk: high / medium / low, and why (password-change sensitive, known token lifetime, long idle stretches, shared or personal login) Then return two things: 1. The connections ranked by blast radius, worst first. 2. A reconnect runbook for the top three: who to contact, what to re-authorize, and what to check afterward to find missed records. Ask me for anything you need rather than guessing. Here is my list: [paste your automations here]
That works the same in ChatGPT, Claude, or Gemini, because a prompt is never locked to one vendor. Run it once and the inventory is the deliverable. You tend to learn two things immediately: that three of your fourteen connections can take the business down on their own, and that two of them are authorized against a personal login belonging to somebody who has since left. Fixing that is most of the problem solved before you build anything, and the same inventory is where to start when you want to automate your Make scenarios end to end rather than one at a time.
The Script
The honest build here is not an AI agent, and saying so is the useful part. There is no judgment anywhere in this loop and nothing to interpret: it is a read only call, a status code, and a lookup table of owners. That makes it a plain script with no AI at runtime, which is cheaper, faster, and far more reliable than anything that reasons about it. The idea is a canary: one harmless authenticated call per connection, on a schedule, so the credential fails in a place you are watching rather than in the middle of real work.
The design rule that matters is that the probe reads and never writes. You are testing authorization, not behavior, so a single cell read or one record fetch is enough. The error to branch on is defined in RFC 6749, the OAuth 2.0 specification, which is where invalid_grant is specified as the response to a refresh token that is expired, revoked, or otherwise no longer valid.
// pseudo-shape of the connection canary BYOBot generates for you
const CHECKS = [
{ name: 'google-sheets', probe: () => sheets.get(SHEET_ID, 'A1:A1') },
{ name: 'hubspot', probe: () => crm.getContact(KNOWN_ID) },
{ name: 'slack', probe: () => slack.authTest() },
];
for (const c of CHECKS) {
try {
await c.probe(); // cheap, read only, no writes
await heartbeat.write(c.name, 'ok', now());
} catch (err) {
if (isAuthError(err)) { // 401, 403, invalid_grant
await alert.toOwner(OWNERS[c.name], c.name, err.status);
await heartbeat.write(c.name, 'auth_failed', now());
} else {
await heartbeat.write(c.name, 'degraded', now());
}
}
}
That is the detection half. The other half is the part everybody still does by hand, which is working out what the gap cost, and it is the half that causes the second incident. If the canary writes a heartbeat on every pass, the gap window stops being an investigation and becomes a subtraction:
// after a reconnect: what did we actually miss?
const since = await heartbeat.lastOkBefore('google-sheets');
const source = await form.submissionsSince(since); // what arrived
const landed = await crm.contactsCreatedSince(since); // what got through
const missed = source.filter(
s => !landed.some(c => c.email === s.email)
);
report(missed); // replay exactly this, and nothing else
That list is the only thing you replay, which is what keeps the recovery from doing more harm than the outage. You do not write either half from a blank page: BYOBot generates the full version, including the right probe for each service you actually use, the owner table, and the commands to run it the first time. Your job is to paste in the credentials and watch it catch one.
The Schedule
The last step is the smallest, and for this loop it is the one that counts, because a canary nobody runs is just a document. Put the script on a timer every fifteen minutes with cron or a GitHub Actions schedule, which the free tier covers comfortably at this size.
One rule about where it runs, and it is the rule people get wrong. The canary must not live inside the platform it is watching. A monitor sharing the same account, the same credentials, and the same scheduler as the workflow it guards will go quiet for exactly the same reasons, at exactly the same moment, and a monitor that fails silently is worse than no monitor at all because now you trust it. Run it somewhere else, and have it report somewhere a person actually reads. That is the discipline that turns a scenario you automate in Make into one you can genuinely leave alone.
Here is how the three builds stack up, so you can pick your stopping point:
| Build | What runs it | Setup | Runs unattended? |
|---|---|---|---|
| The prompt | You, pasting into any AI chat tool | Minutes | No |
| The script | A short script you run when you want | An hour, once | On demand |
| The schedule | The same script on a timer | A few extra minutes | Yes |
Steal This Build
Here is the whole loop as a spec you can hand over or build this afternoon. Change the service names to match your stack and it is yours.
- Trigger: a schedule every fifteen minutes, because the symptom is an absence and nothing will come and tell you.
- Probe: one cheap, read only authenticated call per connection, never a write.
- Classify: an authorization error means reconnect, a timeout means wait. Never treat the two the same way.
- Alert: name the connection, the owner, and when it last worked, and send it to that person rather than a shared inbox.
- Reconcile: after a reconnect, diff the source against the destination across the gap window and replay only the difference.
The loop you just watched was a dead Google credential parking a client intake scenario, but the shape is universal. Anything you run on somebody else's authorization, which is everything, inherits it. The sibling case is the workflow that raises nothing at all when it stops, which gets its own treatment in the automation that quietly stopped running. Learn both patterns once and the question stops being whether a connection will expire and starts being how long you are going to take to notice.
Tell BYOBot about a loop in your week
Describe the task you keep doing by hand and BYOBot will design the full playbook: the prompt, the script, and the schedule that runs it for you.
Frequently Asked Questions
-
Because for the platform it was not an error, it was a decision. When a connection loses its authorization, most platforms stop the workflow deliberately and park incoming items under a held or paused status rather than failing them, so the work is preserved rather than thrown away. They do notify you, usually by email to whoever built the connection, which is why this fails hardest in teams: the notice goes to one person's inbox, or to a shared one nobody reads. The fix is not a better inbox. It is a check that runs outside the platform and reports somewhere a person actually looks, which is the habit that makes it safe to automate the workflows a whole team depends on.
-
More often than the word expiry suggests, because most of the causes are not time passing. Microsoft puts a 90 day lifetime on most refresh tokens and allows revocation at any point before that. Google's rules are not clock based at all: a refresh token stops working if it goes six months unused, if the account password changes while Gmail scopes are granted, if a user revokes access, or if the client passes its ceiling of 100 live tokens for that account and client ID. Every one of those is an ordinary act of IT hygiene, which is the real problem. A password reset on a Friday is not an incident anybody would think to mention, and it is one of the most common ways a working automation stops.
-
Sometimes, and it is the trap. Replaying a queue of held items re-sends everything in it, so if the workflow emails people, charges cards, or posts to a channel, you get days of activity compressed into a minute, aimed at people who were already handled by hand during the outage. Reconcile first: list what the source system received during the gap, list what reached the destination, and replay only the difference. The same discipline applies to any workflow you have to repair after a change nobody on your side made, which is the theme of building an automation that survives a change you did not make.
-
No, and a general uptime monitor will not help, because the service is up. What you are testing is whether your authorization to it still works, and only an authenticated call can answer that. It is a handful of lines per connection plus a schedule. The parts worth attention are not technical: knowing which named person can re-authorize each credential, never building a business connection on a personal login, and running the check somewhere other than the platform it watches. Get those three right and the tooling barely matters.
