Null StudioNullStudio

Blog · December 6, 2026 · 9 min read

AI Workflow Automation: Zapier, Make, n8n or Custom Code?

By the Null Studio team

TL;DR: For most AI automations, start on a workflow platform like Zapier, Make or n8n. They connect to the tools you already use, they now include AI steps, and they let you prove a process is worth automating in days. Move the AI part into custom code when you hit one of a handful of specific limits: you cannot test changes before they reach real data, failures go unnoticed, the per-task bill grows faster than the value, the data cannot leave your control, or the logic has outgrown a canvas. The pattern that works best for many teams is hybrid: the platform keeps doing the plumbing, and a small custom service does the AI step that needs real engineering.

A lot of the automation projects we are asked about start the same way. Someone built a workflow in Zapier, Make or n8n that takes a form submission, an email or a new CRM record, sends it through an AI step, and writes the result somewhere useful. It worked. The team relies on it. Now it is doing more volume, touching more important data, and nobody is completely sure what it does when something goes wrong.

The question is whether to keep building there or move to custom code. Here is how we answer it, and why "custom" is not automatically the right answer.

What the workflow platforms are genuinely good at

It is worth being clear about why these tools are popular, because the reasons do not disappear when AI enters the picture.

For many processes, that is enough forever. Lead routing, internal notifications, simple enrichment, a first-draft email for a human to review: if the workflow runs, the volume is modest and the cost of a mistake is low, there is no prize for rebuilding it. We say the same about apps in outgrowing no-code: the default answer is stay.

Where AI workflows strain the platforms

AI steps behave differently from the deterministic steps these tools were designed around. A "create row in spreadsheet" step either works or fails. A model step can succeed technically and still return something wrong, oddly formatted or confidently invented. That difference is where most of the limits show up.

You cannot test a prompt change safely

In code, changing a prompt can be checked against a set of saved examples before it goes live, the same way we describe in evaluating AI features. On most workflow canvases, editing the prompt changes production immediately, and the only test is the next real record that comes through. For a low-stakes workflow that is fine. For one that writes into your CRM, replies to customers or classifies support tickets, it means every improvement is also a gamble.

Failures are quiet

The platforms are good at reporting a step that errored. They are less good at noticing a step that "succeeded" with a bad answer: a summary that missed the key fact, a category that was wrong, a field that came back empty and was written anyway. Catching those needs checks after the AI step (is the output in the expected shape, are required fields present, does the value fall in an allowed list) and somewhere to look at a sample of outputs regularly. You can build some of this on a canvas, but it becomes awkward quickly. We cover the general problem in AI hallucinations in production.

The bill scales in two places

Workflow platforms usually charge by tasks, operations or executions, and AI providers charge by usage. A workflow that loops over records, retries on errors or calls the model several times per item pays both meters on every pass. At low volume nobody notices. At high volume, the platform bill can end up larger than the model bill, for work a small service could do in one call. Before scaling a workflow, work out the cost per processed item on both meters. The habits in AI cost control apply here too.

Data has to go through one more company

Every record that flows through a hosted workflow platform passes through that platform as well as the model provider. For most businesses that is acceptable and covered by the platform's terms. For health, legal, financial or public-sector data, or for customers with strict contracts, it is one more processor to approve. Self-hosting n8n is one answer; moving the sensitive step into your own infrastructure is another.

The logic outgrows the canvas

A workflow with a few steps is easy to read. One with dozens of branches, nested loops, error paths and shared variables is often harder to understand than the equivalent code, and much harder to review when someone changes it. If only one person dares to edit it, that is a warning sign, not a strength.

Long, stateful or human-in-the-loop work

Processes that wait days for an approval, need to remember context across many steps, or must pause for a person to check something before continuing tend to be easier to build reliably in code. This is especially true once the AI is allowed to take actions rather than only suggest them, which raises the questions in AI agents with write access.

The hybrid pattern

The choice is rarely all or nothing. The pattern we recommend most often keeps the platform for what it does well and moves only the hard part out.

  1. The platform handles triggers and connectors. A new email arrives, a form is submitted, a record changes. The platform catches it, as it does today.
  2. It calls one custom endpoint for the AI step. A small service you own receives the input, gathers any extra context it needs, calls the model, validates the output and returns a clean, structured result.
  3. The platform writes the result back. Into the CRM, the spreadsheet, the ticket, the Slack channel.

