AWS Learning
Application Integration

Amazon Connect

Cloud Contact Center, Omnichannel, Contact Flows, AI-powered Customer Service

[!NOTE] Đừng nhầm lẫn! Amazon Connect ≠ AWS Direct Connect

  • Amazon Connect: Dịch vụ contact center (tổng đài) - xây dựng hệ thống CSKH trên cloud
  • AWS Direct Connect: Dịch vụ networking - kết nối mạng riêng từ on-premises đến AWS

Xem thêm: AWS Direct Connect

Giới thiệu

Amazon Connect là dịch vụ Contact Center as a Service (CCaaS) được xây dựng trên cùng công nghệ mà Amazon sử dụng cho hệ thống chăm sóc khách hàng của chính họ.

Đặc điểm chính

Đặc điểmMô tả
Cloud-native100% trên cloud, không cần phần cứng
OmnichannelHỗ trợ voice, chat, tasks, email
Pay-per-useChỉ trả tiền cho phút sử dụng
Self-serviceDễ dàng setup và quản lý
AI-poweredTích hợp sẵn AI/ML capabilities
ScalableTự động scale từ 10 đến hàng chục nghìn agents
┌──────────────────────────────────────────────────────────────────────────────┐
│                        Amazon Connect Overview                               │
├──────────────────────────────────────────────────────────────────────────────┤
│                                                                              │
│   Customers                    Amazon Connect                    Agents      │
│                                                                              │
│   ┌─────────┐                 ┌──────────────────┐          ┌─────────────┐  │
│   │ 📞 Phone│────────────────►│                  │──────────►│ Agent CCP  │  │
│   └─────────┘                 │                  │          │ (Softphone) │  │
│                               │   Contact        │          └─────────────┘  │
│   ┌─────────┐                 │   Center          │                          │
│   │ 💬 Chat  │────────────────►│                  │         ┌─────────────┐  │
│   └─────────┘                 │   ┌────────────┐ │─────────►│ Supervisor  │  │
│   │          │ Contact         │                  │         │ Dashboard   │  │
│   ┌─────────┐                 │   │ Flows      │ │          └─────────────┘  │
│   │ 📧 Email │────────────────►│                  └─────────┘             │  │
│   └─────────┘                 │                  │          ┌─────────────┐  │
│   │         ┌─────────────────┐                  │─────────►│ Analytics   │  │
│   ┌─────────┐                 │   │ AI/ML      │ │          │ Reports     │  │
│   │ 📱 SMS   │────────────────►│   │ Features   │ │         └─────────────┘  │
│   └─────────┘                 │                  └──────────┘             │  │
│                               └──────────────────┘                           │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Kiến trúc và thành phần

Các thành phần chính

┌──────────────────────────────────────────────────────────────────────────────┐
│                      Amazon Connect Architecture                             │
├──────────────────────────────────────────────────────────────────────────────┤
│                                                                              │
│  ┌─────────────────────────────────────────────────────────────────────────┐ │
│  │                         Amazon Connect Instance                         │ │
│  │                                                                         │ │
│  │  ┌───────────────┐  ┌───────────────┐  ┌───────────────┐                │ │
│  │  │  Phone        │  │  Routing      │  │  Queues       │                │ │
│  │  │  Numbers      │  │  Profiles     │  │               │                │ │
│  │  │  (DID/Toll-   │  │               │  │  • Sales      │                │ │
│  │  │   free)       │  │               │  │  • Support    │                │ │
│  │  └───────────────┘  └───────────────┘  │  • Billing    │                │ │
│  │                                         └───────────────┘               │ │
│  │  ┌───────────────┐  ┌───────────────┐  ┌───────────────┐                │ │
│  │  │  Contact      │  │  Hours of     │  │  Users        │                │ │
│  │  │  Flows        │  │  Operation    │  │  (Agents)     │                │ │
│  │  │  (IVR Logic)  │  │               │  │               │                │ │
│  │  └───────────────┘  └───────────────┘  └───────────────┘                │ │
│  │                                                                         │ │
│  └─────────────────────────────────────────────────────────────────────────┘ │
│                                                                              │
│  Integrations:                                                               │
│  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐            │
│  │ Lambda   │ │ Lex      │ │ Kinesis  │ │ S3       │ │ DynamoDB │            │
│  │          │ │ (Bots)   │ │(Streams) │ │(Record)  │ │          │            │
│  └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘            │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Thành phần chi tiết

