AI implementation
Three pitfalls when implementing AI workflows—and how to avoid them
An AI workflow can produce an impressive demonstration and still fail to save anyone time. Before connecting an assistant to your business systems, you need to decide what it should do, what it can change, and how you will know it worked.
Consider a simple example: turning a customer’s email into a task for the right person. The AI must understand the request, find the customer, identify an owner and create the task. Each step introduces a different implementation problem.
1. Automating a process before defining the decisions
“Automate customer requests” is too broad to implement reliably.
What counts as a request? What happens when the customer mentions two projects? Who decides priority? What should happen if the owner is unclear?
Start with a narrow workflow:
When an existing customer emails a delivery-date change, find the matching order, draft a task for the account owner, and ask for review before changing the delivery schedule.
Separate predictable steps from interpretation. Looking up an order number can be ordinary software. Understanding an ambiguous email may benefit from AI.
An AI workflow follows a defined sequence of steps, some of which use a model. An AI agent has more freedom to choose its next steps and tools. That freedom can be useful when the route is unpredictable, but it adds complexity. Anthropic similarly recommends starting with the simplest approach that meets the task. Read Anthropic’s guide to building effective agents.
A lesson from my work: how real-time did the data need to be?
On one project, a real-time chatbot that queried the database directly initially seemed like the most exciting option. It promised answers drawn from the latest data, whenever a customer asked a question.
After a few weeks of digging into what customers actually needed, we discovered that they used “real-time” broadly. A report refreshed once a week was more than sufficient for the decisions they were making.
We settled on preprocessed JSON files that the agent could query. JSON is a structured text format for storing data; in this case, it gave the agent prepared information to work with instead of querying the live database for every answer.
In that project, the change cut costs by 90% and reduced response time by around 80%, while answers became more consistent.
The lesson was to ask what customers needed to decide, and how fresh the information needed to be, before choosing the architecture. The most sophisticated solution was not the best fit for the job.
What to do: map one workflow, identify its uncertain decisions, check how fresh its data needs to be, and define when it should ask a person for help.
2. Confusing instructions with capabilities and controls
Tools, skills and hooks solve different problems. Giving an assistant detailed instructions does not automatically give it access to your systems—or prevent it from making an unwanted change.
| Component | Meaning in an AI implementation | Example |
|---|---|---|
| Tool | A callable capability that retrieves information or performs an action. | Look up an order or create a task. |
| Skill | A reusable package of instructions, potentially with scripts and reference material. It guides how a task is performed. | Explain how your team classifies and routes customer requests. |
| Hook | A handler triggered at a defined point in a supported system’s execution. | Run a validation check before an action, or log its result afterwards. |
| Webhook | A notification sent from one system to another when an event occurs. | Notify your workflow when a new enquiry arrives. |
The terminology and available features vary by platform. For example, Claude Code supports skills and lifecycle hooks. Read Anthropic’s explanation of skills and hooks.
A skill might say, “Get approval before changing a delivery date.” For an important restriction, the application should also enforce approval before allowing the write. A written instruction alone is not an access-control mechanism.
What to do: give the assistant only the tools it needs, separate reading from writing, and enforce important restrictions in the application.
3. Measuring activity instead of completed work
A tool call is an attempt. A successful business outcome needs evidence.
For a task-creation workflow, check whether the task exists, belongs to the correct customer and has the correct owner. Also measure the time people spend reviewing and correcting it.
My consultancy website provided a small example of this distinction: two visitors clicked the booking button, but one click was my own test, and we found no booking confirmation associated with the later period. Counting those clicks as booked consultations would have overstated the result.
Before launch, test representative cases—including missing information, ambiguous requests, duplicate submissions and unavailable systems. After launch, keep checking outcomes and failures.
What to do: define success before building. Track correct completion, review time, exceptions and cost per completed workflow.
Where to start
Choose one recurring task with a clear owner and a measurable result. Write down its inputs, allowed actions, exception path and success criteria. That gives you something concrete to test before expanding.