ย้อนกลับไปยัง Google Sheets
เชื่อมต่อ Knoon AI กับ Google Sheets (Google) เพื่อทำงานอัตโนมัติของเวิร์กโฟลว์ AI
Insert a new row or update an existing row in a Google Sheet based on a match in a specific column.
googleSheetsUpsertRow
เบต้า
สิทธิ์การใช้งาน
สิทธิ์การใช้งานตัวเลือก
พารามิเตอร์
| ชื่อ | ประเภท | คำอธิบาย | จำเป็นต้องมี |
|---|---|---|---|
| spreadsheetId | file | Select the Google Sheets file where the row should be inserted or updated. | ใช่ |
| sheetName | mustache | Name of the sheet (tab) to search and upsert the row in (e.g. "Sheet1"). | ใช่ |
| matchColumn | mustache | Column used as the unique identifier for matching rows (e.g. "A" for the first column). | ใช่ |
| matchValue | mustache | Value to search for in the match column. If found, that row will be updated; if not, a new row will be inserted. | ใช่ |
| valueInputOption | string | How to treat the cell values: RAW = store exactly as given, USER_ENTERED = let Sheets parse values and formulas. | ใช่ |
| values | array (mustache) | Full row values to write. | ใช่ |
คืนสินค้า
| ชื่อ | ประเภท | คำอธิบาย |
|---|---|---|
| status | string | INSERTED, UPDATED, or ERROR. |
| sensitive.spreadsheetId | string | Spreadsheet ID. |
| sensitive.sheetName | string | Sheet name where the row was written. |
| sensitive.updatedRange | string | Range that was inserted or updated. |
| sensitive.matched | boolean | Whether a matching row was found before writing. |




