Contact Book a call

Systems

When to replace a pile of Zaps with an agent

Fifty disconnected automations become a liability. How to move from triggers and actions to agents that hold state and handle exceptions.

Cover for “When to replace a pile of Zaps with an agent”, with the line: From single-track automations to agents that hold state and route exceptions.
From single-track automations to agents that hold state and route exceptions. Image: SBD.

It is 11 pm and there is a “Task failed” email from Zapier in your inbox. A lead came in, the name field had an unexpected character, the CRM update failed, the Slack alert never fired, and a prospect worth real money is sitting unanswered.

You started automating to save time, and now the time goes on debugging. What you have is a stack of separate automations that fail together, and no system holding them.

The short answer

A Zap is one straight line: if A happens, do B. It breaks when the data looks different. An agent has instructions, a place to keep state, and a rule for what to do when it is unsure. Moving from Zaps to agents means moving from single-task scripts to a system that runs a whole business function and tells you when it needs a human.

The problem with spaghetti automation

In the early days of no-code, everyone loved Zapier, and for good reason. Getting Typeform into Google Sheets in five minutes was a big step forward.

The trouble starts at around twenty automations. By fifty, most teams have the same three problems.

1. No shared state

There is a “new client” Zap, a “contract signed” Zap and an “onboarding” Zap, and none of them know about each other. If the contract is signed ten minutes after the “new client” Zap failed, onboarding fires anyway and creates a duplicate record or an email to nobody.

2. Brittle logic

A Zap expects data in exactly one shape.

  • Phone entered as “+1 555”: success.
  • Phone entered as “555”: fail.
  • Phone entered as “N/A”: fail.

Your operation should not stop because a prospect typed a hyphen.

3. The hidden factory

Teams end up with hundreds of live scenarios across three accounts, built by four people, two of whom have left. When the process changes, say a move from Pipedrive to HubSpot, somebody has to find and rewrite forty automations. At that point you are maintaining a code base without a developer.

What an agent is

An agent is closer to a worker with a brief than to a script.

A standard automation follows one track. An agent has instructions, a set of tools it may use, and a way to decide which path fits the data in front of it. The useful difference is that it has a rule for the unexpected.

Example: invoice intake

The old way

  1. Trigger: new email with attachment.
  2. Action: save to Drive.
  3. Action: create a row in Airtable.

If the email has no attachment, or the attachment is a photo rather than a PDF, or the invoice is a scan, the Zap breaks or saves junk.

The agent way

  1. Trigger: new email.
  2. The agent reads the body and checks the attachments.
  3. It reasons: is this an invoice? Yes. Is it a PDF? No, an image, so run text extraction. Is the supplier new? Yes, so search the supplier table for a match.
  4. It structures the result into clean fields.
  5. It checks that the total matches the line items.
  6. It writes one clean record to the finance system, or, if anything is uncertain, it files the invoice in a review queue with a note on why.

Messy data gets cleaned, unknown suppliers get flagged, and an odd invoice goes to the queue instead of failing at 11 pm.

The five layers of a system that lasts

A durable system has five layers.

1. One place for the data

Stop using a spreadsheet as a database. Every client, order and invoice needs one record in one place: Supabase, Airtable or the CRM you already pay for. This is where state lives.

2. Event backbone

Something has to move data between tools with queues, retries and logs. We use n8n, Make or plain code on Vercel. This is the plumbing the automations run on.

3. Intelligence

This means Claude or OpenAI through their business APIs, placed at the steps where data is unstructured: an email, a call transcript, a scanned document. Everywhere else, plain rules are cheaper and more predictable.

4. Human in the loop

The team needs a screen, usually a small Retool or Supabase app, where they can see what ran, approve exceptions and correct the agent.

5. Feedback

The system logs its own confidence. If an agent is repeatedly unsure about one supplier’s invoices, the log shows it, and the instructions get updated in an afternoon.

What it looks like in production

One of our clients ran sales from inbound forms, cold email replies and social messages, with the team qualifying and entering every lead by hand. We replaced that with an enrichment and qualification agent that reads each lead, checks it against the ideal customer profile, writes the CRM record, creates the follow-up task and sends the first reply.

