AI customer support agent

AI customer support chatbot that knows when to call a person.

The repeat questions get answered from your own documents in seconds. The message that needs a person stops the agent and reaches your team with the whole thread attached.

An Home AppliancesOnline
  1. Zalo OA · replies by the Ecbot agent
  2. Today 9:41 AM
  3. I want my money back. The blender I bought doesn't even turn on09:41
  4. Playbook loaded: refund-request
  5. Sorry about that. Could you send me the order code? It starts with DH.09:41
  6. DH-317209:42
  7. REST APIget_order result: #DH-3172 · delivered 12 days ago
  8. Thanks. DH-3172 was delivered 12 days ago, past our 7-day refund window, but it's under warranty. Shall I arrange a repair or replacement?09:42
  9. It never worked from day one. I want a refund, not a repair09:43
  10. Label “Angry” added · handed to staff
  11. StaffHi, this is Linh from the shop. I've read the chat. Since it never worked, we'll refund you in full and collect the blender tomorrow.09:47

Example conversationMade-up shop and order: blue chips are logged tool calls and grey pills are agent steps the customer never sees.

Where support breaks in a small shop

Anyone who answers Zalo and Facebook for a small shop has lived these.

The same five questions all day

Where's my order? How do returns work? Staff copy and paste the same answers while the hard cases wait.

Messages sink overnight

After hours the messages pile up. By morning, the one about a faulty product is the one nobody saw.

A bot that won't let go

The customer is angry and the bot keeps apologising from a script. Someone notices only when the complaint goes public.

Answers from your documents

Repeat questions, answered from your documents

An FAQ bot matches a question to a stored answer, so one changed word gets a stiff reply. The agent reads the documents you link to it, such as your FAQ, return policy and warranty terms, and answers the question the customer actually typed. It does not search the open internet, and when the documents are not enough to be confident it hands the chat to your team.

  • Each agent searches only its linked documents
  • Change a policy by editing the document
  • You write the tone, like “calm, apologise once, then fix it”

Customer question

“can I return the free gift on its own?”

Searched by the An Home support agent

  • faq-2026.pdf
  • return-policy.docx
  • warranty-terms.pdf

Not linked to this agent

  • dealer-prices.pdf
  • staff-handbook.pdf
  1. Search by meaning
  2. Search by keyword
  3. Reranked

Passages the agent answers from

  1. return-policy.docx · section 2Returns within 7 days of delivery, in the original box. Free gifts are returned with the main product, not on their own.
  2. faq-2026.pdfFaulty on arrival: we send a new unit and pay shipping both ways.

Each agent searches only the documents linked to it

Order lookup

Look up the order before promising anything

“Let me check and get back to you” is where a customer starts to worry. The agent looks up the order, the shipment or the warranty in your system, through your REST API, an MCP server, Composio or KiotViet, before it replies. The activity log shows what it read and what came back, failures included, so whoever takes the chat knows where things stand.

  • Each agent uses only the tools you allow
  • Failed calls show their error in the log
  • Staff read the log before taking over
Activity log · An Home Appliances agent
TimeToolResult
09:42get_orderREST API · DH-3172OK
09:42get_warrantyREST API · SKU BL-600 · DH-3172OK
10:15get_shipmentREST API · DH-3190OK
10:16schedule_followupEcbot · in 3 hours · did the reset work?OK
11:02get_orderREST API · DH-3201 · timed outError
Playbooks

Playbooks that open only when the chat needs them

Every shop has its own refund rules, usually kept in one person's head. You write a refund playbook in markdown, step by step as you would brief a new hire, and the agent opens it only for the chat that needs it, so the answer follows your policy instead of one staffer's mood. This is also where there is no flow to maintain: a new policy is a paragraph you edit, not a branch you draw.

skills/refund-request.mdLoaded for this chat
# Refund request
1. Apologise, then ask for the order code
2. Check the order with get_order
3. Within 7 days of delivery: offer a refund
4. After 7 days: offer a warranty repair
5. Customer still upset: tag Angry
Handoff

When the customer is angry, the agent stops

This is the sentence the page is about: when a person is needed, the agent stops, and your teammate replies in the same inbox with the history already there. The agent hands off when the customer asks for a person, when it is not confident, when a guardrail blocks a message, when an urgent label such as “Angry” is added, or when a keyword you set appears. The whole team is notified, and each chat shows who is handling it.

  • Complaint and Angry labels hand off by default
  • Staff reply on the customer's own Zalo or Messenger
  • Pause the agent on any chat, hand it back later

The agent hands over when

  • The customer asks for a person
  • The agent isn't confident
  • A guardrail blocks a message
  • Urgent label: Angry
  • Your handoff keywords