Thành phầnMô tả
InstanceContainer chính chứa toàn bộ cấu hình contact center
Phone NumbersSố điện thoại DID hoặc Toll-free từ AWS
Contact FlowsIVR logic định nghĩa trải nghiệm khách hàng
QueuesHàng đợi để routing contacts đến đúng agents
Routing ProfilesQuy định agent nào handle queue nào
Hours of OperationGiờ làm việc của contact center
UsersAgents, supervisors, admins

Tính năng chính

1. Voice (Điện thoại)

┌─────────────────────────────────────────────────────────────────┐
│                        Voice Features                           │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  • Inbound/Outbound Calls                                       │
│  • Softphone (CCP - Contact Control Panel)                      │
│  • Desk phone support                                           │
│  • Call recording                                               │
│  • Real-time transcription                                      │
│  • Voicemail                                                    │
│  • Callback in queue                                            │
│  • High-quality audio (OPUS codec)                              │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

2. Chat

Tính năngMô tả
Web ChatWidget có thể nhúng vào website
Mobile ChatSDK cho iOS và Android
Persistent ChatLưu lịch sử chat xuyên suốt sessions
Rich MessagingHỗ trợ attachments, links, formatted text
Chat TranscriptsLưu trữ toàn bộ conversation

3. Tasks

┌─────────────────────────────────────────────────────────────────┐
│                         Tasks Feature                           │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Cho phép agents quản lý công việc ngoài contacts:              │
│                                                                 │
│  • Follow-up tasks từ cuộc gọi/chat                             │
│  • CRM integrations (Salesforce, Zendesk)                       │
│  • External systems via API                                     │
│  • Task routing giống như voice/chat                            │
│                                                                 │
│  Use case:                                                      │
│  Agent nhận cuộc gọi → tạo task "Follow up sau 24h"             │
│  → Task được route đến agent available                          │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

4. Agent Workspace

┌───────────────────────────────────────────────────────────────────────────┐
│                          Agent Workspace (CCP)                            │
├───────────────────────────────────────────────────────────────────────────┤
│                                                                           │
│  ┌────────────────────────────────────────────────────────────────────┐   │
│  │  ┌──────────────┐  ┌──────────────────────────────────────────┐     │  │
│  │  │   Contact    │  │           Customer Profile                │    │  │
│  │  │   Controls   │  │                                          │     │  │
│  │  │              │  │  Name: John Doe                          │     │  │
│  │  │  📞 Answer   │  │  Phone: +1-xxx-xxx-xxxx                  │     │  │
│  │  │  🔇 Mute     │  │  Last Contact: 3 days ago                │     │  │
│  │  │  ⏸️ Hold     │  │  Open Cases: 2                           │     │  │
│  │  │  📲 Transfer │  │                                          │     │  │
│  │  │  ❌ End      │  └──────────────────────────────────────────┘     │  │
│  │  │              │                                                   │  │
│  │  └──────────────┘  ┌──────────────────────────────────────────┐     │  │
│  │                    │           Agent Assist                    │    │  │
│  │  Status:           │                                          │     │  │
│  │  🟢 Available      │  Suggested Response:                     │     │  │
│  │  🟡 After Call     │  "I understand you're having an issue    │     │  │
│  │  🔴 Offline        │   with your billing..."                  │     │  │
│  │                    │                                          │     │  │
│  │                    │  Knowledge Articles:                     │     │  │
│  │                    │  • Billing FAQ                           │     │  │
│  │                    │  • Refund Policy                         │     │  │
│  │                    └──────────────────────────────────────────┘     │  │
│  └────────────────────────────────────────────────────────────────────┘   │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘

Contact Flows

Contact Flow là trái tim của Amazon Connect - định nghĩa trải nghiệm khách hàng từ khi gọi đến đến khi kết thúc.

Các loại Contact Flow

LoạiMục đích
Inbound Contact FlowFlow chính cho inbound contacts
Customer Queue FlowTrải nghiệm khi khách đang chờ trong queue
Customer Whisper FlowThông báo cho khách trước khi connect với agent
Agent Whisper FlowThông báo cho agent trước khi nhận call
Transfer to Agent FlowKhi transfer đến agent cụ thể
Transfer to Queue FlowKhi transfer đến queue khác
Outbound Whisper FlowCho outbound campaigns

