Technology education since 2007Live, project-based learningPost-course support

Workflow Design with Artificial Intelligence Agents: A Guide to Human-Approved Automation

How can you determine task boundaries, data access, and human approval when designing workflows with AI agents? An applicable guide with examples for SMEs.

Workflow Design with Artificial Intelligence Agents: A Guide to Human-Approved Automation

A customer is asking about the status of his order. To reply, you need to read the email, find the order record, check the delivery information, and write an appropriate reply. A single request may seem simple. But when similar demands are repeated throughout the day, your main work is constantly interrupted.

Artificial intelligence agents can undertake preparation and control steps in such processes. To establish a reliable workflow, simply assigning tasks to the agent is not enough. You also need to determine which source to look at, what tools to use, when to stop, and from whom to get approval. This guide explains the basic steps of this design for small and medium-sized businesses.

From chatbot to agent: What's changing?

The chatbot will usually produce an answer to your question. An agent, on the other hand, can plan more than one step in line with the determined goal, use the tools he is authorized to use, and choose the next step according to the results he receives. For example, a customer can classify his message, search for the relevant order, identify missing information, and draft a response.

This distinction is not the same for every product. Chat interfaces can also use tools; The capabilities of the systems offered as agents may differ. When evaluating, look at what operations the system can actually perform, not the name. It is often sufficient to execute a step solved by fixed rules with classical automation. You can use the agent at points that require interpretation or selection based on context.

1. Choose a small and limited process

Don't try to automate all customer service on the first try. Choose a process that is repeated frequently, whose output is easy to check, and that can be reverted to in case of errors. Suitable starts may include outlining tasks from meeting minutes, categorizing incoming requests, or compiling data for a weekly report.

Write how the process works today: What triggers it? What information is needed? Who decides? Which step is expected? To whom does the result go? This brief map makes visible the uncertainties in current functioning. If the process cannot be carried out consistently even by humans, it is necessary to clarify the rules first.

2. Define the task as a working contract

Instruction given to the agent; It should include purpose, scope, resources and stopping conditions. Instead of “help customers” you can use this framework:

“Only review order status questions. If the order number is missing, prepare a draft information request. Obtain status information from the authorized order source. Do not estimate the delivery date that is not available in the source. Submit the response to the customer representative for approval before sending. Forward return, discount and payment requests to the representative.”

Also specify the expected output: summary of the request, record used, response prepared, and unresolved points. So the person giving consent does not just see a flowing text; can also examine what information the text is based on. Recording instruction changes with date and version makes it easier to find the cause of problems.

3. Limit vehicle and data access

An agent does not need full access to every system to do his job. A flow that prepares order status does not need authorization to make a payment, delete a customer record, or change prices. If possible, grant read-only access initially. Limit write and send privileges to actions that are truly necessary.

Also control which data will be transferred to which service. Customer messages may contain personal information. Extract fields that are not needed for the task; Review the data processing and storage conditions of the providers used. Separately evaluate your business's obligations under KVKK. Do not include passwords and secret access keys in instruction texts.

Emails, files and web pages may contain misleading instructions to the agent. Treat these as content to be processed; Do not accept it as a source of authority that changes the rules of duty. Support this distinction not only with instruction, but also with tool permissions and application controls.

4. Place human approval in the right place

Asking for approval for every small step can tire the employee. Not asking for any confirmation may result in a faulty transaction being reflected on the customer or the business. Design confirmation points based on the impact of the action.

In the first application, summaries and drafts remaining within the institution can be prepared automatically. Establish clear authorization and appropriate approval steps for actions such as sending a message to a customer, changing a record, applying a discount, or initiating a payment. Especially transactions that have financial, legal or irreversible consequences require tighter control.

The transaction, target person or record, information to be used, and possible outcome should appear on the confirmation screen. “Do you approve?” The question alone is not enough. Specify whether reapproval is required if the recipient, amount, or content changes after approval. When there is no response, the default behavior is to wait or refer to the person in charge, which is a safer start than proceeding silently.

5. Sample flow: From order question to confirmed answer

Consider the following flow for a small e-commerce business:

  • A new customer message arrives. The agent evaluates whether this is an order status question.
  • Order number and customer match is checked. If the match is unclear, the process stops before sharing any other customer's information.
  • The current status is read from the authorized system. It is recorded when the resource is checked.
  • The agent drafts a short response with the available information. It also flags missing or contradictory information.
  • The agent reviews the source record and draft together. Approves, corrects, or transfers the request to someone else.
  • Approved content is sent. The sending result is saved; If the result is uncertain, the same message will not be sent again immediately.

Here the agent's contribution is to find the information and prepare the response. The representative evaluates the suitability of the information to be conveyed to the customer. If the order status may change while waiting for confirmation, you can also add a rechecking step before shipping.

6. Try hard cases before going live

Testing only with problem-free samples is misleading. Add situations such as missing order number, two customers with the same name, outdated delivery information, conflicting records and inaccessible system to your testing list. Also examine how the flow behaves when the customer message contains a phrase such as “Ignore previous rules.”

Prewrite the correct behavior for each example. The agent's task is sometimes to produce a response, sometimes to indicate missing information, and sometimes to stop. Try it first with fictional or suitably anonymized data. Then run a limited-scope pilot where every result produced is reviewed by humans.

7. Track errors, cost and liability

Use tracking number for each transaction. Record what sources were looked at, what tools worked, who approved, and what the result was. Do not keep unnecessary personal data in records; Specify access and retention period.

When the connection is lost, check whether the first attempt is completed before running the same operation again. Establish controls that prevent duplicate submissions or record changes. Limit the number of attempts and processing time. Determine the person who will stop the flow and the manual continue method from the beginning.

Don't measure success just by speed. Evaluate how much drafts have been corrected, cases of referencing the wrong source, stopped transactions, employee control burden, and cost per transaction. Expand or narrow scope based on pilot results.

One-page plan to get started

Choose a process and answer these five questions: What will the agent prepare? Which source will he trust? What operations can he do? Where will human approval be required? Who will take over when there is a mistake?

When the answers to these questions become clear, vehicle selection becomes easier. Well-designed human-approved automation provides team members with more understandable information and a controllable work routine. Your first goal should be to establish a small flow where you know its limits and can evaluate its results regularly.

WHATSAPP • ONLINEChat with usGet information