Cooperative Education · 2026

บันทึกการปฏิบัติ
สหกิจศึกษา

เลือกแฟ้มที่เปิดให้เข้าชม เพื่อไปยังรายละเอียดของกิจกรรมและผู้จัดทำ

01 / 15
Site Visit · Round 02

ผู้จัดทำ

การนิเทศสหกิจศึกษา ณ สถานประกอบการ — ครั้งที่ 2

NATAPOHN
SAWATSAKULPATTANA

Agentic AI Developer

AKKHARIN
LAKSANA

Cooperative Education Student

02 / 15
Tools & Technologies
03 / 15
End-to-End System Architecture · 5-Tier Overview
RESPONSIBILITY:
Blueprint Active

ภาพรวมสถาปัตยกรรม Workflow ทั้งหมด (End-to-End 5 Tiers)

5 TIERS BLUEPRINT
5 Architectural Tiers · 11 Key Nodes · 10 Inter-Tier Connections End-to-End System Blueprint · คลิกที่โหนด Sub Flow เพื่อเจาะลึกรายละเอียดแต่ละหน้า
05 / 15
Workflow Architecture
RESPONSIBILITY:
Active

LINE Webhook Router

FLOW 01
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedTrigger · WebhookCatch WebhookReceive incoming LINE event
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedCodeDetect Route TypeClassify verify, DM or group
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedRouterRoute DeciderSplit event by channel context
dmgroup
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedHTTP · DMForward Signed DMBackend onboarding route
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedHTTP · GroupForward to Group GatewayContinue through shared gateway
5 Nodes · 4 ConnectionsGood · Channel Ingress
Active

Channel Gateway & Ingress Normalization

FLOW 02
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedTrigger · WebhookCatch LINE WebhookReceive gateway event
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedTrigger · WebSocketCustomer WebChat GatewayWin · Real-time socket session
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedCode · Shared ContractNormalize Payload ShapeStandardized message contract
GoodWinCo-Dev · Good & WinCo-Dev · Win & GoodCo-DevelopedHTTPForward to Main AI CoreInvoke the orchestration flow
5 Nodes · Dual IngressShared Normalization
06 / 15
LINE Official Account
TicketX Official Support ✓ Verified Claude / Enterprise Agentic AI Customer Support
Online · Instant Response
LINE Official Account Welcome Screen with Card Carousel
First Touchpoint: Welcome & Card Carousel
Good · Channel Ingress UX

เมื่อลูกค้าเริ่มสนทนาผ่าน LINE OA ระบบจะสร้าง IssueSession อัตโนมัติ ส่งข้อความต้อนรับ และดึงชุดการ์ด Flex Card Carousel ขึ้นมาให้กดเลือกทำรายการได้ทันที โดยไม่ต้องพิมพ์ข้อความเอง เพื่อลดความสับสนและคัดกรอง Intent ได้อย่างแม่นยำตั้งแต่ก้าวแรก

Auto Session Provision Zero-Typing UX LINE Messaging API

Dynamic Card Carousel (แทนที่ Rich Menu เดิม)

Flex Message Cards ปรับเปลี่ยนตามบริบทและสิทธิ์ของผู้ใช้งาน
Good · Flex Template
💡 เหตุผลที่เปลี่ยนจาก Rich Menu เดิม: Rich Menu แบบภาพตายตัวมีข้อจำกัดด้านการแสดงผลและปรับเปลี่ยนไม่ได้ แต่ Card Carousel สามารถ Query ตรวจสอบว่าผู้ใช้มีกี่โปรเจกต์ และ Generate ปุ่มให้ตรงกับสถานะของ IssueSession ขณะนั้นได้ทันที

15-Second Message Batching & AI Typing Indicator

แก้ปัญหาผู้ใช้พิมพ์แยกท่อน รวบรวมเป็นประโยคสมบูรณ์พร้อมแจ้งสถานะสด
Good · Redis + AI Engine
AI Typing Indicator Bubble
Live Indicator
AI is analyzing context...
01
15-Second Message Batching Window

