บันทึกตำแหน่งใน Google Sheet ด้วย Power Automate

by

Control Structure: Sequence

Flow Type: Instant Cloud Flow

บทความนี้เขียนขึ้นเพื่อให้ผู้เริ่มใช้งาน Power Automate Cloud รู้จักกับ Template ที่สามารถหยิบไปใช้งานได้ทันที และได้เรียนรู้เกี่ยวกับรูปแบบการทำงานของคอมพิวเตอร์แบบ Sequence (การทำงานตามลำดับ) และรู้จักกับประเภทของ Cloud flow แบบ Instant (ทำงานจากการคลิกตามที่เราต้องการ)

ไปที่ https://make.powerautomate.com/ คลิก Templates แล้วพิมพ์คำว่า ‘save my location’ ในช่อง search จากนั้นคลิก ‘Save my location to Google Sheet’ ตามรูปภาพด้านล่าง

Save my location to Google Sheet

อ่านคำอธิบายแล้วทำตาม

Template’s Description

สร้าง Google Sheet ประกอบด้วย column

  • city
  • countryOrRegion
  • address
  • latitude
  • longitude
  • state
  • timestamp
สร้าง Google Sheet

ใส่ parameter ‘File’ และ ‘Worksheet’

หลังจากใส่ ‘File’ และ ‘Sheet’ แล้ว Power Automate จะดึงข้อมูลชื่อ column และใส่ dynamic content ให้อัตโนมัติ แต่เราต้องลบ item ที่เกินมาตามรูปด้านล่าง:

Delete item in red frame

Save แล้วทดสอบ

Save the flow

Test the flow

ผลลัพธ์จะแสดงตามรูปด้านล่าง (censored for privacy)

Result in Google Sheet

Did You Enjoy this Article?

Subscription to get new articles sent to your inbox each week for FREE

Question?

If you have any questions or feedback about this article please leave a message in the comments section below.


Comments

Leave a comment

Subscribe to get new articles sent to your inbox each week for FREE