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.
- Connectors. Hundreds or thousands of ready-made integrations with CRMs, inboxes, spreadsheets, calendars, help desks and payment tools. Writing and maintaining each of those yourself is real work.
- Speed to a first version. A non-engineer can build, test and change a workflow in an afternoon. That makes them the cheapest way to find out whether a process is worth automating at all.
- Visibility for the business. The people who own the process can open the workflow and see the steps. That is harder with code.
- AI steps built in. All three now offer ways to call a language model inside a workflow, from a simple "summarize this" step to agent-style nodes that can choose between tools. n8n can also be self-hosted, which matters for some data rules.
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.
- 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.
- 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.
- 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:
- The automation is part of your product. If customers trigger it, see its output or pay for it, it should live in your codebase with your tests, deployments and monitoring, not in an operations tool.
- Volume is high and steady. When a workflow runs constantly, a purpose-built service is usually cheaper to run and easier to make fast.
- It is real-time. Voice is the clearest case. The voice agents and automations we built behind CallGuard AI and CallSetter AI, and the voice and SMS intake systems behind Fortell, have to answer within a conversation's timing, which a general workflow tool is not designed for. We explain why in voice AI latency.
- It needs deep integration. Systems without a ready-made connector, older internal databases or awkward APIs often end up as custom code anyway. See software integration projects.
- The data cannot leave your environment. When the rules say the record stays in your infrastructure, the whole path should too.
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
- Which workflows touch customers, money or regulated data?
- When the AI step returns something wrong but valid-looking, who finds out, and how?
- Can you test a prompt change against real examples before it goes live?
- What does each processed item cost on the platform and on the model provider?
- Is the platform an approved processor for the data passing through it?
- If the person who built the workflow left, could someone else safely change it?
- 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.