เมื่อผู้ใช้พิมพ์ข้อความเข้ามา ระบบจะตั้งเวลาหน่วง 15 วินาทีใน Redis เพื่อรอจับข้อความที่พิมพ์รัวๆ มารวมเป็นข้อความก้อนเดียวที่มีบริบทสมบูรณ์ ก่อนส่งเข้า Main AI Core ลดการยิง API ซ้ำซ้อนและประหยัด Token ได้มหาศาล

02
Real-time AI Typing Indicator Feedback

ในระหว่างที่รอรวบรวมข้อความและส่งให้ AI ประมวลผล ระบบจะยิงสัญญาณ Typing Indicator (จุด 3 จุดกำลังพิมพ์) แสดงผลทันที ทำให้ผู้ใช้มั่นใจว่าระบบกำลังทำงานและไม่รู้สึกว่าบอทค้าง

07 / 15
Customer WebChat & Portal UI
TicketX WebChat Portal Verified SSL Real-Time Customer Self-Service & Support Channel
● WSS Active
Customer Portal Real-Time WebChat Interface
Customer Web Portal & Real-Time WebChat UI Win · Frontend & Socket

หน้าต่างบริการตนเองสำหรับลูกค้า (Customer Portal) เชื่อมต่อผ่าน WebSocket ตรงสู่ระบบ โดยไม่ต้องพึ่งพาแอปพลิเคชันภายนอก พร้อมระบบสรุปปัญหายืนยันก่อนเปิดตั๋ว (Pre-Confirmation) และรายการตั๋วของฉันแบบเรียลไทม์

Single Source of Truth Message Deduplication Fastify WebSocket
Customer WebChat Gateway Real-Time Information Architecture
Customer WebChat Gateway & Frontend Architecture (ภาพระบบจริง) Win · Architecture & Gateway

ผังสถาปัตยกรรมโครงสร้างจริงจาก Figma ครบทั้ง 11 โมดูลหลัก (Login, Dashboard, Conversations + 6 Drawers, Tickets, Directory, IAM, Master Data, SLA Center, Plane Sync, Traces, Analytics) เชื่อมต่อ Customer WebChat Gateway แบบเรียลไทม์

11 Route Modules WebSocket Real-Time Figma Production Spec

Customer WebChat Gateway (Real-Time WebSocket)

ช่องทางสื่อสารสองทิศทาง (Bi-directional) ความเร็วสูง ปลอดภัย และเสถียร
Win · Gateway Core
01
Secure Handshake

ตรวจสอบ Session Token และยืนยันตัวตนลูกค้าตั้งแต่เริ่มเชื่อมต่อ

02
Room Isolation

แยกห้องสนทนาตาม User ID และ Project ID เด็ดขาด ข้อมูลไม่ปะปนกัน

03
Heartbeat & Lifecycle

ยิง Ping/Pong ทุก 30s ตรวจสอบสุขภาพ Connection ป้องกันการค้าง

04
Auto-Reconnect Engine

กู้คืน Session และดึงประวัติการสนทนากลับมาทันทีเมื่อเน็ตหลุด

WebSocket Architecture: รันบน Fastify WebSocket Plugin รองรับการขยายตัว (Scalable) สื่อสารระดับมิลลิวินาที โดยไม่ต้อง Polling HTTP ให้เปลืองทรัพยากร

Pre-Router, Ticket State Machine & Web State Management

ด่านคัดกรองข้อความขยะ และแกนควบคุมสถานะตั๋วที่ถูกต้องแม่นยำ
Win · State Foundation
Pre-Router Filter

ตัดคำทักทายและคำถามทั่วไป: ตรวจจับข้อความเช่น "สวัสดี", "ขอบคุณ" แล้วตอบกลับทันทีโดยไม่ยิงรบกวน Main AI Core ช่วยประหยัด API Token

chatStore & useCustomerSocket

