Wróć do Microsoft Excel

Połącz Knoon AI z Microsoft Excel (Microsoft), aby zautomatyzować przepływy pracy AI.

Insert a new row or update an existing row in an Excel worksheet based on a match in a specific column.
microsoftExcelUpsertRow
BETA
Uprawnienia
  • Files.ReadWrite
Uprawnienia opcjonalne
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Parametry
NazwaTypOpisWymagane
workbookIdfile Select the Excel workbook where the row should be inserted or updated.Tak
worksheetNamemustache Name of the worksheet (tab) to search and upsert the row in (e.g. "Sheet1").Tak
matchColumnmustache Column used as the unique identifier for matching rows (e.g. "A" for the first column).Tak
matchValuemustache Value to search for in the match column. If found, that row will be updated; if not, a new row will be inserted.Tak
valueInputOptionstring How to treat the cell values: RAW = store exactly as given, USER_ENTERED = let Excel parse values and formulas.Tak
valuesarray (mustache)Full row values to write.Tak
Zwroty
NazwaTypOpis
statusstring INSERTED, UPDATED, or ERROR.
sensitive.workbookIdstring Workbook ID.
sensitive.worksheetNamestring Worksheet name.
sensitive.rangestring Range written.
sensitive.matchedboolean Whether a matching row was found before writing.
sensitive.matchColumnstring Match column used.