Ví dụ Contact Flow

┌──────────────────────────────────────────────────────────────────────────────┐
│                     Example: Customer Service Contact Flow                   │
├──────────────────────────────────────────────────────────────────────────────┤
│                                                                              │
│  ┌──────────┐    ┌──────────┐    ┌──────────┐    ┌──────────────┐            │
│  │ Customer │───►│ Play     │───►│ Get      │───►│ Check Hours  │            │
│  │ Calls    │    │ Welcome  │    │ Customer │    │ of Operation │            │
│  └──────────┘    │ Message  │    │ Input    │    └──────┬───────┘            │
│                  └──────────┘    └──────────┘            │                   │
│                                                          │                   │
│                    ┌─────────────────────────────────────┴─────────────┐     │
│                    │                                                   │     │
│                    ▼                                                   ▼     │
│            ┌──────────────┐                               ┌──────────────┐   │
│            │ Within Hours │                               │ Outside Hours│   │
│            └──────┬───────┘                               └──────┬───────┘   │
│                   │                                               │          │
│                   ▼                                              ▼           │
│        ┌─────────────────────┐                     ┌──────────────────────┐  │
│        │ Press 1: Sales      │                     │ Leave Voicemail      │  │
│        │ Press 2: Support    │                     │ or                   │  │
│        │ Press 3: Billing    │                     │ Request Callback     │  │
│        └──────────┬──────────┘                     └──────────────────────┘  │
│                    │                                                         │
│         ┌─────────┴─────────┐                                                │
│         │                    │                                               │
│         ▼                   ▼                                                │
│  ┌─────────────┐    ┌─────────────┐                                          │
│  │ Invoke      │    │ Transfer to │                                          │
│  │ Lex Bot     │    │ Queue       │                                          │
│  │ (Self-serve)│    │             │                                          │
│  └──────┬──────┘    └──────┬──────┘                                          │
│         │                   │                                                │
│         ▼                  ▼                                                 │
│  ┌─────────────┐    ┌─────────────┐                                          │
│  │ Resolved?   │    │ Agent       │                                          │
│  │ Yes/No      │    │ Available   │                                          │
│  └─────────────┘    └─────────────┘                                          │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Contact Flow Blocks

Block TypeMô tả
Play promptPhát audio hoặc text-to-speech
Get customer inputDTMF hoặc speech input
Set working queueĐặt queue cho contact
Transfer to queueChuyển contact vào queue
Invoke AWS LambdaGọi Lambda function
Set contact attributesLưu metadata của contact
Check contact attributesConditional branching
Invoke Lex botChuyển sang conversational AI

Amazon Connect AI/ML Features

1. Contact Lens

Contact Lens for Amazon Connect cung cấp real-time và post-call analytics sử dụng ML.

┌──────────────────────────────────────────────────────────────────────────────┐
│                           Contact Lens Features                              │
├──────────────────────────────────────────────────────────────────────────────┤
│                                                                              │
│  Real-time Analysis                      Post-call Analysis                  │
│  ──────────────────                      ──────────────────                  │
│                                                                              │
│  • Real-time transcription               • Full call transcription           │
│  • Sentiment detection                   • Sentiment trends                  │
│  • Issue detection                       • Theme detection                   │
│  • Supervisor alerts                     • Conversation characteristics      │
│  • Agent assist prompts                  • Compliance detection              │
│                                                                              │
│  ┌────────────────────────────────────────────────────────────────────┐      │
│  │                    Sentiment Timeline                              │      │
│  │                                                                    │      │
│  │   😊 ──────────╮                    ╭────────── 😊                 │      │
│  │                │                    │                               │     │
│  │   😐 ──────────┼────────────────────┼────────────────────── 😐     │      │
│  │                │                    │                               │     │
│  │   😠 ──────────┴────────────────────┴────────────────────── 😠     │      │
│  │       Start              Issue mentioned        Resolved    End    │      │
│  │                                                                    │      │
│  └────────────────────────────────────────────────────────────────────┘      │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

2. Amazon Q in Connect (Wisdom)

Tính năngMô tả
Real-time recommendationsGợi ý knowledge articles trong lúc call
Intent detectionTự động detect customer intent
SearchTìm kiếm knowledge base
IntegrationKết nối với Salesforce, ServiceNow, etc.