Single Source of Truth: จัดการ State ฝั่งหน้าบ้านด้วย Context ร่วมกับ Zustand มีระบบ Message Deduplication ป้องกันข้อความเด้งซ้ำ

2-Layer Ticket State Machine

โมเดลสถานะตั๋ว 2 ชั้น:

  • Internal Technical: TRIAGEDDISPATCHEDIN_DEVRESOLVED ควบคุมกฎการเปลี่ยนสถานะเคร่งครัด
  • Customer View: แปลงเป็นภาษาที่เข้าใจง่าย (รับเรื่องแล้วกำลังดำเนินการแก้ไขเสร็จสิ้น)
🛡️ Two-Way Synchronization: ซิงก์สถานะงานสองทางร่วมกับ Plane.so และ Redis ป้องกัน Race Condition เมื่อเกิดการโต้ตอบพร้อมกัน
08 / 15
Workflow Architecture
RESPONSIBILITY:
Active

Main AI Core Flow

FLOW 03
15 Key Nodes · 14 ConnectionsCore flow · simplified from 39 implementation nodes
09 / 15
Workflow Architecture
RESPONSIBILITY:
Active

Sub Flow — Ticket Operations Hub

FLOW 04
10 Action Groups · 9 ConnectionsCreate · read · update · lifecycle · escalation
10 / 15
Workflow Architecture
RESPONSIBILITY:
Active

Sub Flow — Project Docs Search

FLOW 05
11 Key Nodes · 11 ConnectionsScoped FAQ and project knowledge retrieval
11 / 15
Admin Support Hub & Operations
TicketX AI Support Hub · Unified Inbox SUPER_ADMIN Multi-Channel Real-time Inbox & Operations Center
● Real-Time Feed Active
TicketX AI Support Hub Real-Time Inbox
Live Unified Inbox & Human-in-the-Loop Console Win & Good · Co-Developed

ศูนย์รวมแชทจากทั้ง LINE OA และ WebChat ในหน้าจอเดียว เจ้าหน้าที่เห็น AI สนทนาสดแบบเรียลไทม์ พร้อมปุ่ม 'Take Over' แทรกแซงคุยแทน AI ได้ทันทีในคลิกเดียว (Good ดูแล UI & SLA / Win ดูแล Socket Feed & State)

Real-Time Socket Feed Instant Human Takeover Auto-Muted AI Mode
Center App IAM Sign-in Console
Center App IAM Enterprise Sign-in (ticket.centerapp.io) Win · Auth & IAM Ingress

หน้าจอลงชื่อเข้าใช้งานระบบหลังบ้านผ่าน Center App IAM และ Single Sign-On (SSO) รองรับการแยก Tenant สิทธิ์ และ Room Isolation สำหรับเจ้าหน้าที่ ปลอดภัยตามมาตรฐานความปลอดภัยองค์กร

ticket.centerapp.io Multi-Tenant SSO Role-Based Access (RBAC)

Pre-Confirmation & Two-Step Closure (งานร่วมพัฒนา)

กลไกตรวจรับสองทาง ป้องกันปัญหาตั๋วขยะและการปิดเคสโดยที่งานยังไม่สมบูรณ์
Win & Good · Shared Foundation
1 Pre-Confirmation Mechanism

ก่อนที่ระบบจะสร้างตั๋ว AI Core จะสรุปปัญหาที่เข้าใจ พร้อมส่งปุ่มให้ลูกค้ายืนยันความถูกต้องก่อนเสมอ (Win วาง Pre-Router & State / Good วาง Logic ใน Main Core) ตัดปัญหาตั๋วขยะได้ 100%

2 Two-Step Closure Protocol

เมื่อทีมวิศวกรแก้ปัญหาใน Plane.so เสร็จสิ้น ระบบจะไม่ปิดตั๋วทันที แต่จะส่งข้อความถามลูกค้ายืนยันผลตรวจรับ หากยังพบปัญหา ลูกค้ากด "Re-open" เพื่อเปิดเคสทำงานต่อได้ทันที

