Power Automate: สำหรับ Microsoft Users
ถ้าคุณใช้ Microsoft 365 อยู่แล้ว (Outlook, Teams, Excel, SharePoint) มีเครื่องมือ Automation ที่ต้องรู้จักค่ะ นั่นคือ Microsoft Power Automate ที่ทำให้คุณสามารถ Automate งานต่างๆ ได้โดยไม่ต้องจ่ายเพิ่ม!
Power Automate คืออะไร?
Power Automate (เดิมชื่อ Microsoft Flow) คือ Automation Platform จาก Microsoft ที่ช่วยให้คุณสร้าง Workflow อัตโนมัติระหว่าง Apps ต่างๆ โดยเฉพาะ Microsoft Apps
จุดเด่นคือ มาพร้อมกับ Microsoft 365 ถ้าคุณมี License อยู่แล้ว ก็ใช้ Power Automate ได้เลย!
ทำไมต้องใช้ Power Automate?
1. มาพร้อม Microsoft 365
ถ้าใช้ Office 365 อยู่แล้ว ก็ได้ใช้ฟรี
2. Integrate กับ Microsoft Apps ได้ดีที่สุด
Outlook, Teams, Excel, SharePoint, OneDrive ทำงานร่วมกันได้ไร้รอยต่อ
3. Desktop Automation (RPA)
Automate App บน Desktop ได้ด้วย Power Automate Desktop
4. AI Builder
ใช้ AI ในการอ่านเอกสาร วิเคราะห์รูปภาพ และอื่นๆ
5. Enterprise Ready
ตอบโจทย์ Security และ Compliance ระดับองค์กร
ประเภทของ Flow ใน Power Automate
1. Automated Cloud Flows
เริ่มทำงานเมื่อมี Trigger เช่น "มี Email ใหม่"
2. Instant Cloud Flows
เริ่มทำงานเมื่อกดปุ่ม (Manual trigger)
3. Scheduled Cloud Flows
ทำงานตามเวลาที่กำหนด เช่น "ทุกวันจันทร์ 9 โมง"
4. Desktop Flows (RPA)
Automate App บน Desktop เช่น เปิด Excel แล้ว Copy ข้อมูล
5. Business Process Flows
กำหนดขั้นตอนการทำงานในองค์กร
วิธีเริ่มต้นใช้ Power Automate
Step 1: เข้าใช้งาน
- ไปที่ flow.microsoft.com
- Login ด้วย Microsoft Account (Work/School)
- เข้าสู่หน้า Home ของ Power Automate
Step 2: สร้าง Flow แรก
- คลิก Create
- เลือก Automated cloud flow
- ตั้งชื่อ Flow
- เลือก Trigger (เช่น "When a new email arrives")
- คลิก Create
Step 3: เพิ่ม Actions
- คลิก New step
- ค้นหา Action ที่ต้องการ
- ตั้งค่า Action
- Map ข้อมูลจาก Trigger
Step 4: Test และ Save
- คลิก Test
- เลือก "Manually" หรือ "Automatically"
- ทดสอบว่าทำงานถูกต้อง
- คลิก Save
ตัวอย่าง Flow ที่ใช้บ่อย
1. Email to Teams
Trigger: Outlook - When a new email arrives Action: Microsoft Teams - Post message
เมื่อได้รับ Email จากเจ้านาย
→ โพสต์แจ้งเตือนใน Teams channel
2. Approval Workflow
Trigger: SharePoint - When an item is created Actions:
- Start and wait for an approval
- Condition (Approved/Rejected)
- Send email to requester
มีคำขอใน SharePoint
→ ส่งขออนุมัติ
→ อนุมัติ → แจ้ง Email "อนุมัติแล้ว"
→ ปฏิเสธ → แจ้ง Email "ไม่อนุมัติ"
3. Email Attachment to OneDrive
Trigger: Outlook - When a new email with attachment arrives Action: OneDrive - Create file
มี Email ที่มี Attachment
→ บันทึกไฟล์ลง OneDrive อัตโนมัติ
4. Teams Message to Excel
Trigger: Teams - When a message is posted Condition: Contains specific keyword Action: Excel - Add row
มีข้อความใน Teams ที่มีคำว่า "Report"
→ บันทึกลง Excel
5. Scheduled Report
Trigger: Recurrence - Every Monday 9 AM Actions:
- Excel - Get rows
- Compose (Create HTML table)
- Outlook - Send email
ทุกวันจันทร์ 9 โมง
→ ดึงข้อมูลจาก Excel
→ สร้างตาราง
→ ส่ง Email Report
Connectors ที่มีใน Power Automate
Power Automate มี 500+ Connectors:
Microsoft Apps
- Outlook, Teams, Excel
- SharePoint, OneDrive
- Dynamics 365
- Power BI
- Azure
Third-party Apps
- Salesforce
- Google (Gmail, Sheets, Drive)
- Slack
- Twitter, Facebook
- Dropbox
- และอีกมากมาย
ฟีเจอร์เด่น
1. Approval Flows
สร้าง Workflow อนุมัติได้ง่ายๆ พร้อม UI สำหรับ Approvers
2. Conditions & Loops
- Condition (If/Else)
- Apply to each (Loop)
- Do until
- Switch
3. Variables
เก็บค่าและใช้ซ้ำใน Flow
4. Error Handling
- Configure run after
- Scope
- Try/Catch pattern
5. AI Builder
- Document Processing (อ่าน Invoice, Receipt)
- Image Recognition
- Text Recognition (OCR)
- Sentiment Analysis
6. Power Automate Desktop (RPA)
Automate App บน Desktop ได้:
- เปิดโปรแกรม
- กรอก Form
- Copy/Paste
- คลิกปุ่ม
ราคา Power Automate
รวมใน Microsoft 365
ถ้ามี Microsoft 365 Business Basic ขึ้นไป ได้ใช้ Power Automate ฟรี
- Standard Connectors
- 2,000 runs/user/เดือน
Power Automate Premium ($15/user/เดือน)
- Premium Connectors
- AI Builder credits
- Desktop flows
Power Automate Process ($150/bot/เดือน)
- สำหรับ Unattended RPA
- Run บน Server ได้
Power Automate vs Zapier/Make
| Feature | Power Automate | Zapier | Make.com |
|---|---|---|---|
| Microsoft Integration | ดีที่สุด | ดี | ดี |
| ราคา (มี M365) | ฟรี | เริ่ม $19.99 | เริ่ม $9 |
| Desktop Automation | มี (RPA) | ไม่มี | ไม่มี |
| AI Builder | มี | ไม่มี | ไม่มี |
| Approval Flows | Built-in | ต้องทำเอง | ต้องทำเอง |
| Learning Curve | ปานกลาง | ต่ำ | ปานกลาง |
เลือก Power Automate ถ้า:
- ใช้ Microsoft 365 เป็นหลัก
- ต้องการ Desktop Automation (RPA)
- ต้องการ Approval Workflow
- ต้องการ AI Document Processing
Tips การใช้ Power Automate
1. เริ่มจาก Templates
มี Templates หลายร้อยให้เลือก อย่าเริ่มจากศูนย์
2. ใช้ Scope จัดกลุ่ม
จัดกลุ่ม Actions ให้ดูง่าย
3. ตั้ง Run After สำหรับ Error
กำหนดว่าถ้า Step ก่อนหน้า Fail ให้ทำอย่างไร
4. ใช้ Expressions
formatDateTime(utcNow(),'yyyy-MM-dd')
concat('Hello ', triggerBody()?['name'])
5. Monitor ผ่าน Run History
ดู Run History เพื่อแก้ปัญหา
6. Share Flow กับทีม
แชร์ Flow ให้คนอื่นใช้หรือแก้ไขได้
ตัวอย่างการใช้ AI Builder
อ่าน Invoice อัตโนมัติ
Email มี Attachment (Invoice PDF)
↓
AI Builder - Process invoice
↓
Excel - Add row (Vendor, Amount, Date)
↓
Teams - Notify Finance team
วิเคราะห์ Feedback
Forms - New response
↓
AI Builder - Sentiment analysis
↓
Condition (Negative sentiment?)
├── Yes → Teams alert + High priority ticket
└── No → Log to Excel
สรุป
Power Automate เป็นเครื่องมือที่ยอดเยี่ยมสำหรับคนที่ใช้ Microsoft 365 อยู่แล้วค่ะ ไม่ต้องจ่ายเพิ่มก็ได้ใช้ Automation ระดับ Professional โดยเฉพาะการทำ Approval Workflow และ Desktop Automation (RPA) ที่เครื่องมืออื่นไม่มี ลองเข้าไปที่ flow.microsoft.com แล้วเริ่มสร้าง Flow แรกได้เลย!
อยากเรียนรู้ Power Automate และ Automation อื่นๆ?
คอร์สสอน AI ของเรามีบทเรียน Automation ครบทุก Platform รวมถึง Power Automate สำหรับองค์กร!
มาทำงาน Automate ให้องค์กรกันค่ะ!
เขียนโดย
AI Unlocked Team
บทความอื่นๆ ที่น่าสนใจ
วิธีติดตั้ง FFmpeg บน Windows และ Mac: คู่มือฉบับสมบูรณ์
เรียนรู้วิธีติดตั้ง FFmpeg บน Windows และ macOS พร้อมการตั้งค่า PATH อย่างละเอียด เพื่อใช้งานโปรแกรมตัดต่อวิดีโอและเสียงระดับมืออาชีพ
สรุป: เส้นทางการเรียนรู้ AI สำหรับคนไทย ฉบับสมบูรณ์
สรุปทุกสิ่งที่คนไทยต้องรู้เกี่ยวกับการเรียน AI ตั้งแต่เริ่มต้นจนถึงการหางานและพัฒนาอาชีพ รวมทุก resources และ tips ในที่เดียว
อนาคตของ AI ในอีก 5 ปี: แนวโน้มและการเปลี่ยนแปลงที่จะเกิดขึ้น
วิเคราะห์อนาคตของ AI ในช่วง 5 ปีข้างหน้า ทั้งด้านเทคโนโลยี การทำงาน ธุรกิจ และสังคม พร้อมวิธีเตรียมตัวรับมือ