Power Automate ส่ง email ให้ครบทุก บรรทัดใน Excel  | Loop send emails

บทความนี้ จะเป็นการใช้ Power Automate แบบ Cloud Flows

ส่ง mail แบบ ให้ครบทุกราย ใน Excel

สมมติ ตัวอย่างคือส่ง email แจ้งลูกค้า คะแนน สะสมที่เหลืออยู่

1.ตารางใน Excel ต้องสร้างเป็น Table ทิ้งไว้ก่อน 

โดยเก็บที่ OneDrive

2.Sign in  เข้า Power Automate 

ที่ https://powerautomate.microsoft.com/en-us/

ด้วย account office 365

3.คลิกที่ Create -> Instant Cloud Flow

4.ตั้งชื่อ Flow - > เลือก Manually Trigger a flow -> คลิก Create

5.คลิกที่ + New Step

6.เลือก Excel Online (Business)

7.เลือก List rows present in a table

8.กำหนดรายละเอียดของ Files ทีเก็บข้อมูล สำหรับ ไล่ ส่ง emaiil

( Table - > ชื่อ Table ที่ตั้งไว้ในไฟล์ Excel ตามข้อ 1 ) 

9.คลิก + New Step

10.เลือก Standard - > Office 365 Outlook

11.เลือก Send an email (V2)

12. ช่อง To พอคลิก จะมี Dynamic Content ให้เลือก ชื่อ Column ที่เก็บ email จาก ใน ไฟล์ Excel ที่ เลือกไว้ทันที

13.คลิกที่ช่อง Subject จะมี ให้เลือก หัวข้อ Columns ใน file Excel ที่เลือกไว้ ให้ใส่เพิ่มได้

14. กำหนดข้อความใน Body พร้อมกับ  ข้อมูลใน Columns ที่ต้องการใช้ 

15. คลิก Save

16. กลับไปที่ My Flows -> คลิก run ตรงชื่อ Flow ที่สร้างไว้ได้เลย

จะมีอีกหนึ่งหน้าต่าง ด้านล่างขวา เด้ง ขึ้นมา - > คลิก run flow อีกทีได้เลย

ผลลัพธ์ที่ได้ จะมีการไล่ส่ง email ทุกรายการใน Table ใน Excel ทันที