How to Create a Voice AI Agent with Vapi.ai to Automatically Call and Confirm Orders

November 10, 2026

Updated:

Guide
How to Create a Voice AI Agent with Vapi.ai to Automatically Call and Confirm Orders

Voice AI Agent xác nhận đơn hàng bằng Vapi là gì?

Là một trợ lý giọng nói tự động gọi điện cho khách, đọc lại thông tin đơn, hỏi khách xác nhận hoặc đổi thông tin, rồi ghi kết quả về hệ thống bán hàng của bạn. Vapi là nền tảng dành cho nhà phát triển để dựng tác tử giọng nói: bạn cấu hình lời nhắc, giọng nói, nhận dạng giọng và mô hình ngôn ngữ, gắn số điện thoại, và nhận kết quả cuộc gọi qua webhook. Cần nói rõ điều quan trọng nhất: gọi tự động cho khách có ràng buộc pháp lý và trải nghiệm; hãy xác minh dịch vụ có hỗ trợ tốt tiếng Việt và gọi ra số Việt Nam hay không bằng cuộc gọi thử trước khi dựng. Bài này hướng dẫn từng bước kèm các điều kiện, rủi ro và kinh nghiệm của OPCAIOS. Chúng tôi chưa dùng Vapi và chưa khẳng định tiếng Việt hay gọi ra Việt Nam hoạt động tốt.

Sơ đồ Voice AI xác nhận đơn: đơn mới từ cửa hàng, n8n kích hoạt cuộc gọi, Vapi gọi khách, khách xác nhận hoặc đổi, webhook trả kết quả, cập nhật đơn và báo người xử lý; lưu ý đồng ý gọi và ghi âm
Đơn mới kích hoạt cuộc gọi, kết quả quay về hệ thống; trường hợp phức tạp chuyển cho người. Sơ đồ: OPCAIOS.

Bước 0: Có nên dùng giọng nói AI không?

Phù hợp: xác nhận đơn COD, nhắc lịch hẹn, khảo sát ngắn, cuộc gọi lặp lại có kịch bản rõ. Chưa phù hợp: khiếu nại, bán hàng phức tạp, khách lớn tuổi không quen máy, tình huống nhạy cảm. Mỗi cuộc gọi tự động nên có đường chuyển cho người và cho phép khách từ chối.

Kiểm tra trước khi dựng:

  1. Giọng AI nói tiếng Việt có tự nhiên, đọc đúng địa chỉ, số tiền, tên riêng không?
  2. Nhận dạng giọng hiểu giọng vùng miền, tiếng ồn, tiếng nói nhanh không?
  3. Có gọi ra được số di động Việt Nam không, nhà cung cấp số nào, chi phí mỗi phút bao nhiêu?
  4. Độ trễ hội thoại có chấp nhận được không?

Hãy gọi thử vài chục cuộc với người quen trước khi gọi khách thật; ví dụ giả định, 20 cuộc thử với đủ giọng vùng miền sẽ lộ ra phần lớn lỗi đọc địa chỉ và số tiền.

Bước 1: Hiểu kiến trúc của Vapi

Kiến trúc của Vapi là gì? Theo tài liệu công khai của Vapi, một tác tử giọng nói ghép ba lớp: chuyển giọng nói thành văn bản (transcriber), mô hình ngôn ngữ xử lý hội thoại (model), và chuyển văn bản thành giọng nói (voice); nền tảng lo phần ghép nối thời gian thực, ngắt lời, số điện thoại và công cụ gọi hàm. Bạn có thể chọn nhà cung cấp cho từng lớp, nên chất lượng tiếng Việt phụ thuộc vào lựa chọn của bạn. Về giá, theo trang giá chính thức của Vapi (đọc ngày 25/10/2026), phí hosting nền tảng là $0.05 mỗi phút, còn chi phí mô hình, nhận dạng giọng và giọng nói tính riêng theo giá nhà cung cấp; tài khoản mới có $5 tín dụng miễn phí. Gói trả trước đó gồm 1 số điện thoại Vapi và 4 cuộc gọi đồng thời. Giá có thể đổi, nên hãy đối chiếu lại trước khi quyết định.

Bước 2: Viết kịch bản và lời nhắc

Kịch bản xác nhận đơn gọn gồm 5 bước, ví dụ như sau:

  1. Chào và nêu danh tính: "Xin chào, đây là trợ lý tự động của cửa hàng X, gọi để xác nhận đơn hàng."
  2. Xác nhận đúng người: hỏi tên hoặc hai chữ số cuối mã đơn; không đọc thông tin nhạy cảm trước khi xác nhận.
  3. Đọc lại đơn: sản phẩm, số lượng, tổng tiền, địa chỉ nhận.
  4. Hỏi: "Anh chị xác nhận đơn này chứ?" Có ba kết quả: xác nhận, huỷ, đổi thông tin.
  5. Kết thúc: cảm ơn, nói rõ bước tiếp theo.

