AI Agents & Automation

Business workflow automation that keeps working when a step fails

Workflow automation moves data and tasks between your systems by fixed rules: when this happens, do these steps, the same way every time. Most of its value and most of its risk sit in the unglamorous parts: what starts a run, what happens when a step fails, and who notices. We build automations in n8n, Make, Zapier or custom code, and choose by your volume, your data and who will maintain them.

Book a workflow review

Fixed rules first, a model only where judgement is needed

Most back-office steps need no AI: copy a won deal from HubSpot into Xero, open a task when a form arrives, remind a customer before an appointment, post a daily summary to Slack. Fixed rules are predictable, cheap to run and easy to test, and you can explain exactly why each run did what it did.

A model earns a place where the input is unstructured, such as sorting free-text emails or pulling fields from a PDF. Even then it is one step inside a fixed flow, with its output checked before the next step uses it. When the path itself must change case by case, you are looking at an agent; see AI agent development. The glossary entry on workflow automation covers the basics.

Choosing between n8n, Make, Zapier and custom code

OptionGood fitWatch for
ZapierStraightforward app-to-app steps, a very wide connector catalogue, flows business users can readPricing that grows with the number of tasks run, and long multi-branch flows that become hard to follow
MakeVisual scenarios with routers, iterators and data mapping between many appsLarge scenarios that are hard to review, and usage-based pricing at high volume
n8nTeams that want to self-host for data residency, mix visual steps with JavaScript or Python, and keep workflows as filesIf you self-host, you own upgrades, backups, security patches and uptime
Custom codeHigh volume, complex logic, updates across several systems, anything customers depend onNeeds developers to change it, and a proper deployment and monitoring setup

Many teams run more than one: Zapier for simple notifications, n8n or code for the flows that move money or customer data. Our comparison of n8n, Make and Zapier goes deeper on hosting and pricing models.

Triggers: how a run starts

  • Webhooks push an event the moment it happens. Verify the sender's signature, reply quickly and queue the work, because many senders retry when a reply is slow, which creates duplicates.
  • Polling checks a system every few minutes for new records. Keep a cursor, such as the last modified time seen, so records are neither missed nor fetched twice.
  • Schedules run batches, such as a nightly sync. Add a check that alerts when a scheduled run did not happen, since a silent skip looks like a quiet day.
  • Manual triggers, such as a button in the CRM, suit steps a person should start deliberately.

Events do not always arrive in order. An “order updated” event can land before “order created”, so a well-built flow fetches the current record rather than trusting the event's contents. The webhook glossary entry explains the mechanism.

Retries and idempotency

Failures come in two kinds. Temporary ones, such as timeouts, rate limits and server errors, should be retried with a growing delay and a limit. Permanent ones, such as a rejected tax code or a missing customer, will fail the same way every time, so they go straight to a person.

Retries create a second risk: doing the same thing twice. Idempotency means running a step again has no extra effect. In practice:

  • Use the source event's ID as an idempotency key and record each key once it has been processed.
  • Create or update by an external reference, so a repeated “new invoice” event finds the invoice it already made.
  • Design multi-step flows so a rerun resumes at the failed step instead of repeating the ones that succeeded.

Test every automation by sending it the same event twice. If anything is created twice, it is not ready.

Error queues and alerts someone reads

Take a hypothetical wholesaler whose Shopify orders flow into its accounting system. One afternoon the accounting system starts rejecting orders because of a new tax rate. Without an error queue, those orders sit in a run history nobody opens, and the gap appears at month end. With one, each failed run lands in a list with its input, the error and a button to replay it after the fix.

  • Send alerts to a channel with a named owner, not to everyone.
  • Group repeated failures, so one outage sends one alert, not four hundred.
  • Send a short daily summary of runs, failures and items waiting, so silence means health rather than a broken alert.

Exceptions that need a decision, not a replay, deserve their own design; our article on handling automation exceptions covers queues, owners and playbooks.

Ownership, credentials and documentation

Every automation needs an owner who answers for it, and a short record your team can read without opening the tool:

  • What it does and why, in one paragraph.
  • Its trigger, the systems it reads and writes, and the account it runs as.
  • What to do when it fails, and who to call.
  • When it was last reviewed, and by whom.

Run automations under a service account with the narrowest permissions each system allows. A person's login breaks when they leave and gives the flow all of their access. Keep credentials in the platform's credential store or a secrets manager, and export workflow definitions, which n8n and Make can save as files, into version control so changes can be compared and reversed.

When to move from no-code automation to code

No-code platforms are often the right start. Signs you have outgrown one:

  • Usage-based pricing has become a significant cost as volume grows.
  • The logic needs automated tests, code review and a history of every change.
  • A flow must update several systems together or not at all.
  • A security review or data residency rule asks where data is processed and stored, and the answer is unclear.
  • Customers now depend on the flow, so a failure is a product outage.

Move one flow at a time, starting with the riskiest. Run the new version beside the old one on the same events and compare results before switching over; simple notifications can stay where they are. If the no-code platform also runs your product, our no-code service covers that path.

A small first step

A 30-minute workflow review

Pick one process that costs your team time. We look at it with you and tell you honestly whether automation or an AI agent pays, what it would take, and what to measure first.

Message us on WhatsApp

Questions we get asked

  • None is better for every case. Zapier suits simple flows that business users maintain. Make suits visual flows with heavier data mapping. n8n suits teams that want self-hosting or code inside their flows. The deciding questions are who will maintain it, how many runs you expect, where data may be processed and how much branching the logic needs.

  • Yes. We start with an inventory: every flow, what triggers it, the account it runs as, what it touches and how often it fails. Expect to find flows nobody owns, runs tied to a former employee's login and failures nobody has looked at. We fix the riskiest first, then document the rest.

  • Monitor outcomes, not just errors. Alert on failed runs, alert when a scheduled run did not happen, and compare daily counts with what you expect, such as orders created against orders received. A weekly reconciliation report between the two systems catches the quiet failures that no error message reveals.

  • Platforms update their connectors, but a change can still break a flow or silently drop a field. Pin API versions where the vendor allows it, read the vendor's change notices, test changes in a staging copy, and rely on the error queue so nothing is lost while a fix is made.

  • For most steps, no. Rules handle structured data well and are cheaper and more predictable. Add a model only where the input is unstructured or a step needs a judgement that can be checked, such as classifying incoming emails. Every model step adds cost, delay and some variability, so it should earn its place.

Keep exploring

Ready to build something secure?

Tell us about your product. We will reply with a clear plan.

Start a project

We would like to use Microsoft Clarity to see how visitors use the site, so we can improve it. It sets cookies and is off unless you accept. Cookie policy