Building Chatbots với Tidio, Intercom & Drift
Bài này chúng ta sẽ hands-on build chatbots với 3 platforms phổ biến nhất. Bạn sẽ có chatbot hoạt động ngay sau bài học.
🎯 Mục tiêu bài học
- Setup chatbot trên Tidio (free tier)
- Configure Intercom bot (trial)
- Build lead qualification với Drift
- Deploy chatbot lên website
1️⃣ Tidio - Best cho Small Business
Tại sao chọn Tidio?
| Feature | Free Plan | Paid ($29/mo) |
|---|---|---|
| Chatbots | 100 triggers/mo | Unlimited |
| Live Chat | ✅ | ✅ |
| Email Integration | ✅ | ✅ |
| AI Responses | Limited | Full |
| Visitors | Unlimited | Unlimited |
Perfect for: E-commerce stores, small websites, startups cần chatbot nhanh mà không tốn nhiều tiền.
Step 1: Tạo Account
11. Truy cập tidio.com22. Click "Get Started Free"33. Đăng ký với email business44. Chọn industry (E-commerce, Services, etc.)55. Skip integrations (làm sau)Step 2: Install Widget
Cho WordPress:
11. Dashboard → Settings → Installation22. Copy installation code33. WordPress Admin → Plugins → Add New44. Search "Tidio" → Install → Activate55. Paste Project Public KeyCho Custom Website:
1<!-- Thêm trước </body> -->2<script src="//code.tidio.co/YOUR_PUBLIC_KEY.js" async></script>Cho Shopify:
11. Tidio Dashboard → Settings → Installation22. Click "Shopify" → Connect Store33. Authorize app44. Done! Widget tự động appearStep 3: Customize Appearance
1Dashboard → Settings → Appearance2 31. Colors:4 - Primary: Match brand color5 - Background: White hoặc light6 72. Position:8 - Bottom Right (recommended)9 - Mobile: Full width10 113. Welcome Message:12 "Chào bạn! 👋 Mình có thể giúp gì?"13 144. Availability:15 - Online hours: 9am - 6pm16 - Offline message: "Để lại email, team sẽ reply trong 24h"Step 4: Build First Bot Flow
Use Case: Order Tracking
1Dashboard → Chatbots → Add from Scratch2 3┌─────────────────────────────────┐4│ TRIGGER │5│ Visitor sends: "đơn hàng", │6│ "tracking", "order", "giao" │7└─────────────┬───────────────────┘8 │9 ▼10┌─────────────────────────────────┐11│ MESSAGE │12│ "Bạn muốn kiểm tra đơn hàng? │13│ Vui lòng cung cấp mã đơn hàng." │14└─────────────┬───────────────────┘15 │16 ▼17┌─────────────────────────────────┐18│ ASK QUESTION │19│ "Mã đơn hàng của bạn:" │20│ Save to: {order_id} │21└─────────────┬───────────────────┘22 │23 ▼24┌─────────────────────────────────┐25│ MESSAGE │26│ "Đang kiểm tra đơn #{order_id} │27│ Vui lòng chờ trong giây lát..." │28└─────────────┬───────────────────┘29 │30 ▼31┌─────────────────────────────────┐32│ DECISION (hoặc WEBHOOK) │33│ → Found: Show status │34│ → Not found: Ask for help │35└─────────────────────────────────┘Step 5: Add Quick Replies
1Chatbots → Edit → Add Node → Quick Replies2 3Options:4├── [📦 Track Order]5├── [💰 Pricing] 6├── [🔄 Returns]7├── [💬 Talk to Human]Pro tip: Tidio có sẵn 35+ templates. Vào Chatbots → Templates để xem FAQ Bot, Lead Gen Bot, Discount Bot, etc.
2️⃣ Intercom - Best cho SaaS & Tech
Tại sao chọn Intercom?
| Feature | Starter ($74/mo) | Pro ($153/mo) |
|---|---|---|
| Fin AI Agent | ✅ | ✅ |
| Custom Bots | 5 | Unlimited |
| Product Tours | ❌ | ✅ |
| Advanced Reports | ❌ | ✅ |
Note: Intercom pricing khá cao cho startups. Sử dụng 14-day trial để test trước khi commit.
Step 1: Setup Workspace
11. Truy cập intercom.com22. Start Free Trial (14 days)33. Create Workspace:4 - Workspace name: Company name5 - Industry: SaaS, E-commerce, etc.64. Invite team members (optional)Step 2: Install Messenger
JavaScript (Recommended):
1<script>2 window.intercomSettings = {3 api_base: "https://api-iam.intercom.io",4 app_id: "YOUR_APP_ID",5 name: "User Name", // From your database6 email: "user@email.com", // From your database7 created_at: 1234567890 // User signup date8 };9</script>10<script>11(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/YOUR_APP_ID';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(document.readyState==='complete'){l();}else if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();12</script>Step 3: Setup Fin AI Agent
1Operator → Fin AI → Setup2 31. Knowledge Sources:4 - Help Center articles5 - Website pages6 - PDF documents7 82. Persona:9 - Name: "Fin" hoặc custom10 - Tone: Friendly, Professional11 - Language: Vietnamese + English12 133. Capabilities:14 ✅ Answer questions from knowledge15 ✅ Collect customer info16 ✅ Create support tickets17 ❌ Process refunds (human only)Step 4: Build Custom Bot
Use Case: Onboarding New Users
1Operator → Custom Bots → New Bot2 3Trigger: User signs up (first session)4 5Flow:6┌──────────────────────────────────┐7│ "Chào mừng bạn đến với [App]! 🎉│8│ Mình là assistant, sẽ giúp bạn │9│ setup trong 2 phút." │10└─────────────┬────────────────────┘11 │12 ▼13┌──────────────────────────────────┐14│ "Bạn muốn dùng [App] cho?" │15│ │16│ [Sales] [Marketing] [Support] │17└─────────────┬────────────────────┘18 │19 ┌─────┴─────┐20 │ │21 ▼ ▼22 Sales Flow Marketing Flow23 (CRM setup) (Campaign setup)Step 5: Configure Routing
1Operator → Routing Rules2 3Rule 1: VIP Customers4IF company.plan = "enterprise"5THEN route to: Senior Support Team6Priority: High7 8Rule 2: Sales Inquiries 9IF message contains "pricing", "demo", "buy"10THEN route to: Sales Team11Priority: High12 13Rule 3: Default14ELSE route to: Support Queue15Priority: Normal3️⃣ Drift - Best cho B2B Lead Gen
Tại sao chọn Drift?
| Feature | Free | Premium |
|---|---|---|
| Live Chat | ✅ | ✅ |
| Chatbots | 1 playbook | Unlimited |
| Meeting Booking | ❌ | ✅ |
| Revenue Reports | ❌ | ✅ |
Best for: B2B companies focused on lead generation và meeting booking. Drift's strength là qualify leads và book meetings tự động.
Step 1: Create Drift Account
11. Drift.com → Get Started Free22. Connect work email33. Install on website (similar to Tidio)44. Connect calendar (Google/Outlook)Step 2: Build Lead Qualification Playbook
1Playbooks → Create New → Lead Capture2 3Target: Pricing page visitors4 5┌──────────────────────────────────┐6│ TRIGGER │7│ Page URL contains "/pricing" │8│ Time on page > 30 seconds │9└─────────────┬────────────────────┘10 │11 ▼12┌──────────────────────────────────┐13│ "Đang xem pricing? 👀 │14│ Mình có thể giúp bạn chọn plan │15│ phù hợp nhất!" │16│ │17│ [Yes, help me] [Just browsing] │18└─────────────┬────────────────────┘19 │20 ┌────────┴────────┐21 │ │22 ▼ ▼23 Qualify End chat24 Questions (politely)Step 3: Qualification Questions
1Question 1: Company Size2"Team của bạn có bao nhiêu người?"3├── [1-10] → SMB track4├── [11-50] → Mid-market track 5├── [51-200] → Enterprise track6└── [200+] → VIP track7 8Question 2: Timeline9"Bạn muốn start khi nào?"10├── [This month] → HOT lead 🔥11├── [This quarter] → Warm lead12└── [Just researching] → Nurture13 14Question 3: Budget15"Budget dự kiến của bạn?"16├── [< $500/mo] → Self-serve17├── [$500-2000/mo] → Sales assist18└── [$2000+/mo] → Enterprise salesStep 4: Auto-Book Meetings
1IF lead_score >= "qualified"2THEN show calendar:3 4"Tuyệt vời! Để team Sales demo chi tiết,5bạn chọn thời gian convenient nhé:"6 7[Calendar Widget - Connected to Sales Rep calendar]8 9After booking:10- Send confirmation email11- Create deal in CRM12- Notify sales rep13- Add to sequenceStep 5: Route to Right Rep
1Routing Rules:2 3Enterprise (200+ employees):4→ Route to: Account Executive5→ Response SLA: 5 minutes6 7Mid-Market:8→ Route to: SDR Team9→ Response SLA: 15 minutes10 11SMB:12→ Route to: Bot + Self-serve13→ Escalate if: Asked 3+ questions🔌 Essential Integrations
CRM Integration
| Chatbot | CRMs Supported |
|---|---|
| Tidio | HubSpot, Pipedrive, Salesforce |
| Intercom | Salesforce, HubSpot, Pipedrive |
| Drift | Salesforce, HubSpot, Marketo |
Setup Example (HubSpot + Tidio):
11. Tidio → Settings → Integrations22. Find HubSpot → Connect33. Authorize access44. Map fields:5 - Tidio Email → HubSpot Email6 - Tidio Name → HubSpot Name7 - Tidio Tags → HubSpot Tags85. Auto-create contacts: ONSlack Notifications
1Settings → Integrations → Slack2 3Notify on:4✅ New conversation started5✅ Message from VIP customer6✅ Bot couldn't answer7✅ Meeting booked8❌ Every message (too noisy)Zapier/Make Automation
1Example: New lead → Add to Google Sheets + Send email2 3Trigger: New Tidio conversation4→ Filter: Has email address5→ Google Sheets: Add row6→ Gmail: Send welcome email7→ Slack: Notify sales channel📊 A/B Testing Chatbots
Test Welcome Messages
1Version A:2"Chào bạn! Cần hỗ trợ gì không? 😊"3 4Version B:5"Bạn có câu hỏi gì về [Product]? 6Team sẵn sàng giúp đỡ!"7 8Version C:9"🎁 Hôm nay có ưu đãi 20%!10Chat để nhận code giảm giá"Metrics to Compare:
- Engagement rate (% visitors chat)
- Response rate (% reply to bot)
- Conversion rate (% complete goal)
- CSAT score
Test Bot Flows
1Flow A: Ask name first2→ "Mình là ai?" → Name → Help3 4Flow B: Ask need first 5→ "Bạn cần gì?" → Options → Name6 7Typically Flow B performs better8(value first, info later)⚠️ Common Mistakes to Avoid
1. Too Many Questions
1❌ Bad:2Bot: "Tên bạn là gì?"3Bot: "Email?"4Bot: "Số điện thoại?"5Bot: "Company?"6Bot: "Job title?"7User: 😤 *closes chat*8 9✅ Better:10Bot: "Để gửi thông tin, cho mình email nhé?"11[After getting value, ask more]2. No Human Fallback
1❌ Bad:2User: "Tôi muốn khiếu nại"3Bot: "Xin lỗi, mình không hiểu. 4 Bạn thử hỏi cách khác?"5*loops forever*6 7✅ Better:8User: "Tôi muốn khiếu nại"9Bot: "Để đảm bảo xử lý tốt nhất,10 mình connect bạn với team 11 Customer Success nhé?"12[Transfer to human]3. Generic Responses
1❌ Bad:2"Cảm ơn bạn đã liên hệ. 3Team sẽ phản hồi sớm."4 5✅ Better:6"Cảm ơn bạn, [Name]! 7Câu hỏi về [Topic] sẽ được 8[Agent Name] trả lời trong vòng 2 giờ.9Bạn sẽ nhận email notification."🎯 Bài tập thực hành
Task 1: Setup Tidio (30 phút)
- Tạo Tidio account
- Install widget lên website/localhost
- Customize colors và welcome message
- Test chat từ incognito window
Task 2: Build FAQ Bot (30 phút)
- List 5 FAQs của business bạn
- Create bot flow trong Tidio
- Add quick reply buttons
- Test tất cả scenarios
Task 3: Integration Setup (20 phút)
- Connect chatbot với email
- Setup Slack notification
- Test: Chat → Check notification arrives
📚 Tổng kết
| Platform | Best For | Key Feature |
|---|---|---|
| Tidio | SMB, E-commerce | Free tier, easy setup |
| Intercom | SaaS, Tech | Fin AI, product tours |
| Drift | B2B Sales | Lead qual, meeting booking |
Tiếp theo: Bài 03 - FAQ Automation - Xây dựng knowledge base và auto-answer questions!
