AIDecember 4, 20267 min read

How to make an AI agent for customer service, from SOP to live conversations

Portrait of Joe Huffnagle

Joe Huffnagle

VP Solution Engineering & Delivery @Parloa

On a Monday morning, the queue is full of familiar requests: customers asking where an order is, how to change a booking, or why a password reset email never arrived. Your experienced agents answer these from memory.

The official procedures sit in PDFs and wiki pages that nobody opens during a call.

An AI agent can take over that first layer of work, but only if it follows the same procedures your team uses and knows when to hand a customer off to a person. Most of building an AI agent for customer service comes down to turning those buried procedures into instructions, system connections, and limits a model can follow.

What makes an AI agent different from a chatbot or workflow

An AI agent is a system that completes tasks on a customer’s behalf: it decides what to do next, uses tools to act, a

nd stops when the goal is met. A chatbot that only answers questions, without controlling how a workflow runs, is not an agent (opens in a new tab).

An agent has four parts:

  • Model: The large language model reads the request, reasons about it, and picks the next step.

  • Tools: Functions such as order lookup, booking updates, and ticket creation let the agent act instead of only talking.

  • Instructions: Plain-language rules set the role, the steps, and the limits.

  • Memory: Conversation history and state hold a multi-turn exchange together.

Choose an agent over fixed rules when a request needs judgment. Three signals point to an agent instead of fixed rules. The first is complex decisions with exceptions, such as refund approvals. The second is a rule set so large that every update is costly and error-prone. The third is heavy reliance on unstructured data, such as a free-text insurance claim. When a request follows one fixed path, a deterministic workflow is easier to audit.

The six steps from SOP to live conversations

Each step depends on the one before it: scope comes first, then the build, then safety, then launch. The request you pick in step 1 determines which systems the agent needs in step 4.

1. Pick one customer service use case and define success

Pick one request that arrives in high volume and carries little risk, such as order status (opens in a new tab), password resets, or booking changes. High-volume requests with clear rules give the agent the most practice and the least risk.

Decide how you will measure success before you build. Track these four measures together:

  • Resolution rate: The share of conversations where the customer’s need was completed, checked against repeat contacts on the same issue.

  • Appropriate escalation: Whether the agent handed off the conversations it should have, with context intact.

  • Customer satisfaction (CSAT): Satisfaction measured specifically for AI-handled conversations.

  • Containment: The share of conversations that never reached a person (opens in a new tab), reported as one supporting metric.

Containment on its own counts customers who gave up as successes. Report abandonment separately so hang-ups do not inflate containment.

2. Choose a build approach

Base the build approach on who will own the agent after launch. Most teams choose from four options:

Entry prices for the first three options cover a prototype. Their free tiers and starter plans cap runs, tasks, or traces well below contact center volume. Code options also put full responsibility for testing, hosting, and monitoring on engineers.

Parloa belongs to the fourth category. Its AI Agent Management Platform (opens in a new tab) lets CX teams build and edit agents in natural language without developers, then test and monitor them at enterprise scale. Pricing is consumption-based and set by custom quote.

For a high-volume contact center, ask who will edit the agent every week after launch, because that answer usually decides the approach.

3. Turn your SOPs into agent instructions

Rewrite each SOP as a short routine with five parts: role, goal, rules, tone, and boundaries. Start from the procedures, support scripts, and policy documents your team already uses, and break each policy into actions and the conditions for moving between steps (opens in a new tab). Each step should produce one action, such as requesting an order number or calling a lookup tool, with a branch for every common exception.

Here is a support triage agent written from an order-status SOP:

Role: You are the first-line support agent for order inquiries.
Goal: Resolve order-status and delivery-date questions in one conversation.
Rules:
1. Ask for the order number. If the customer has none, ask for the checkout email.
2. Call order_lookup. Quote the status and delivery date exactly as returned.
3. If the order is marked lost or delayed, offer a replacement request and hand off to the delivery team.
4. Never promise refunds. Route refund requests to the refunds queue with the order number.
Tone: Brief, warm, plain words. One question at a time.
Boundaries: Answer only order and delivery questions. For anything else, or if the customer asks for a person, hand off with a summary.

