A chatbot answers. An AI agent does. A chatbot replies to “Where is my order?” with general information. An agent looks up the order, sees it is late, drafts a message to the courier and asks a person to approve a refund. You may need neither: many jobs are best done by a simple workflow that follows fixed steps.
The four choices
| Type | How it works | Example | Risk |
|---|---|---|---|
| Rule-based chatbot | Follows a menu you wrote | Press 1 for opening hours | Low |
| AI chatbot | Answers in its own words from your information | Explains your return policy | Medium: it can be wrong |
| Workflow with AI | Fixed steps, with AI used for one or two | Reads an invoice, fills a sheet, asks for approval | Medium: easy to check |
| AI agent | Chooses its own steps and tools to reach a goal | Researches a supplier, compares and drafts an order | Higher: it can act |
Anthropic draws the same line: in a workflow, the path is set in advance; in an agent, the model directs its own steps. OpenAI says a simple chatbot, where the model does not control the work, is not an agent.
Choosing how to build it? See n8n vs Claude Agent SDK.
Side by side
| AI chatbot | AI agent | |
|---|---|---|
| Main job | Answer questions | Finish a task |
| Uses tools | Few or none | Several |
| Can change records | Usually not | Yes, if you allow it |
| Steps | One reply at a time | Many steps, some unplanned |
| If it goes wrong | A bad answer | A bad answer or a bad action |
| Testing | Check answers | Check answers, steps, limits and costs |
| Good first project? | Yes | Only with a narrow task and approval |
Which do you need? Five questions
Stop at the first clear answer
- 1Are the steps always the same?Yes: build a workflow. No: keep going.
- 2Do people only need information?Yes: build an AI chatbot. No: keep going.
- 3Must it use two or more systems?No: a chatbot with one connection may be enough. Yes: keep going.
- 4Can a person approve the risky step?No: stop and redesign. Yes: keep going.
- 5Can you tell if it did the job?No: define that first. Yes: try a narrow agent.
Malaysian examples
| Business | Job | Best choice | Where a person steps in |
|---|---|---|---|
| Clinic | Opening hours and booking times | Chatbot plus booking link | Anything medical |
| Online shop | Late parcel | Agent with limits | Refunds above a set amount |
| Property agency | Replying to new leads on WhatsApp | Workflow with AI | Prices and viewing promises |
| Accounting firm | Sorting client documents | Workflow with AI | Anything unclear |
| Factory | Finding a machine manual step | Knowledge chatbot | Safety decisions |
| Training company | Checking class dates and drafting replies | Workflow with AI | Discounts and special terms |
| Bank or lender | Gathering papers for a credit review | Agent that prepares only | The decision, always |
The same task, three ways
A customer writes: “My parcel is late. I want my money back.”
| Type | What happens |
|---|---|
| Chatbot | Explains the refund policy and gives a form link |
| Workflow | Reads the order number, checks the courier, creates a ticket and sends a set reply |
| Agent | Checks the order, courier and past messages, picks between waiting, resending and refunding, then drafts the best one for approval |
If you get five of these a week, the chatbot is enough. If you get 500, test the workflow first.
Five safety rules for agents
- Read before write. Let it look for a few weeks before it can change anything.
- Least access. Give it its own account with only what it needs.
- Approve what cannot be undone. Payments, deletions and messages to many people need a person.
- Set limits. Maximum steps, maximum spend and an off switch.
- Keep a log. You should be able to see what it did and why.
Also treat anything it reads as untrusted. A customer message or web page may hide instructions. See how to defend against prompt injection.
Plan your first one on a page
Help me plan a first AI helper. Ask me one question at a time, then fill in this page. Task and who owns it: How often, and minutes each time today: Type: rule chatbot / AI chatbot / workflow / agent (explain why the simpler types are not enough) Information it reads: Systems it uses, and read or write for each: What it must never do: Step that needs a person: Ten test cases, including three that should be passed to a person: How we know it worked after 30 days: Monthly spend cap and who can switch it off:
Start small, then grow
| Stage | What it does | Move on when |
|---|---|---|
| 1. Answer | Replies from your approved information | Answers are right on your test set |
| 2. Prepare | Gathers facts and drafts | People rarely need to fix the drafts |
| 3. Act with approval | A person presses yes | Very few are refused, and you know why |
| 4. Act within limits | Small, reversible actions alone | Logs are clean for two months |
Plenty of good systems stay at stage 2 or 3. That is fine.
Next: see what an AI agent costs, learn what agentic AI means or build one with the n8n and Claude tutorial.
Build a chatbot, a workflow and an agent, and learn when to use each.
Next public class: 28–29 January 2027 at Worq KL Gateway · seats available
HRD Corp claimable. AITraining2U is an HRD Corp registered training provider. Our public and in-house courses are claimable under the HRD Corp Claimable Courses (SBL-KHAS) scheme, and we prepare the grant paperwork with you. See HRDC-claimable AI training: courses, costs and how to claim.