That custom service is where the engineering lives: prompts kept in version control, a saved example set to test every change, output validation, logging of inputs and outputs, retries with sensible limits, cost tracking per item and the ability to switch models without touching the workflow. The business still sees and edits the overall flow on the canvas. The part that needs rigor gets it.

It also makes a later move easier. If you do eventually replace the platform, the hardest piece is already in code you own.

When to go fully custom

Some automations are better built as software from the start, or moved there completely:

Our guide to custom AI agent development covers what that build involves.

A simple way to decide

For each AI workflow you run or plan to run, answer these honestly:

Question Stay on the platform Move the AI step to code
What does a wrong output cost? A minor fix A customer, money or a compliance problem
How often does the prompt or logic change? Rarely Often, and you need to test changes
What is the cost per item on both meters? Small at current and next year's volume Growing faster than the value it creates
Where can the data go? Hosted processors are approved It must stay in your control
Who can safely edit it? Several people One person, nervously
How fast must it respond? Minutes are fine Seconds or less

If most answers land in the left column, keep building on the platform and spend the effort on measuring the result, as in AI automation ROI. If two or three land on the right, the hybrid pattern is usually the next step. If most land on the right, plan a proper build.

How we approach these projects

We start by reading the workflow that exists, not by proposing a rewrite. Often the fix is small: add output validation, split one overloaded workflow into two, or move a single AI step into a service and leave everything else alone. When a full build is justified, we scope it around the process and its failure cases, ship the first version quickly, and hand over the code, prompts, example sets and provider accounts so you own all of it. The principles are the same as in software ownership and handover.

Questions to ask before you change anything

  1. Which workflows touch customers, money or regulated data?
  2. When the AI step returns something wrong but valid-looking, who finds out, and how?
  3. Can you test a prompt change against real examples before it goes live?
  4. What does each processed item cost on the platform and on the model provider?
  5. Is the platform an approved processor for the data passing through it?
  6. If the person who built the workflow left, could someone else safely change it?
  7. Which single step, if moved into code, would remove most of the risk?

The bottom line

Zapier, Make and n8n are good tools, and for many AI automations they are the right home. The problems start when an AI step that matters runs without tests, without output checks and without anyone watching the cost per item. You do not have to rebuild everything to fix that. Keep the platform for triggers and connectors, give the important AI step the engineering it needs, and go fully custom only when the automation is real-time, high-volume, part of your product or bound by data rules the platform cannot meet.


Running AI automations on a workflow platform and not sure which ones to keep there? Book a demo and we will review your workflows with you, point out the risky steps and tell you honestly which ones are fine as they are. See our work: voice agents, automations and pipelines for CallGuard AI, CallSetter AI and Fortell, plus our own AI products LectureNotes AI and Lifemaxxing AI.

FAQ

Should I build AI automations in Zapier, Make or n8n, or in custom code?

Start on a workflow platform for most automations: it connects to your existing tools and lets you prove the process is worth automating quickly. Move the AI step into custom code when wrong outputs are costly, prompts change often and need testing, the per-item cost grows faster than the value, the data must stay in your control, or the logic has outgrown the canvas.

What is the hybrid approach to AI workflow automation?

The workflow platform keeps handling triggers and connectors, and calls one small custom service for the AI step. That service holds versioned prompts, a test set of examples, output validation, logging, retries and cost tracking, then returns a clean result for the platform to write back.

Why do AI steps cause problems in workflow tools?

A model step can succeed technically and still return a wrong or badly formatted answer, which most workflow tools do not detect. Prompt edits usually go straight to production without testing, and loops or retries pay both the platform's per-task fees and the model provider's usage fees.

When should an AI automation be fully custom software?

When it is part of your product, runs at high and steady volume, must respond in real time (voice agents are the clearest case), needs deep integration with systems that have no ready-made connector, or handles data that must stay inside your own infrastructure.

Want it built, not just explained?

We design, build and run these systems end-to-end — shipped in days, not months.

Book a demo →

Keep reading