Conversations
Pham DucNeeds you

It never worked from day one. I want a refund, not a repair

I understand. I'm passing you to our staff now to sort out the refund.

Handed to staff: Urgent label: Angry

StaffHi, this is Linh from the shop. We'll refund DH-3172 in full and collect the blender tomorrow.
One customer profile

One customer across every app

Last week's complaint arrived on Messenger and today's follow-up arrives on Zalo. With one inbox per app the customer explains it all again, which is when they really get upset. Ecbot keeps one profile per person: a shared phone or email suggests a merge, and staff confirm it. If the same customer also wants to buy, see the AI sales agent.

  • Last week's complaint is not asked again
  • Angry and VIP labels follow the customer across apps
  • Nothing merges until a person confirms

Merge suggested

The WhatsApp profile “Duc P.” uses the same phone number as Pham Duc.

Pham Duc

09xx xxx 456 · duc.pham@example.com

  • Angry
  • Complaint
  • Returning customer

Contact points

  • Zalo · Duc PhamAsked for a refund on #DH-3172 · today
  • Messenger · Phạm ĐứcAsked about the blender warranty · last week
  • Website chat · Visitor #5120Read the return policy · last month

Staff notes

Refunded #DH-3172 in full. Prefers a call after 5 PM.

Check-ins

The follow-up nobody gets to

After sending a fix, most shops never ask whether it worked. You schedule a check-in from 1 minute to 30 days later; when it is due, the agent rereads the chat and writes a new message instead of a template. Once the customer says it works, the agent cancels the remaining check-ins.

  • Up to 5 pending check-ins per conversation
  • A fresh message written from the chat, not a template

- Sent troubleshooting steps: check in after 3 hours

  1. 10:16

    Agent sends reset steps for the blender

  2. 13:16

    Agent: “Did the reset get your blender working?”

  3. Customer: “yes, works now”

    No more check-ins for this chat

Three steps to a support agent

Test it in private before customers see it, and decide up front which chats go to staff.

  1. 01

    Describe your business in one sentence

    The agent builder suggests a persona, tone, goals and rules. Edit anything that is off.

    Describe your business

    A home appliance shop in Da Nang that sells on Zalo and Facebook, with a 7-day refund and 12-month warranty

    Suggested by the agent builder. Edit anything.

    Persona
    Mai, the support assistant at An Home Appliances
    Tone
    Calm and short, apologises once, then fixes
    Goals
    • Answer order, return and warranty questions
    • Look up the order before promising anything
    Rules
    • Follow the refund playbook for any refund request
    • Never promise a refund outside the policy
    • Tag angry customers and hand them to staff
  2. 02

    Add documents, playbooks and tools

    Upload your FAQ and return policy, write a refund playbook, then connect your order system.

    • faq-2026.pdf142 KBIndexed
    • return-policy.docx26 KBIndexed
    • warranty-terms.pdf208 KBIndexed

    In Postgres with pgvector, on your server if you self-host

      Tools the agent can use

      • REST APIyour own
      • MCPany MCP tool
      • Composiomarketplace
      • KiotVietbuilt in
      • Shopifyvia Composio
      • Google Sheetsvia Composio
    • 03

      Set your handoff rules and go live

      Pick the labels and keywords that hand off, try a few hard cases, then connect Zalo, Facebook, WhatsApp, Telegram or your website.

      • MessengerAvailable
      • ZaloAvailable
      • WhatsAppAvailable
      • TelegramAvailable
      • Website chatAvailable

      On the roadmap: Instagram, TikTok Shop, Shopee, LINE

    Security

    Your business data stays yours.

    How Ecbot guards credentials, screens messages and keeps businesses apart.

    Encrypted credentials

    Platform tokens use AES-256-GCM with versioned keys, so keys rotate without taking channels offline.

    Secrets never reach the AI

    Credentials never enter the model's context, so no prompt can pull them out.

    Guardrails in both directions

    Incoming messages are screened for scams and prompt attacks, replies for leaked data. You set the strictness.

    Workspaces and roles

    Each business gets its own workspace. Staff join by invitation with a role, checked on every request.

    Open source. Self-host it if you want.

    On GitHub under AGPL-3.0, with every Cloud feature. Your knowledge stays in your own Postgres.

    View on GitHub

    Questions about AI customer support

    It answers customers on Messenger, Zalo, WhatsApp, Telegram and your website from your documents. It looks up orders through your tools, follows the playbooks you write and hands chats to your team when needed.

    Last updated: 2026-11-03

    Let the agent hold the inbox. Your team keeps the last word.

    Start free on Ecbot Cloud, no credit card needed.

    Or self-host the open-source version from GitHub