The agent takes three inputs: the customer’s message, the order number or checkout email, and the lookup result. It returns either an answer quoting the system’s status or a handoff note listing the intent, order number, steps already taken, and reason for transfer. Use exact tool names: instructions that point to missing tools will fail.

4. Connect knowledge sources and systems

An agent draws on two kinds of sources: approved content it searches and live systems it queries. Keep their roles distinct:

  • Approved content: Help-center articles, FAQs, and policies go into a knowledge base (opens in a new tab) that is split into passages and indexed ahead of time. The agent retrieves the relevant passage and answers from it.

  • Live systems: Order status, account details, and ticket history come from tool calls to your CRM, order, or ticketing system when the customer asks.

Give each connection the narrowest access the task needs. An order-status agent only needs read access, and if it creates tickets, its write permission should cover that one action and nothing else. Grant minimum permissions, and enforce them in the downstream system itself, so the model never decides what it is allowed to do.

Grounding the agent’s answers (opens in a new tab) means instructing it to answer only from retrieved passages, say when it does not know, and cite its source. Give every knowledge source an owner who refreshes it whenever a policy changes, so the index matches current policy.

5. Set guardrails and human handoffs

Decide which actions need human approval or a verified customer before the agent can take them. Actions such as canceling orders, authorizing large refunds, and making payments should require human approval until the agent has proven reliable. Require verified identity (opens in a new tab) before the agent reads account details or changes anything.

Write these escalation triggers into the instructions:

  • Ambiguous intent: The agent still cannot tell what the customer wants after repeated clarifying questions.

  • High emotion: The customer is frustrated, distressed, or raising a complaint.

  • Low confidence: The model is unsure of the intent or of whether an action is correct.

  • Explicit request: The customer asks for a person.

The company still owns the answer when the agent gets it wrong. In Moffatt v. Air Canada (opens in a new tab), the airline’s chatbot told a customer he could apply for a bereavement fare after traveling, which contradicted the airline’s policy. The British Columbia Civil Resolution Tribunal held the airline responsible for all information on its website, including the chatbot’s answers.

6. Test, launch in phases, and monitor

Build your test set from real requests before launch. Organize testing around coverage, pass criteria, and consistency:

  • Coverage: Pull past conversations that cover your top intents, missing or conflicting information, policy edge cases, escalation triggers, and upset customers.

  • Pass criteria: Treat policy compliance, correct actions, and correct escalation as pass-or-fail gates.

  • Consistency: Run each case several times, because a customer-facing agent has to behave the same way on every run.

Add every failure to the test set and rerun before release.

Launch on a small share of live traffic, compare results with your human baseline, and widen the rollout only when resolution, escalation accuracy, and CSAT hold steady. After launch, track resolution, repeat contacts, escalation quality, CSAT, response latency, and tool errors.

A pilot can be the first phase of a wider rollout. AUTO1 Group’s AI agents (opens in a new tab), built on Parloa, schedule car-purchase appointments end to end. After the company’s pilot in Germany and Spain, the solution rolled out to nine countries in nine weeks, in seven languages.

Single agent or multi-agent design

Start with one agent and split it only when clearer instructions or tool names stop fixing its mistakes.

Three factors guide the decision:

  • Signs to split: Instructions pile up conditional branches, the agent picks the wrong tool among similar ones, or a task crosses a security boundary, such as moving from general inquiries to payments.

  • Routing between agents: A manager agent can call specialists as tools and keep control of the conversation, or a triage agent can hand the conversation to a specialist that takes over.

  • Shared context: A receiving agent gets the conversation history, filtered to remove anything it should not see. A specialist called as a tool returns a short summary instead of its full working.

Handoffs suit a move from a booking question to a payment, because the payment specialist needs to talk with the customer directly. Keep a record of which agent owns each intent so routing errors are easy to trace.

What it costs to build and run an AI agent

