Custom AI AgentsCustomer SupportLINE OA

AI Agents for Customer Support Automation in Thailand: What to Build and How

By Abraham Erick Rubin, FounderUpdated 12 min read

Build a first-response workflow that classifies each LINE OA or email message, retrieves an answer from an approved knowledge base, drafts a reply for human approval, and escalates anything it cannot support with a source. Start with a person reviewing every reply. Release a category to auto-send only after your own data supports that decision.

This page covers support deployment. If you are still sorting out the terms, start with what an AI agent does and how it works or how an AI agent differs from a chatbot.

When is support a good first agent?

Support is a good first agent when the same questions recur, the answers exist in writing, and a person can check a reply before it goes out. A human checkpoint also keeps errors recoverable while you learn how the system behaves on your own messages.

Choose a different first project if any of these apply:

  • Complaints or contract disputes make up much of your inbox.
  • Answers depend on what one account manager remembers.
  • No written source exists for common questions, and nobody has time to create one.
  • Volume is too low for the time saved to cover the upkeep.

If support is only one of several candidates, use our guide to prioritizing AI agent use cases to compare them.

What should the agent do with each ticket?

Start by verifying and de-duplicating the incoming event, then run the same pipeline for every channel:

  1. Receive. Accept the LINE webhook or email, and verify the source.
  2. Classify. Assign intent, urgency and language.
  3. Retrieve. Search the knowledge base and the customer's CRM history.
  4. Gate. Decide whether the evidence is strong enough to draft.
  5. Draft or route. Draft a reply with its source, or send the ticket to the right person with a short summary.
  6. Approve. Show the draft to a reviewer, who approves, edits or rejects it.
  7. Send and log. Send the reply, and log the message, classification, draft, decision and outcome to the CRM.
  8. Follow up. Remind the owner internally if a ticket has no human response within the window you set for its urgency.
Swimlane with customer, agent, reviewer and CRM lanes: LINE or email intake, classify, retrieve knowledge, confidence gate, human approval or escalation, CRM log and follow-up
The confidence gate decides which tickets get a draft, and a person controls what reaches the customer.

The swimlane makes one point: the agent does not own the customer conversation by default. It prepares the work, and a person remains the sender until a category has been deliberately released.

How should the confidence gate work?

Gate on retrieval evidence and business rules, not on the model's own statement of how sure it is. A model can state a wrong answer with confidence, so its self-assessment is weak evidence.

Set the gate with these steps:

  1. Label a sample of past tickets with the correct intent and the correct source document.
  2. Run retrieval on that sample and record the match score for correct and incorrect results.
  3. Choose a threshold per category, stricter where a wrong answer costs more.
  4. Require every draft to cite the passage it relies on, so the reviewer can check it quickly.
  5. Rerun the sample whenever the knowledge base, prompt or model changes.

When the gate fails, the agent follows a fixed path:

ConditionAgent actionOwner
Strong match with a citable sourceDrafts a reply with the citationReviewer approves, edits or rejects
Weak match or no sourceDoes not answer, and routes with a summarySupport agent
Complaint or unhappy customerRoutes with an urgency flag, and sends no drafted replySupport lead
New business inquiryRoutes with context from the messageSales team
Pricing exception, contract or legal questionRoutes without proposing an answerAccount owner
Customer asks for a personTells the customer someone will follow up, then routesSupport agent
Request to access, correct or delete personal dataRoutes to the person who handles privacy requestsPrivacy owner

The last row has a deadline attached. Under the English translation of Thailand's PDPA, section 30 requires a controller to act on an access request within 30 days (unofficial translation, checked 6 Nov 2026), so these requests should not wait in a general queue.

What does LINE OA change in the design?

LINE adds webhook handling, conversation state, reply-token limits and a message quota, all of which an email-only design can ignore.

Webhooks. When a user adds your account or sends a message, the LINE Platform sends an HTTPS POST with a webhook event to your server (LINE reference, checked 6 Nov 2026). Verify the signature before processing, and use webhookEventId to detect redelivered duplicates (LINE docs, checked 6 Nov 2026). Without that check, a redelivered event can create a second ticket.

Conversation state. LINE chats are ongoing threads, so the workflow must store recent messages and link them to the customer record. A short follow-up such as "and for 50 units?" means nothing without the previous message.

Reply tokens and approval delays. Reply messages use a reply token from the webhook event, and push messages can be sent at any time (LINE docs, checked 6 Nov 2026). Expired or already-used tokens are rejected (LINE reference, checked 6 Nov 2026). A human review step can outlast a token, so build a fallback to push for approved replies.

Message quota. Reply messages are not counted toward the plan's message limit, while push, multicast, broadcast and narrowcast messages are. Messages are counted per recipient, and over the limit they are not sent and an error is returned (LINE pricing docs, checked 6 Nov 2026). Your workflow needs to handle that error, or the customer simply gets no reply.

Thailand packageMonthly price, before 7% VATMessages includedExtra message
FreeNone listed300None listed
BasicTHB 1,28015,000THB 0.1
ProTHB 1,78035,000THB 0.06

Source: LINE for Business Thailand, checked 6 Nov 2026. Confirm on the live page before you commit, because plan details vary by region.

Illustrative sizing, using our own assumed volumes: 400 tickets a month, each with one approved reply sent by push and one follow-up, is 400 × 2 = 800 counted messages. That exceeds the Free package's 300 and sits well inside Basic's 15,000. Basic with VAT at the current 7% rate (checked 6 Nov 2026) is THB 1,280 × 1.07 = THB 1,369.60 a month. Marketing broadcasts draw on the same limit: a broadcast to 3,000 followers counts as 3,000 messages.

Rich messages and handoff. LINE supports buttons and quick replies, which suit structured choices such as "Track order" or "Talk to our team". On handoff, tell the customer a person will follow up, then send the team the conversation summary.

