ASADULELAHBOOK A CALL →

Home / Learn

Learn with Asadulelah · Lesson 10

n8n or Claude Code: which should I use for business automation?

By Asadulelah, a Kerala-based builder of custom software and AI systems for businesses. I build by directing a fleet of AI agents, and this is how I actually do it.

WHO THIS IS FORBusiness owners, freelancers and automation builders choosing between a visual workflow tool and AI-written code for real client work.

WHAT YOU'LL HAVE AT THE ENDA clear rule for which jobs belong in n8n and which belong in owned code, plus what a code-first setup looks like day to day.

Use n8n for simple, visible connections between apps that a non-technical person may need to change; use Claude Code to write real, owned code when the automation carries business logic, money or data that must never be dropped or duplicated. They aren't the same kind of tool: n8n is a place where workflows run, while Claude Code is an agent that writes the program and can be the AI step inside it.

I started on n8n. I learned it in two nights in 2025, built a library of workflows that's still public on my GitHub, and ran two self-hosted n8n servers. In 2026 I moved my business work to code written by AI agents, and in September I stopped both servers. Here's why, and when I'd still pick n8n.

Why I moved off n8n

My path was n8n, then Python, then TypeScript, then I stopped building plain automations at all, because automations have become the baseline. Clients don't want a workflow. They want a system that runs their operation.

Three reasons drove it:

The thing that made code realistic for one person: I don't type it. "We're just prompting the AI, it will find the best languages to work with by itself." My job is the design, the rules and the checks.

When n8n is still the right answer

If two or more of those are true, n8n (or a tool like it) is cheaper and faster. Don't build software to move a row.

When I write code with Claude Code instead

The same job, both ways

Take a simple one: a lead fills a form and should get a follow-up.

In a visual tool: form trigger, add a row to a sheet, send an email. It works in the demo. Then the email API times out once, the run fails, and that lead never hears back. Nobody notices, because nothing shows a missing row. The same person submits twice and gets two emails.

In code: the form posts to a small endpoint that saves the lead first, with a unique key on email and phone, so nothing is lost and nothing is doubled. A worker sends the follow-up from a queue with retries and backoff. The AI drafts the message from what the lead wrote; a person approves before anything is sent. After three failures, I get an alert. Same idea, but the failure cases are designed, not discovered.

What runs my automation now

Scheduled jobs are plain system timers on my server. Some run a small script; some wake a headless Claude Code session to read, summarise and draft. Example: a watcher wakes every two minutes, reads new messages with a read-only key, and posts a one-line summary and a draft reply for me to approve. Bigger jobs go to a fleet of Claude Code workers through a small launcher. Business logic lives in versioned code with tests, not in a visual editor.

One honest catch: scheduled AI jobs depend on your usage limit. When an account hits its cap, a scheduled run can die in two seconds without telling anyone. So every AI job that matters has a failure alert, and the ones that don't need AI don't use it.

Mistakes I made with n8n

What I'd do next

If you're choosing today: list the automations you want and mark each one "money or data that must not be lost" or "convenience". Put the convenience ones in n8n now. For the others, write a one-page description of the rules and have Claude Code build it as a small service with tests, and keep a human approval on anything that sends messages or moves money. If you want to see what a code-first system looks like for a real business, my answers on custom software walk through it.