Simple Automation
แนวคิด Automation, การสร้าง Custom GPTs, เชื่อมต่อ AI กับ Line/Email เบื้องต้น
แนวคิด Automation, การสร้าง Custom GPTs, เชื่อมต่อ AI กับ Line/Email เบื้องต้น
ฝึกสร้าง Workflow งานที่ทำซ้ำๆ ให้เป็นระบบอัตโนมัติ
เป้าหมายการเรียนรู้
- เข้าใจแนวคิด AI Automation และประโยชน์ในชีวิตจริง
- สร้าง Custom GPTs เพื่อทำงานเฉพาะทางได้
- เข้าใจหลักการ No-Code Automation ด้วย n8n และ Zapier
- ออกแบบ Workflow อัตโนมัติเบื้องต้นได้
AI Automation คืออะไร?
AI Automation คือการใช้ AI ทำงานซ้ำๆ แทนเราโดยอัตโนมัติ ตั้งแต่การตอบข้อความ สรุปอีเมล ไปจนถึงการเชื่อมต่อแอปต่างๆ เข้าด้วยกัน เพื่อให้เราโฟกัสกับงานที่ต้องใช้ความคิดสร้างสรรค์
คนทำงานโดยเฉลี่ยเสียเวลา 28% ของเวลาทำงานไปกับงานซ้ำซ้อน เช่น ส่งอีเมล อัปเดตตาราง คัดลอกข้อมูล AI Automation ช่วยลดเวลาเหล่านี้ ให้เหลือเพียงไม่กี่วินาที
| ประเภทงาน | ก่อน Automation | หลัง Automation |
|---|---|---|
| สรุปอีเมลรายวัน | อ่าน 30 นาที/วัน | สรุปอัตโนมัติ 30 วินาที |
| ตอบคำถามลูกค้า | ทีละข้อความ ตลอดวัน | Chatbot ตอบ 80% อัตโนมัติ |
| สร้างรายงาน | รวบรวมข้อมูล 2-3 ชั่วโมง | รายงานอัตโนมัติทุกสัปดาห์ |
| โพสต์โซเชียล | สร้างเนื้อหา + โพสต์ทีละอัน | สร้าง + ตั้งเวลาอัตโนมัติ |
สร้างภาพ Clean infographic-style diagram showing an automation workflow with three main stages: Trigger (lightning bolt icon with examples like email, schedule, webhook), Process (gear/AI icon representing data transformation), and Action (output icons like send message, update spreadsheet, post to social). Connected by arrows flowing left to right. Flat design, pastel colors, educational textbook style, white background (automation_workflow_diagram.jpg)
Clean infographic-style diagram showing an automation workflow with three main stages: Trigger (lightning bolt icon with examples like email, schedule, webhook), Process (gear/AI icon representing data transformation), and Action (output icons like send message, update spreadsheet, post to social). Connected by arrows flowing left to right. Flat design, pastel colors, educational textbook style, white background
Custom GPTs: สร้าง AI ผู้เชี่ยวชาญเฉพาะทาง
Custom GPTs คือการสร้าง ChatGPT เวอร์ชันพิเศษที่ปรับแต่งมาเพื่องานเฉพาะ โดยไม่ต้องเขียนโค้ด สามารถอัปโหลดข้อมูลอ้างอิง กำหนด Persona และเพิ่มความสามารถพิเศษได้
ส่วนประกอบของ Custom GPT
| ส่วนประกอบ | คำอธิบาย | ตัวอย่าง |
|---|---|---|
| Name & Description | ชื่อและคำอธิบาย GPT | "ครูสอนคณิต ม.ปลาย" |
| Instructions | คำสั่งกำหนดพฤติกรรม (System Prompt) | "ตอบเป็นภาษาไทย อธิบายทีละขั้น" |
| Knowledge | ไฟล์อ้างอิงที่อัปโหลด | หนังสือเรียน, เอกสารบริษัท |
| Capabilities | ความสามารถพิเศษ | ค้นเว็บ, สร้างภาพ, วิเคราะห์ข้อมูล |
| Actions | เชื่อมต่อ API ภายนอก | ดึงข้อมูลหุ้น, ส่งอีเมล |
ขั้นตอนสร้าง Custom GPT
- 1เข้า ChatGPT → Explore GPTs → Create
- 2ตั้งชื่อและเขียนคำอธิบายที่ชัดเจน
- 3เขียน Instructions กำหนดบุคลิก โทน และข้อจำกัด
- 4อัปโหลดไฟล์ Knowledge (ถ้ามี)
- 5เลือกเปิด/ปิด Capabilities ที่ต้องการ
- 6ทดสอบใน Preview แล้วปรับปรุง
- 7กด Save แล้วเลือกระดับการแชร์
สร้างภาพ Flat infographic diagram showing Custom GPTs architecture: a central GPT brain icon surrounded by three connected components - Instructions (document icon with system prompt), Knowledge (file/database icon with uploaded documents), and Actions (API/plug icon connecting to external services). Arrows show how each component feeds into the GPT. Clean minimal design, soft blue and purple palette, educational style, white background (custom_gpts_architecture.jpg)
Flat infographic diagram showing Custom GPTs architecture: a central GPT brain icon surrounded by three connected components - Instructions (document icon with system prompt), Knowledge (file/database icon with uploaded documents), and Actions (API/plug icon connecting to external services). Arrows show how each component feeds into the GPT. Clean minimal design, soft blue and purple palette, educational style, white background
- ติวเตอร์ AI: อัปโหลดเนื้อหาวิชาแล้วให้ AI ช่วยสอนทีละขั้น
- ผู้ช่วยวิจัย: ใส่หัวข้อวิจัยแล้วให้ AI ช่วยค้นหาและสรุปข้อมูล
- นักเขียนคอนเทนต์: กำหนดโทนเสียงแบรนด์แล้วให้ AI สร้างเนื้อหา
- ที่ปรึกษาสุขภาพ: อัปโหลดข้อมูลโภชนาการแล้วให้ AI แนะนำเมนู
คุณคือ "ครูคณิต AI" ที่เชี่ยวชาญคณิตศาสตร์ระดับ ม.ปลาย
บทบาท:
- สอนคณิตศาสตร์เป็นภาษาไทยที่เข้าใจง่าย
- ใช้ตัวอย่างจากชีวิตจริงประกอบการอธิบาย
วิธีการสอน:
1. ถามก่อนว่านักเรียนเข้าใจพื้นฐานอะไรบ้าง
2. อธิบายทีละขั้นตอน
3. ให้โจทย์ฝึกทำหลังจากอธิบาย
4. ชมเมื่อทำถูก ให้กำลังใจเมื่อทำผิด
ข้อจำกัด:
- ไม่ทำการบ้านให้ แต่ช่วยอธิบายแนวคิด
- ถ้าไม่แน่ใจคำตอบ ให้บอกตรงๆ
- ใช้ LaTeX ในการเขียนสูตรn8n: No-Code Automation แบบ Open Source
n8n (อ่านว่า "n-eight-n") เป็นเครื่องมือ No-Code Automationที่ให้เราสร้าง Workflow ด้วยการลากวาง เชื่อมต่อแอปต่างๆ เข้าด้วยกันได้ เหมือนการต่อ LEGO ดิจิทัล
แนวคิดพื้นฐานของ n8n
| คำศัพท์ | ความหมาย | ตัวอย่าง |
|---|---|---|
| Workflow | ชุดคำสั่งอัตโนมัติ | เมื่อได้รับอีเมล → สรุป → ส่ง LINE |
| Trigger | จุดเริ่มต้นของ Workflow | อีเมลใหม่, เวลาที่กำหนด, Webhook |
| Node | แต่ละขั้นตอนใน Workflow | อ่านอีเมล, เรียก AI, ส่งข้อความ |
| Connection | เส้นเชื่อมระหว่าง Node | ส่งข้อมูลจาก Node A ไป Node B |
| Credential | รหัสเชื่อมต่อบริการ | API Key ของ Gmail, LINE Token |
- 1อีเมลเข้า → AI สรุปเนื้อหา → ส่งสรุปไป LINE
- 2โพสต์ใหม่บน RSS → AI เขียน Comment → โพสต์บน Twitter
- 3ตั้งเวลาทุกเช้า → ดึงข่าว → AI สรุป → ส่ง Slack
- 4Google Form ใหม่ → AI วิเคราะห์ → บันทึกลง Google Sheet
[Trigger: ทุกวันจันทร์-ศุกร์ เวลา 08:00]
↓
[Node 1: ดึงข่าวจาก RSS Feed]
↓
[Node 2: ส่งหัวข้อข่าวให้ AI สรุป]
↓
[Node 3: จัดรูปแบบเป็น Markdown]
↓
[Node 4: ส่งไป LINE Notify]
↓
[Node 5: บันทึกลง Google Sheet]Zapier: Automation สำหรับทุกคน
Zapier เป็นบริการ Automation ที่ เชื่อมต่อแอปกว่า 6,000 ตัวเข้าด้วยกัน ใช้งานง่ายที่สุดในบรรดาเครื่องมือ Automation แต่ละ Automation เรียกว่า "Zap"
| คุณสมบัติ | n8n | Zapier |
|---|---|---|
| ราคา | ฟรี (Self-hosted) / Cloud เริ่มต้น €20/เดือน | ฟรี 100 tasks/เดือน / Pro $19.99/เดือน |
| แอปที่รองรับ | 400+ nodes | 6,000+ apps |
| ความง่าย | ปานกลาง ต้องเรียนรู้ | ง่ายมาก Drag & Drop |
| Customization | สูงมาก เขียนโค้ดเพิ่มได้ | ปานกลาง ตามที่มีให้ |
| AI Integration | รองรับ OpenAI, Claude, etc. | มี AI ในตัว + เชื่อมต่อ API |
| Self-hosted | ได้ ข้อมูลอยู่ที่เรา | ไม่ได้ ข้อมูลอยู่ Cloud |
| เหมาะกับ | คนที่ต้องการ Flexibility | คนที่ต้องการความง่าย |
ถ้าเพิ่งเริ่มต้น แนะนำให้ลอง Zapier ก่อน เพราะใช้งานง่ายกว่าและมีแอปให้เชื่อมต่อมากกว่า แต่ถ้าต้องการ Workflow ที่ซับซ้อนและควบคุมข้อมูลเอง ให้ใช้ n8n
กิจกรรมปฏิบัติ
เลือกทำ 1 ใน 2 กิจกรรมต่อไปนี้
Custom GPTs แตกต่างจาก ChatGPT ธรรมดาอย่างไร?
ข้อใดอธิบาย 'Trigger' ใน n8n/Zapier ได้ถูกต้องที่สุด?