Model usage for one support request can cost about a cent. Silicon Data’s blog gives an illustrative estimate of $0.0111 per ticket (opens in a new tab), based on stated assumptions for one model, GPT-5.2, so the figure changes when that model’s pricing changes or a newer model replaces it.

The estimate breaks down as follows:

  • Model tokens: The estimate assumes 3,150 input tokens (a 500-token system prompt, 2,500 tokens of retrieved content, and a 150-token customer message) plus 400 output tokens.

  • Agent loops: Each tool call or retry repeats part of that cost, so an agent that makes several model calls per conversation costs several times a single reply.

  • Platform plans: Builder platforms add a monthly plan or credit charge on top of model usage, as the entry prices in the step 2 table show.

  • Free tiers: A Copilot Studio trial agent cannot be published, and most free plans cap runs, tasks, or traces well below contact center volume.

At that rate, 10,000 order-status tickets a month come to about $111 in model usage before platform fees. The number of model calls per conversation, driven by agent loops, tool calls, and retries, usually decides the real monthly bill more than the base token rate, so estimate calls per conversation from your test conversations before you set a budget. Conversations that still go to a person carry human handling cost on top.

How Parloa supports each step

Parloa is an AI agent management platform (opens in a new tab) for enterprise contact centers. It lets CX teams run the same sequence from this article, from SOP to launch, without developer work.

  • Turn SOPs into instructions without developers: Agent Builder (opens in a new tab) lets CX teams write natural-language briefings that set an agent’s role, instructions, tools, and boundaries, the routine from step three.

  • Test every intent before launch: Performance Lab (opens in a new tab) simulates conversations across every intent and handoff before release, the testing from step six.

  • Monitor live conversations after launch: Parloa Lens (opens in a new tab), the observability tool, monitors service and operational performance across live conversations, with alerts tied to the conversations that triggered them, the monitoring from step six.

Together, these support the loop this article recommends: find a failure, fix it, and retest before widening the rollout. Parloa Navigator (opens in a new tab), the AI optimization copilot across building, testing, and monitoring, diagnoses the root cause of a failure and recommends line-level fixes. A human approves each fix before release.

Move your AI agent from SOP to live conversations

An AI agent for customer service is only as reliable as the procedure, data access, and handoff rules behind it. Start with one well-scoped request, write its SOP as instructions the agent can follow, and measure resolution and escalation quality before you widen the rollout.

Parloa (opens in a new tab) helps CX teams follow the same sequence at enterprise scale: Agent Builder turns SOPs into natural-language briefings that set an agent’s role, instructions, tools, and boundaries without developer work; Performance Lab simulates conversations across every intent and handoff before release, and Parloa Lens monitors live conversations with alerts tied to the conversations that triggered them.

Your customers can tell when the first answer is right and when the person who takes over already knows why they called. Book a demo (opens in a new tab) to take your first use case live.

FAQs about making an AI agent for customer service

Is it free to create an AI agent?

A prototype can be free. Make, n8n, Zapier, and LangSmith all offer free tiers, but their caps on credits, runs, or traces sit far below contact center volume. Production adds paid platform plans and model usage for every conversation.

What are the seven types of AI agents?

The seven labels are simple reflex, model-based reflex, goal-based, utility-based, learning, hierarchical, and multi-agent. Most modern AI agents work at the goal-based level or above, planning steps toward a goal such as resolving a customer’s request. Multi-agent designs become relevant when separate specialists handle routing, authentication, and payments.

How long does it take to build a customer service AI agent?

A prototype can take days, but reaching production usually takes weeks to months. Integrations with order, CRM, and ticketing systems, test coverage for edge cases, and internal security and compliance approvals lengthen timelines.

Can one AI agent handle voice and chat?

Yes. Shared instructions can serve both channels, but voice adds constraints. Natural turn-taking is the hardest: callers expect the agent to respond and yield the floor the way a person would.

Voice agents must handle interruptions, background noise, accents, and dialects. Test voice separately with real call audio before launch.

Abstract dark brown and orange gradient

Ready to turn conversations into lasting loyalty?

Let's build your next great customer experience.