Manual CRM entry fell by about 90% and first response time dropped to under three minutes. The full write-up is in the case study.

A thirty-day plan to start

You do not need to rebuild everything at once.

  1. Week one: audit. Export every live Zap, scenario and script into one list with an owner and a last-failed date.
  2. Week two: find the fragile. Mark anything that failed more than three times in the last month. Those are the replacement candidates.
  3. Week three: build one agent. Pick one workflow that matters, lead qualification or invoice entry, and rebuild it on a proper database with an orchestration layer and one AI step.
  4. Week four: switch off the Zaps. Once the agent has run clean for a week, turn the old ones off.

If you would rather we did the audit, that is our Automation Audit. It is $500, takes one to two weeks, and is credited to the build.

Questions we get asked

Do we need to hire a developer?

Not for most of this. n8n and Make get a long way without code. You do need someone who thinks in data structures and API calls, which is the role we play.

Is it expensive to run?

No. An AI step costs a fraction of a cent per task through the API. The cost is in design and build, and the running cost is usually lower than a large Zapier plan.

Will agents replace our staff?

They take the data entry, sorting and first replies. The team keeps the judgement, the relationships and the decisions. Most clients redeploy hours rather than people.

Is our data safe?

Yes, when built correctly. We use business API tiers where data is not used for training, and every account sits in your name. Details are in the privacy policy.

  • AI agents
  • Automation
  • Operations

Keep reading

Cover for “Six months of AI agents in production: what broke”, with the line: Every failure we logged was in the plumbing, the data or the people. None was the model being wrong.

Systems

Six months of AI agents in production: what broke

The model held up. A renamed field, a drifting confidence score, a new invoice format and an unread Slack channel did not. What failed and what we changed.

Cover for “Moving off OpenAI Agent Builder before 30 November”, with the line: Agent Builder and Evals shut on 30 November 2026. ChatKit stays. Export what you need before then.

Systems

Moving off OpenAI Agent Builder before 30 November

OpenAI Agent Builder and Evals are due to close on 30 November 2026. What to export now, where agents can go, how to move them and which ones to retire.

Cover for “Does an AI agent still need Zapier?”, with the line: Agents are good at judgement. Plumbing is a different job.

Strategy

Does an AI agent still need Zapier?

A widely shared post argues agents will take Zapier to zero. We run both daily. Where the argument is right, where it is wrong, and what we use for each job.

Find out what is worth automating

About 95% of AI pilots never reach the profit line. We start with the work your team still does by hand and measure each build by the hours it saves.

See how we work

Cookie preferences

Choose what this site may use on your device. You can change this at any time from “Cookie settings” in the footer.

Strictly necessary

Keep the site working and remember the choices you make here. These cannot be switched off, and none of them track you.

Always on
What this includes (4)
NameProvider PurposeDuration
sbd-consentThis site Remembers your cookie choices12 months
Vercel Web AnalyticsVercel Inc. Counts page views in aggregate. Sets no cookie and stores nothing on your deviceNone
ticker-dismissed, sbd-note-offThis site Remembers that you closed a notice or language tipUntil the tab closes
sbd-voice-resume, sbd-voice-prefillThis site Carries a voice conversation across pages, only if you start oneUntil the tab closes

Analytics

Tell us which pages are read and where visitors leave, so we can improve them. IP addresses are anonymised and nothing is used for advertising.

What this includes (2)
NameProvider PurposeDuration
_gaGoogle Analytics (Google LLC) Distinguishes visitors with a random ID13 months
_ga_FPXDMQPRV1Google Analytics (Google LLC) Keeps the session state for this site13 months

Functional

Embedded services that set their own cookies. Without them the site still works; you get a link to open the service instead.

What this includes (1)
NameProvider PurposeDuration
Booking calendarCal.com Inc. Shows live availability and books the call on the booking pageSet by Cal.com

Advertising

Not used. This site has no advertising, retargeting or social media tracking, and we never sell data.

Not used

Questions about your data: hello@smallbaydigital.com