3. Voice ID

┌─────────────────────────────────────────────────────────────────┐
│                         Voice ID                                │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Biometric voice authentication:                                │
│                                                                 │
│  1. Enrollment (lần đầu)                                        │
│     Customer nói → Voiceprint được tạo và lưu                   │
│                                                                 │
│  2. Authentication (các lần sau)                                │
│     Customer gọi → So sánh voice với voiceprint                 │
│                  → Authenticated hoặc Not authenticated         │
│                                                                 │
│  3. Fraud Detection                                             │
│     So sánh voice với known fraudster voiceprints               │
│     → Alert nếu match                                           │
│                                                                 │
│  Benefits:                                                      │
│  ✅ Giảm thời gian xác thực từ 30-60s xuống vài giây            │
│  ✅ Tăng bảo mật - không thể đánh cắp như password              │
│  ✅ Cải thiện customer experience                               │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

4. Outbound Campaigns

┌─────────────────────────────────────────────────────────────────┐
│                     High-volume Outbound Campaigns              │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  • Predictive dialing                                           │
│  • ML-powered answering machine detection                       │
│  • Campaign management                                          │
│  • List management                                              │
│  • Time zone aware calling                                      │
│  • Integration với Pinpoint                                     │
│                                                                 │
│  Use cases:                                                     │
│  • Appointment reminders                                        │
│  • Payment reminders                                            │
│  • Marketing campaigns                                          │
│  • Surveys                                                      │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Tích hợp với các dịch vụ AWS khác

┌──────────────────────────────────────────────────────────────────────────────┐
│                     Amazon Connect + AWS Services                            │
├──────────────────────────────────────────────────────────────────────────────┤
│                                                                              │
│                              Amazon Connect                                  │
│                                    │                                         │
│     ┌──────────────────────────────┼──────────────────────────────┐          │
│     │              │               │               │               │         │
│     ▼              ▼               ▼               ▼              ▼          │
│  ┌──────┐    ┌──────────┐    ┌──────────┐    ┌─────────┐    ┌─────────┐      │
│  │Lambda│    │Amazon Lex│    │ Kinesis  │    │   S3    │    │DynamoDB │      │
│  │      │    │          │    │          │    │         │    │         │      │
│  │Custom│    │Chatbots  │    │Real-time │    │Call     │    │Customer │      │
│  │Logic │    │IVR       │    │Analytics │    │Recording│    │Data     │      │
│  └──────┘    └──────────┘    └──────────┘    └─────────┘    └─────────┘      │
│                                    │                                         │
│                    ┌───────────────┴───────────────┐                         │
│                    ▼                               ▼                         │
│              ┌──────────┐                    ┌──────────┐                    │
│              │QuickSight│                    │ Redshift │                    │
│              │          │                    │          │                    │
│              │BI Reports│                    │Analytics │                    │
│              └──────────┘                    └──────────┘                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Tích hợp phổ biến

ServiceIntegration
AWS LambdaCustom logic trong Contact Flows, data lookup, CRM integration
Amazon LexConversational bots, IVR tự động
Amazon S3Lưu trữ call recordings, chat transcripts
Kinesis Data StreamsReal-time contact trace records (CTRs)
Amazon PollyNatural text-to-speech cho prompts
AWS IAMAccess control cho users và resources
CloudWatchMonitoring và alerting
EventBridgeEvent-driven integrations

Pricing

Mô hình giá

Amazon Connect sử dụng mô hình pay-per-use, không có upfront costs, long-term commitments, hoặc minimum fees.

Chi phí chính

ComponentPricing (US East)
Voice - Inbound$0.018/minute
Voice - Outbound$0.018/minute + telephony
Chat$0.004/message
Tasks$0.04/task
Phone Numbers (DID)$0.03/day
Phone Numbers (Toll-free)$0.06/day

Ví dụ tính giá