Which components do you need?

You need six components, and the knowledge base deserves the most design time because every draft depends on it.

ComponentExample optionsJob
Language modelChosen by test results on your ticketsClassifies intent, drafts replies, summarizes for routing
Workflow orchestrationn8nConnects channels, knowledge base and CRM, and manages retries
Knowledge baseNotion, Google Docs or SupabaseHolds approved answers with an owner and review date
CRM or helpdeskHubSpot, Pipedrive, Zendesk or FreshdeskStores customer history and the interaction log
ChannelsLINE Messaging API, Gmail or SendGridReceive messages and send replies
Review interfaceSlack or an internal LINE groupPresents drafts for approval

Choose the model by testing it on your own sample: Thai, English and mixed messages, cost per ticket, latency, and the data terms for your deployment route. See how we build custom AI agents for the selection criteria, the testing stages and the handover.

Structure knowledge as specific questions and answers with a named owner, not as a large pile of documents. A retrieved passage needs to answer one question clearly for a reviewer to trust it.

Which metrics should you track?

Track these separately, because they measure different things and combining them produces misleading numbers.

MetricDefinitionWhat it tells you
Autonomous resolution rateTickets closed with no human involved ÷ all ticketsHow much work is truly done without your team
AI-assisted draft acceptance rateDrafts a human approved ÷ drafts producedHow useful the drafts are to reviewers
Human handoff rateTickets routed to a person with no draft ÷ all ticketsHow much the system cannot or should not attempt
First-response timeMedian and 90th-percentile time to the first substantive replyWhether customers wait less

Do not count an automatic "we received your message" as a first response. Track customer satisfaction and reopened tickets alongside these, so that faster replies do not hide worse ones.

In this illustrative month (our assumed numbers, not a benchmark), 400 tickets arrive and every reply is human-approved:

  • 160 tickets are routed to a person with no draft, so the handoff rate is 160 ÷ 400 = 40%.
  • 240 drafts are produced: 150 approved unchanged, 50 approved after edits, and 40 rejected.
  • Draft acceptance is (150 + 50) ÷ 240 = 83%, or 150 ÷ 240 = 62.5% if you count only unchanged drafts.
  • Autonomous resolution is 0 ÷ 400 = 0%, because a person approved every reply.

A team could honestly report "83% accepted" for that month. It could not honestly report that AI resolved 83% of tickets.

Now release one low-risk category, such as datasheet requests, to auto-send. If 60 tickets are auto-sent and 6 reopen or escalate, autonomous resolution is (60 − 6) ÷ 400 = 13.5%.

The same model can size the time saved. Assume 6 minutes to write a reply and 2 minutes to review a draft. Then 200 accepted drafts save 200 × 4 = 800 minutes, 40 rejected drafts lose 40 × 2 = 80 minutes, and the net is 720 minutes, or 12 hours a month before knowledge-base upkeep. Replace these inputs with your own timings before using the result in a business case.

How do you roll it out?

Start with a knowledge audit, then move through shadow mode and full review one gate at a time, with a named approver signing each step.

StageWhat happensGate to the next stage
Knowledge auditReview past tickets, group question types and write approved answersCommon question types have an answer and an owner
Shadow modeAgent classifies and drafts on real or de-identified tickets, and nothing is sentClassification and retrieval meet the targets you set
Full reviewEvery reply is approved by a personAcceptance, error and satisfaction results are stable per category
Category releaseNamed low-risk categories auto-send, with sampled reviewReopen and complaint rates stay within limits, and rollback has been tested

The agent will not improve just by handling more tickets. Improvement comes from a deliberate loop: review rejected drafts, correct examples, update the knowledge base, change the configuration or model if needed, rerun regression tests, and have a named approver sign off the release. If a released category worsens, return it to full review.

What data questions should you settle before launch?

Settle what personal data each step processes, who can see it and when it is deleted, because this workflow moves customer messages between several vendors.

  • Map the flow from LINE or email through the workflow host and model API to the CRM.
  • Record who controls credentials, execution logs, prompts, backups and deletion at each point.
  • Send only the fields the model needs.
  • Check the current data terms for the exact product and plan at each vendor.
  • Choose and document the lawful basis per purpose, and make sure your privacy notice covers this processing.

Thailand's PDPA also requires appropriate security measures and a system for erasing data that is no longer needed (section 37, unofficial translation, checked 6 Nov 2026). This is general information and not legal advice, so take advice on your processing from a qualified Thai practitioner.

Frequently asked questions

Can the agent respond in both Thai and English?

Yes, the language step can detect the message's language and draft in the same language, but test this on your own tickets. Include mixed Thai-English messages, product nicknames and short replies, and measure them as a separate category.

What happens if the agent drafts a wrong answer?

With full review, the reviewer rejects or corrects the draft before it reaches the customer, and the correction feeds the improvement loop. With auto-send, a wrong answer can reach the customer, which is why release is limited to low-risk categories with sampling and a tested rollback.

How do we keep the knowledge base current?

Give each answer an owner and a review date, and add an entry whenever a person handles a question the knowledge base could not answer. Review gaps on a set schedule, and rerun the test sample after changes.

Does the agent work with our helpdesk?

Usually, if your helpdesk plan exposes the API access the workflow needs, so check that for tools such as Zendesk, Freshdesk or Intercom. If LINE is your main channel and you have no helpdesk, the CRM or a simple database can hold ticket status.

What is the next step?

Export a sample of recent tickets and sort them by intent: this shows how much of your volume has a written answer today. To have the system designed and run with you, see our AI automation services in Thailand and Southeast Asia, or send us your support workflow through the qualifier.

Ready to see how AI automation applies to your business?

Get a Free AI Analysis