在這個步驟將學會如何使用 Edit Fields(Set)節點,選取並設定要傳送到 Airtable 的資料欄位。
完成這個步驟後,流程會長得像這樣:

Nathan 只需要將「處理中(Processing)」訂單的 employeeName 和 orderID 寫入 Airtable,不需要其他欄位。
這時候就可以使用 Edit Fields(Set)節點,來選取要保留的欄位,並排除其他不必要的資料。📌 小提醒:
Edit Fields 節點不只能選取欄位,也可以新增或覆蓋資料,是處理資料流時非常重要的節點,尤其是要寫入資料庫或試算表時。
加入 Edit Fields 節點(放在 If 節點 True 分支與 Airtable 節點之間)
- 在 If 節點的 True 分支連接點上點選「+」圖示
- 搜尋並加入 Edit Fields(Set)節點
設定 Edit Fields 節點參數
- Mode(模式):選擇 Manual Mapping(手動對應)
- 在「Fields to Set」區塊中,從左側輸入資料拖曳以下欄位:
orderID(來自 If 節點)
employeeName(來自 If 節點) - Include Other Input Fields(包含其他欄位):設為 false,只保留你選的欄位
點選「Execute step」來測試節點,會看到只剩下 orderID 和 employeeName 兩個欄位的資料。

Edit Fields 節點執行結果畫面
將資料寫入 Airtable
接下來要把這些欄位資料寫入 Airtable
回到 Airtable,新增一個table表格,命名為 processingOrders


刪除預設的三筆空白資料

刪除Notes、Assignee、Status、Attachments、Attachment Summary欄位,並建立以下兩個欄位:
- 欄位名稱: orderID,欄位類型: Number(數字)(直接更改Name欄位)
- 欄位名稱: employeeName,欄位類型: Single line text(文字)

📌 如果忘記怎麼設定 Airtable 表格,可以回去參考2. Inserting data into Airtable。
更新 n8n 中的 Airtable 節點設定
- 將 Edit Fields 節點連接到 Airtable 節點
- 打開 Airtable 節點設定視窗
- 將「Table」欄位改成 processingOrders
- 點選「Execute step」來測試是否成功寫入新表格

將「Table」欄位改成 processingOrders
執行後,會在 Airtable 的 processingOrders 表格中看到 14 筆資料,只有 orderID 和 employeeName 兩個欄位。















