/install group-logger
group_logger
บันทึกข้อความจากกลุ่ม LINE อัตโนมัติ และสรุปข้อมูลตามลูกค้าหรืองาน
Description
Skill นี้ทำงาน 2 โหมด:
- โหมดบันทึก — รับทุกข้อความในกลุ่ม บันทึกลง CSV โดยไม่ตอบกลับ
- โหมดสรุป — เมื่อถูก @mention ให้ดึงข้อมูลจาก CSV มาสรุป
Triggers
โหมดบันทึก (ไม่ต้อง @mention):
- ทุกข้อความที่มีคีย์เวิร์ด: JOB, งาน, ลูกค้า, ซ่อม, ติดตั้ง, ส่ง, รับ, เสร็จ, pending, นัด
โหมดสรุป (ต้อง @mention):
- "สรุปงาน [ชื่อลูกค้า]"
- "ดูงาน JOB-XXX"
- "งานค้างทั้งหมด"
- "สรุปวันนี้"
- "รายงานประจำวัน"
File Paths
- Log file: C:\Users\Server.openclaw\workspace\group_log.csv
- Backup: C:\Users\Server.openclaw\workspace\group_log_backup.csv
CSV Format
timestamp,sender,group_id,message,keywords,job_id,customer_name,status
Implementation
โหมดบันทึก
- รับข้อความจากกลุ่ม
- ตรวจจับคีย์เวิร์ดสำคัญ
- ดึง job_id (รูปแบบ JOB-XXX) ถ้ามี
- ดึงชื่อลูกค้าจากข้อความ
- บันทึกลง group_log.csv
- ไม่ตอบกลับ (silent logging)
โหมดสรุป
- อ่านไฟล์ group_log.csv
- กรองข้อมูลตามชื่อลูกค้าหรือ JOB ที่ระบุ
- จัดกลุ่มข้อมูลตามลูกค้า
- สรุปเป็นรายงานภาษาไทย
Examples
บันทึกอัตโนมัติ
ข้อความในกลุ่ม: "ช่างโต้ไปหน้างาน JOB-029 บ้านเจนวิทย์แล้วครับ" บันทึก: timestamp, ช่างโต้, group_id, ข้อความ, keywords=[JOB,งาน], JOB-029, เจนวิทย์, in-progress
สรุปเมื่อถูก @mention
User: "@Comphone สรุปงานเจนวิทย์" Action: อ่าน CSV กรองชื่อ เจนวิทย์ สรุปทุกรายการ
ผลลัพธ์: 📋 สรุปงาน: เจนวิทย์โฮม
- JOB-029 | นัด 9:30 น. 14/3/69
- ช่างโต้ถึงหน้างานแล้ว 10:15 น.
- สถานะ: In Progress
Keywords ที่ตรวจจับ
งาน, JOB, ลูกค้า, ซ่อม, ติดตั้ง, ส่ง, รับ, เสร็จ, pending, นัด, เช็คอิน, ถึงแล้ว, เดินทาง, อะไหล่, ค่าแรง, เก็บเงิน, Invoice, กล้อง, WiFi, ไฟ, สวิทช์, เราเตอร์, NVR, DVR
Notes
- บันทึกทุกข้อความที่มี keyword เท่านั้น ข้อความทั่วไปไม่บันทึก
- ไม่ตอบกลับเมื่อบันทึก เพื่อประหยัด token
- Backup ไฟล์ทุกวันอัตโนมัติ
- รองรับหลายกลุ่มในไฟล์เดียวกัน โดยแยกด้วย group_id
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install group-logger - After installation, invoke the skill by name or use
/group-logger - Provide required inputs per the skill's parameter spec and get structured output
What is Group Logger?
บันทึกข้อความกลุ่ม LINE ที่มีคีย์เวิร์ดเกี่ยวกับงานลง CSV อัตโนมัติและสรุปข้อมูลเมื่อต้องการผ่าน @mention. It is an AI Agent Skill for Claude Code / OpenClaw, with 95 downloads so far.
How do I install Group Logger?
Run "/install group-logger" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Group Logger free?
Yes, Group Logger is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Group Logger support?
Group Logger is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Group Logger?
It is built and maintained by comphone (@comphone); the current version is v1.0.0.