🤝 Shared Value: เกิดข้อตกลงที่ตรงกันระหว่างลูกค้า, ระบบ AI และทีมวิศวกร ลดงานตามซ้ำซ้อนของเจ้าหน้าที่

Mission Control & Priority Queues

ศูนย์ควบคุมการปฏิบัติการ คัดแยกความเร่งด่วนและเฝ้าระวังความเสี่ยง SLA
Good (UI) · Win (Feed)
Mission Control Dashboard Operations Center Dashboard
0
Human Takeover Queue เคสที่ลูกค้าขอคน หรือ AI ต้องการคนช่วย
109
Waiting Customers ติดตามเวลารอคอยแบบ Real-time
53
SLA Risks Monitored ตั๋วที่ใกล้ถึงกำหนดคำนวณตามวันทำการ
12 / 15
Workflow Architecture
RESPONSIBILITY:
Active

Backend — Human Reply Flow

FLOW 06
7 Nodes · 6 ConnectionsHuman outbound delivery
Active

Backend — Promote to Plane

FLOW 07
4 Nodes · 3 ConnectionsTicket-to-Plane integration
13 / 15
Workflow Architecture
RESPONSIBILITY:
Active

Plane Webhook Notification Flow

FLOW 08
14 Key Nodes · 13 ConnectionsDone · urgent · SLA reminder delivery
Engine Active

SLA Cadence & Business Calendar Matrix

SLA SPEC
1. SLA Targets & Severity Definitions
ระดับ Response Time Resolution Target แนวทางดำเนินการ
Urgent ภายใน 15 นาที ภายใน 4 ชั่วโมง แจ้ง Dev ทันที และเร่งแก้ไขทันที
High ภายใน 30 นาที ภายใน 8 ชั่วโมง เร่งแก้ไขเป็นอันดับแรก
Medium ภายใน 2 ชั่วโมง ภายใน 2 วันทำการ ดำเนินการตามลำดับความสำคัญ
Low ภายใน 1 วันทำการ ภายใน 5 วันทำการ ดำเนินการในรอบงานที่เหมาะสม
None ภายใน 2 วันทำการ ไม่กำหนด พิจารณาและวางแผนตามเหมาะสม
2. Automated SLA Cadence (รอบการสะกิดตามงาน)
ระดับ แจ้งเตือน Dev ซ้ำ รายงานความคืบหน้า User
Urgent ทุก 1 ชั่วโมง ทุก 1 ชั่วโมง
High ทุก 2 ชั่วโมง ทุก 2 ชั่วโมง
Medium ทุก 4 ชั่วโมง ทุก 1 วันทำการ
Low ทุก 1 วันทำการ ทุก 2 วันทำการ
None ตามความเหมาะสม ตามความเหมาะสม
Business Calendar Engine (Asia/Bangkok +07:00)
📅 ข้ามวันเสาร์-อาทิตย์ อัตโนมัติ:

คำนวณวันทำการ (จันทร์–ศุกร์) สำหรับเคส Medium & Low ป้องกัน Alert รบกวนเวลาพักผ่อนของวิศวกรและลูกค้า

⚡ 24×7 Instant Escalation:

สำหรับเคส Urgent & High เดินเวลาตลอด 24 ชั่วโมง พร้อมส่งอีเมลแจ้งทีม Dev แก้ไขทันที

SLA Severity Definitions Thumbnail
เกณฑ์ระดับความรุนแรงและลักษณะปัญหา
SLA Action Guidelines Thumbnail
แนวทางดำเนินการตามระดับความรุนแรง
Response & Resolution Targets Thumbnail
เป้าหมายเวลา Response Time & Resolution Target
SLA Cadence Frequency Thumbnail
รอบเวลาการสะกิดเตือนอัตโนมัติ
5 Priority Levels · Dual Cadence Triggers Mon–Fri Business Day Logic · Zero Weekend Spam
14 / 15

—— LIVE SYSTEM DEMONSTRATION ——

TicketX AI Support Platform — End-to-End Demonstration HD 1080p
15 / 15