Agent or workflow? Choosing the right one

A workflow follows a predefined sequence of steps: predictable and repeatable. An agent decides its own steps to reach a goal: flexible, but less predictable. Many real systems combine them: an agent decides, and workflows carry out the routine parts.

Everyday analogy

A workflow is a train on fixed tracks: reliable, always the same route. An agent is a taxi driver who picks the route based on today's traffic.

Example

Sending every new invoice to accounts and logging it in a sheet: a workflow. Answering an unusual customer complaint that needs checking orders, policies and refunds: an agent.

📋Workflow• Fixed steps, same every time• Predictable and cheap• Best for routine tasks🤖Agent• Decides its own steps• Flexible, handles surprises• Best for messy, open tasksVS
Use a workflow when you know the steps; use an agent when you don't.
AspectAgentWorkflow
ControlAutonomousPredefined
DecisionsDynamic, based on contextRule-based and fixed
AdaptabilityHighLow
Best forComplex, open-ended problemsSimple, repetitive tasks
When things changeHandles the unexpectedNeeds someone to update it
ExamplesLangGraph or CrewAI agentsn8n, Zapier, Airflow

Rule of thumb: if the task is well-defined with clear rules, use a workflow. If it's open-ended and needs judgement, use an agent.

Try it yourself

About 10 min

Agent or workflow?

  1. List 5 automations: sending a weekly report, answering open customer questions, approving leave, research, invoice entry.
  2. Mark each: fixed workflow or agent.
  3. Write why (predictable steps vs needs judgement).

What you should see: Most business tasks are better as simple workflows; agents are for the messy ones.

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Build it for real · guided projectBuild an AI workflow that summarises feedback for youAbout 75 min · No coding needed · step by step
Test what you learned

Take a quick quiz, or look up any word in the glossary.