Lời nhắc hệ thống nên có: vai trò, giọng điệu, giới hạn ("không bàn chuyện ngoài đơn hàng, không hứa giảm giá, không tự đổi giá"), cách xử lý khi khách im lặng, hỏi lại, hay yêu cầu gặp người, và định dạng kết quả trả về.

Step 3: Connect to Orders with n8n

Don't have n8n? Check out How to Install n8n on a VPS.

  1. Trigger: new orders (from the shop via webhook) into n8n.
  2. Conditions: only call orders in groups needing confirmation, during reasonable calling hours (no late-night calls), and the customer hasn't refused a call yet.
  3. Make a call through Vapi's API (HTTP Request node, API key stored in n8n credentials; see What is API?), pass order variables into the script. Check the endpoint and parameters against the current documentation.
  4. Receive results through Vapi's webhook when the call ends (recording, summary, structured result). Verify the authenticity of incoming requests.
  5. Update the order: confirm, cancel, or needs review; the "needs review" branch notifies someone via Telegram (What is a Telegram bot?).
  6. Limited retries: if there's no answer, set a fixed maximum number of attempts and spacing (for example: 3 times, at least 2 hours apart—adjust for your shop); then switch to text message or a human caller.

Step 4: Test Before Calling Real Customers

Test scenario Desired outcome
Customer confirms Order status changes to confirmed
Customer cancels Order cancelled, reason recorded if given
Customer changes address Record and pass to staff, don't auto-correct if unsure
Customer silent or noisy Ask again a few times max, then transfer to human
Customer asks off-script Politely decline, suggest staff contact them
Customer asks "are you a machine?" Answer honestly that you're an automated assistant
Customer requests no more calls Add to do-not-call list immediately

Legal and Ethical

  • Clearly announce this is an automated call and don't pretend to be human.
  • Have grounds to call: confirming an order a customer just placed differs from advertising calls; regulations on advertising calls, consent to receive calls, and do-not-call lists may apply. Ask a legal expert; this post is not legal advice.
  • Call recording: requires notice and legal grounds; store short-term, restrict access, delete per announced timeframe.
  • Personal data: pass to vendors only what's necessary; check where data is processed and their terms.
  • Reasonable calling hours and limits on call frequency.

Costs and Operational Risks

Item Note
Per-minute fees Include platform fee plus fees for recognition layers, model, voice; plus phone number charges
Failed calls May charge even if no result
Delays, interruptions Affect user experience; test many scenarios
Costs spike from repeated errors Set daily call cap and alerts
Brand impact Annoyed customers from robot calls; always provide human contact option

OPCAIOS Experience

We haven't used Vapi and haven't run calling agents for customers; we also don't know how well Vapi works with Vietnamese or when calling Vietnamese numbers, so we put that testing step first. In our system, customer notifications go through email and text with an unsubscribe link, and anything complex is handed to staff. That principle is what we apply to all communication automation. Information about Vapi is based on public documentation and we haven't tested it yet.

Frequently Asked Questions

Can Vapi speak Vietnamese?

We haven't verified this. Quality depends on the speech recognition and voice provider you choose; try calling first.

Is it legal to make automatic calls to customers?

It depends on the purpose, customer consent, and regulations where you operate; ask a legal expert.

How much does each call cost?

The cost per call with Vapi equals the platform hosting fee plus costs from each provider layer, so there's no fixed number. According to Vapi's official pricing page (read on 25/10/2026), hosting is $0.05 per minute, not including the language model, speech recognition, voice, and phone number costs. Estimation has three steps. First, make 20 test calls and record the average duration. Next, add up invoices from all providers and divide by the number of minutes to get the actual cost per minute. Finally, multiply by the number of orders each day. Example: if hosting charges $0.05 and a call lasts 2 minutes, hosting alone is $0.10 per call, not counting other layers.

Should AI change order information on its own?

Not at the early stage; record it and pass it to someone to handle.

Can you replace customer service staff?

Voice AI can only replace repeated calls with clear scripts, like confirming COD orders or reminding of appointments, while complaints and sensitive situations still need people. Smart task division has three tiers. First tier, the agent calls to confirm and records results to n8n. Second tier, the "needs review" branch alerts staff via Telegram to handle same day. Third tier, any customer requesting to speak with a person or asking to stop calling is transferred immediately and added to the do-not-call list. For example, if a customer changes delivery address, let staff confirm again instead of letting AI edit the order. To build a safe customer care process with AI, see OPCAIOS's AI application training.

Source: Vapi's public documentation; pricing not reconciled; Vietnamese and calls to Vietnam not verified; haven't run calling agents myself; legal information is for reference only. Experience is OPCAIOS's.

Translated from Vietnamese with AI. Read the original.

Want to apply this in your business?

Book a free 30-minute call (Vietnam time, in English or Vietnamese).

Book a call