ต่อ n8n เข้ากับ Microsoft 365: OneDrive, Excel, Teams แบบไม่ต้องเขียนโค้ด | Connect n8n to Microsoft 365 (TH/EN)

🇹🇭 ต่อ n8n เข้ากับ Microsoft 365: OneDrive, Excel, Teams แบบไม่ต้องเขียนโค้ด

สรุปจากคลิปของช่อง Lin Davoy เรื่องวิธีการต่อ n8n กับ Microsoft สำหรับใครที่ใช้ Microsoft 365 เป็นหลักในการทำงาน ไม่ว่าจะเป็น OneDrive, Excel Online หรือ Microsoft Teams ข่าวดีคือเราสามารถเอา n8n ซึ่งเป็นเครื่องมือ Automation แบบลากวาง มาต่อเชื่อมกับระบบเหล่านี้ได้ทั้งหมด โดยไม่ต้องเขียนโค้ดสักบรรทัดเดียว ทำให้งานที่เคยทำมือซ้ำ ๆ ทุกวันกลายเป็นระบบอัตโนมัติที่ทำงานแทนเราได้ตลอด 24 ชั่วโมง

n8n คืออะไร ทำไมถึงเหมาะกับองค์กรที่ใช้ Microsoft

n8n เป็นแพลตฟอร์ม Automation แบบ open source ที่จุดเด่นคือยืดหยุ่นสูงและสามารถ self-host เองได้ ต่างจากเครื่องมืออย่าง Power Automate ที่ผูกกับ ecosystem ของ Microsoft ล้วน ๆ n8n เปิดให้เราต่อ Microsoft 365 เข้ากับระบบอื่นนอก ecosystem ได้ในเวิร์กโฟลว์เดียวกัน เช่น ต่อ Excel กับ Line, Google Sheet หรือ AI model ต่าง ๆ ทำให้เหมาะกับองค์กรที่ใช้เครื่องมือหลายค่ายผสมกัน

ขั้นตอนหลักในการเชื่อม n8n กับ Microsoft

การเชื่อมต่อเริ่มจากการสร้าง App Registration บน Azure Active Directory เพื่อขอสิทธิ์เข้าถึง Microsoft Graph API จากนั้นตั้งค่า Redirect URI ให้ตรงกับที่ n8n กำหนด แล้วนำ Client ID และ Client Secret มาใส่ในหน้า Credential ของ n8n เมื่อเชื่อมสำเร็จแล้ว เราจะสามารถเลือกใช้ Node ของ Microsoft ต่าง ๆ มาสร้างเป็น workflow ได้ทันที

Node ที่ใช้บ่อยและตัวอย่างการใช้งานจริง

ตารางด้านล่างรวม Node หลักที่คนทำงานสาย Data มักใช้เมื่อต่อ n8n กับ Microsoft พร้อมตัวอย่างการใช้งานที่นำไปปรับใช้ได้ทันที

Node ที่ใช้บ่อยทำอะไรได้ตัวอย่างการใช้งาน
Microsoft OneDriveอ่าน/อัปโหลด/ย้ายไฟล์อัตโนมัติเมื่อมีไฟล์ใหม่เข้ามาพนักงานอัปโหลดใบเสร็จเข้าโฟลเดอร์ แล้วให้ workflow ดึงไปประมวลผลต่อทันที
Excel 365 (Online)อ่าน/เขียน/เพิ่มแถวข้อมูลในไฟล์ Excel บน OneDrive หรือ SharePointบันทึกยอดขายจากฟอร์มลงชีตอัตโนมัติ ไม่ต้องพิมพ์มือ
Microsoft Teamsส่งข้อความหรือแจ้งเตือนเข้าช่องทีมอัตโนมัติแจ้งทีมทันทีเมื่อมีออเดอร์ใหม่หรือไฟล์รายงานอัปเดต
Microsoft Outlookอ่านอีเมลที่เข้าเงื่อนไข หรือส่งอีเมลอัตโนมัติดึงไฟล์แนบจากอีเมลลูกค้าเข้าสู่ระบบโดยไม่ต้องเปิดอ่านเอง

สรุป: เริ่มจากงานซ้ำ ๆ ที่ปวดหัวที่สุดก่อน

ในมุมคนทำงานจริง คำแนะนำคือให้เริ่มจากงานที่ทำซ้ำทุกวันและกินเวลามากที่สุดก่อน เช่น การอัปเดตชีต Excel ด้วยมือ หรือการคอยเช็คไฟล์ใหม่ใน OneDrive แล้วค่อย ๆ ต่อยอด workflow ให้ครอบคลุมมากขึ้น เพราะ n8n เป็นเครื่องมือที่ปรับแต่งได้ลึก ยิ่งใช้นานยิ่งเห็นศักยภาพในการประหยัดเวลาให้ทีม


🇬🇧 Connecting n8n to Microsoft 365: OneDrive, Excel, and Teams Without Code

Summarized from the Lin Davoy channel on how to connect n8n with Microsoft. If your team runs on Microsoft 365 — OneDrive, Excel Online, or Microsoft Teams — the good news is n8n, a drag-and-drop automation tool, can plug directly into all of them without writing a single line of code. Work that used to be repetitive manual steps every day can become an automated system that runs around the clock.

What is n8n and why does it suit Microsoft-heavy teams?

n8n is an open-source automation platform known for its flexibility and the option to self-host. Unlike Power Automate, which is tied entirely to the Microsoft ecosystem, n8n lets you connect Microsoft 365 to tools outside that ecosystem within the same workflow — for example, linking Excel to LINE, Google Sheets, or various AI models. That makes it a strong fit for organizations running a mix of vendors.

The main steps to connect n8n with Microsoft

Setup starts with creating an App Registration in Azure Active Directory to request access to the Microsoft Graph API. Next, set the Redirect URI to match what n8n requires, then enter the Client ID and Client Secret into n8n credentials. Once connected, you can immediately start building workflows using the various Microsoft nodes.

The nodes you will use most, with real examples

Common nodeWhat it doesExample use case
Microsoft OneDriveReads, uploads, or moves files automatically when a new file arrivesStaff upload a receipt to a folder and the workflow processes it instantly
Excel 365 (Online)Reads, writes, or appends rows in an Excel file on OneDrive or SharePointSales entries from a form get logged into a sheet with no manual typing
Microsoft TeamsSends messages or alerts to a Teams channel automaticallyThe team gets notified the moment a new order or updated report lands
Microsoft OutlookReads matching emails or sends emails automaticallyAttachments from customer emails get pulled into your system without opening each one

Bottom line: start with your most painful repeated task

The practical advice is to start with whatever daily task eats the most time — manually updating an Excel sheet, or constantly checking OneDrive for new files — then expand the workflow from there. n8n rewards deeper use, and the time savings compound the longer your team runs on it.


ติดตามข่าวสาร Data & AI ได้ที่:
Facebook: https://www.facebook.com/davoytech
YouTube: https://www.youtube.com/@linlinmhee

📌 อย่าลืมกด Like, Share และ Subscribe เป็นกำลังใจให้ด้วยนะคะ!

💬 ทีมของเพื่อน ๆ ใช้ Microsoft 365 ตัวไหนบ่อยที่สุด อยากให้ n8n ต่อกับอะไรเพิ่มบ้างคะ

#AI #automation #n8n #microsoft #onedrive #DataAndAI #Davoy #DavoyTech #Linlinmhee #WorkflowAutomation

Chat Widget - Davoy.tech