┌─────────────────────────────────────────────────────────────────┐
│               Monthly Cost Example                              │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Small Contact Center (10 agents, 10,000 calls/month)           │
│                                                                 │
│  Assumptions:                                                   │
│  • Average call duration: 5 minutes                             │
│  • 80% inbound, 20% outbound                                    │
│  • 5 DID phone numbers                                          │
│                                                                 │
│  Voice Usage:                                                   │
│    10,000 calls × 5 min = 50,000 minutes                        │
│    50,000 min × $0.018 = $900.00                                │
│                                                                 │
│  Phone Numbers:                                                 │
│    5 DID × $0.03/day × 30 days = $4.50                          │
│                                                                 │
│  ─────────────────────────────────────────                      │
│  ESTIMATED TOTAL: ~$904.50/month                                │
│  (+ telephony charges for outbound)                             │
│                                                                 │
│  So với on-premises: Tiết kiệm 50-80%                           │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Free Tier

FeatureFree Tier
Voice90 minutes/month (12 months)
Chat500 messages/month (12 months)
Phone Number1 DID included (12 months)

Use Cases

1. Customer Service Center

Scenario: E-commerce company cần hệ thống CSKH
Solution: Amazon Connect + Lex + Contact Lens
Benefits:
  • Self-service bots cho FAQ
  • Agent assist cho complex issues
  • Sentiment analysis để cải thiện quality

2. Technical Support

Scenario: SaaS company cần technical support hotline
Solution: Amazon Connect + Lambda (CRM lookup) + Wisdom
Benefits:
  • Customer identification tự động
  • Knowledge base suggestions
  • Escalation workflows

3. Healthcare Contact Center

Scenario: Bệnh viện cần appointment scheduling
Solution: Amazon Connect + Lex + HIPAA compliance
Benefits:
  • Automated appointment booking
  • Prescription refill requests
  • Compliant call recording

4. Financial Services

Scenario: Ngân hàng cần secure customer authentication
Solution: Amazon Connect + Voice ID + MFA
Benefits:
  • Biometric authentication
  • Fraud detection
  • Reduced handle time

Best Practices

1. Contact Flow Design

PracticeMô tả
Simple menusTối đa 4-5 options per menu
Announce wait timeCho khách biết thời gian chờ
Callback optionCung cấp callback thay vì wait
Test thoroughlyTest tất cả branches trước production

2. Agent Experience

┌─────────────────────────────────────────────────────────────────┐
│                  Agent Experience Best Practices                │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  ✅ Cung cấp đủ context trước khi connect call                  │
│  ✅ Tích hợp CRM để agent có customer info                      │
│  ✅ Sử dụng Agent Assist để suggest responses                   │
│  ✅ Monitor và coach với Contact Lens                           │
│  ✅ Reasonable break time giữa các calls                        │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

3. Quality Management

  • Enable Contact Lens cho tất cả calls
  • Set up alerts cho negative sentiment
  • Regular coaching based on analytics
  • A/B test Contact Flows

4. Security

AspectRecommendation
Access controlLeast privilege với IAM
Data protectionEnable encryption at rest và in transit
ComplianceEnable call recording cho compliance
AuthenticationImplement Voice ID cho secure auth

Exam Tips

Key Points for AWS Exams

  1. Amazon Connect vs AWS Direct Connect

    • Connect = Contact Center (CSKH)
    • Direct Connect = Networking (kết nối on-prem)
  2. Pricing Model

    • Pay-per-minute/message
    • No upfront, no long-term commitment
    • Tiết kiệm 50-80% so với on-premises
  3. Core Features

    • Omnichannel: Voice, Chat, Tasks
    • Contact Flows = IVR logic
    • CCP = Agent softphone
  4. AI/ML Features

    • Contact Lens = Analytics + Transcription + Sentiment
    • Voice ID = Biometric authentication
    • Lex integration = Chatbots/IVR
  5. Integration

    • Lambda cho custom logic
    • S3 cho call recording
    • Kinesis cho real-time CTRs

Common Exam Scenarios

ScenarioAnswer
Cloud-based contact centerAmazon Connect
Biometric voice authenticationVoice ID
Real-time sentiment analysisContact Lens
IVR chatbotAmazon Lex + Connect
Call recording storageS3
Real-time analyticsKinesis + Connect

So sánh với các giải pháp khác

FeatureAmazon ConnectGenesys CloudTwilio Flex
DeploymentCloud-nativeCloudCloud
PricingPer-minutePer-user/monthPer-hour
AI/MLBuilt-inAdd-onAdd-on
AWS IntegrationNativeLimitedLimited
CustomizationHighMediumVery High
Setup timeMinutesDays-weeksDays

Liên kết liên quan