Topic 1 of 5 · 4 min read
Choosing a fixed workflow or an agent
Goal: Decide for four business processes whether a fixed workflow or a tool-using agent fits, with one reason each.
Use a fixed workflow when you can write the steps down in advance, and an agent only when the steps depend on what it finds along the way. A workflow follows a path you drew. An agent is a model that chooses its own next step, calls tools, looks at the result and decides again.
Check yourself · 1 of 3
A process has five fixed steps that never change. Which build fits best?
Why it matters
Agent builders such as Microsoft Copilot Studio, OpenAI Agent Builder, Zapier Agents and n8n make both options look equally easy. They are not equal. An agent costs more per run, because every decision is a model call. It is slower. And it can take a path you did not expect. Anthropic's engineering guide on building agents says to start with the simplest solution and add agent behaviour only when it clearly pays off.
How to choose
Ask four questions about the process:
- Can I list every step? Yes means workflow. "Copy new form rows into the CRM, then send a welcome email" has no choices to make.
- Does the next step depend on what the last one returned? If a customer message may need a refund lookup, a shipping check or a human, the path varies. That points to an agent.
- What does a wrong step cost? A wrong email to a customer or a wrong refund is expensive. Prefer the fixed path, or an agent with tight limits.
- How often does it run? A task run thousands of times a day magnifies the cost and delay of a model call at every step.
You can also mix them. A common design is a fixed workflow with one model step inside it, for example "classify this email as billing, bug or other" and then a fixed branch for each label. You get the flexibility of a model where it helps and predictable steps everywhere else.
Before and after
Before: "Let's build an agent that handles all our invoices." The agent reads each invoice, decides what to do, and may email suppliers on its own.
After: A workflow reads each invoice, a single model step pulls out supplier, date and total, and fixed rules compare them with the purchase order. Only mismatches go to an agent that can look up past invoices, and it only drafts a note for a person.
The second design uses the model for the one fuzzy part and keeps the money steps fixed.
What goes wrong
- Teams choose an agent because it sounds modern, then pay for model calls on a task a simple rule would solve.
- A task is split so loosely that the agent loops, retries or picks the wrong tool, and nobody can say why it did.
- A workflow is forced onto a task that really varies, and ends up with dozens of branches nobody can maintain.
Examples
Four processes, four choices
| Process | Fit | Reason |
|---|---|---|
| Copy form answers into a spreadsheet | Workflow | Same steps every time |
| Reply to a customer who may need a refund, a tracking lookup or a person | Agent, with limits | The path depends on the message |
| Send a weekly report every Monday | Workflow | Fixed schedule and fixed content |
| Sort incoming email by topic, then file it | Workflow with one model step | One fuzzy decision, then fixed branches |
The simplest design first
Before you open an agent builder, write the process as a numbered list. If you reach the end without writing "it depends", build a workflow. Each "it depends" marks a place where a model might need to decide.
Key points
- A workflow follows steps you wrote; an agent chooses its own next step after each result.
- Each agent decision is a model call, so agents cost more and run slower than fixed steps.
- Choose a workflow when you can list every step in advance, and an agent when the path depends on what it finds.
- The more a wrong step costs, the more fixed structure and human review it needs.
- A fixed workflow with one model step inside often gives you the useful part of an agent with much less risk.
Common mistakes
- Choosing an agent for a task whose steps never change.
- Giving an agent a task where a wrong step costs real money and has no review.
- Forcing a varying task into a huge workflow with dozens of branches.
- Skipping the mixed design: a fixed flow with one model step.
Check yourself · 2 of 3
What is the main difference between an agent and a workflow in a no-code builder?
Check yourself · 3 of 3
A support inbox gets messages that may need a refund lookup, a tracking check or a human. Each wrong refund costs money. Which design is the best fit?
Practice items, not counted towards your mastery.
Start here
- Microsoft Copilot Studio documentation (opens in a new tab)DocsFree
Microsoft's official docs for building agents with tools, instructions and testing in a no-code builder.
- Agent Builder (OpenAI docs) (opens in a new tab)DocsFree
OpenAI's guide to designing, testing and publishing agents in a visual builder.
- AI Agent node (n8n Docs) (opens in a new tab)DocsFree
Shows how an n8n agent is connected to a model and tools, and how it decides which to call.
More for this topic
- Building effective agents (Anthropic) (opens in a new tab)ArticleFree
Explains the difference between workflows and agents and why to start simple.