Back to all posts

Who Pulls the Trigger on an AI Workflow

A model that waits for a prompt is an assistant. A model that starts on a schedule or an event is a workflow. Here is where the trigger should live.


Ask five teams what separates an AI assistant from an automated workflow and you will hear five answers. The one that holds up in practice is simple: an assistant waits for a person to start it, and a workflow starts without one.

That distinction decides where the engineering effort goes. Most of the discussion about AI tools centers on what the model can do once it is running. Very little of it covers the part that decides when it runs, with what inputs, and what happens when the run fails at 6:50 on a Monday morning.

Three parts of the same system

When we build an automation around a language model, it helps to separate three jobs.

The brain. The model itself, plus the instructions and skills that tell it how your organization does a particular task. This is where judgment lives: reading a referral fax, drafting a reply, deciding whether a record looks wrong.

The hands. The connections to the systems where the work actually sits, such as a calendar, a scheduling system, a shared inbox, or a database. Without these the model can only describe what it would do.

The clock. Whatever starts the work. It might be a schedule (“every weekday at seven”), an event (“a new form was submitted”), or a person pressing a button. It also owns retries, logging, and the alert that goes to a human when something breaks.

Teams tend to pour attention into the first two and treat the third as plumbing. In production the third is often where reliability is won or lost. A brilliant summary that nobody remembered to request has zero operational value.

Why the clock keeps getting separated

The tooling for the brain and the hands has moved quickly, and vendors keep folding more of the clock into their own products as well. Even so, many working setups still keep the trigger layer in a dedicated workflow tool. We use n8n for that job. The reasons are mundane and good: it can run unattended, it records every execution, and it can branch on failure without asking a model to improvise.

There is a real design question hiding here. If the model product starts to offer its own scheduled runs and event triggers, should you move the clock inside it? Sometimes yes. Often the answer depends on three things.

  1. Visibility. Can you see every run, its inputs, and its outputs in one place, and can someone who is not an engineer read that history?
  2. Failure behavior. When a step fails, does the system retry, stop, or alert a person? Silent failure is the worst outcome for anything that touches customers or patients.
  3. Blast radius. If the trigger fires twice, or fires with a malformed input, what is the damage? A reminder text sent twice is an annoyance. A claim resubmitted twice is a billing problem.

A practical rule: keep each layer thin

The mistake we see most often is a thick layer of branching logic in the workflow tool whose only real purpose is to assemble a prompt. Every conditional in that layer is something the next engineer has to reverse-engineer, and it tends to duplicate instructions that already live in the model’s skill files.

A cleaner split goes like this.

  1. Put judgment and wording in the instructions the model loads.
  2. Put the schedule, the retries, the logging, and the human approval step in the trigger layer.
  3. Keep the connections narrow, with permissions limited to what the workflow needs.
  4. Write down which layer owns which decision, so a change request has an obvious home.

This is harness engineering in its most ordinary form. The model is one component. The scaffolding around it, including the clock, decides whether the system is dependable enough to leave running.

What this means for an embedded engineer

For a forward-deployed engineer sitting with a client’s operations team, the trigger question is usually the first one that surfaces after a successful demo. The demo worked because someone typed the request. The team’s next question is always some version of “who starts it on Tuesday when you are not here?”

A good answer names an owner, a schedule or event, a place to see the last run, and the person who gets the alert. If any of those four is vague, the workflow is still a prototype, however good the output looks.

The takeaway

Do not wait for a single product to absorb every layer before you automate something. Pick the trigger layer that gives you visible runs and predictable failure behavior today, keep it thin, and keep the intelligence in instructions you can move. If the clock later moves into the model product, the switch should cost you an afternoon rather than a rebuild.