Takaisin Google Sheets -kohtaan

Yhdistä Knoon AI kohteen Google Sheets (Google) kanssa automatisoidaksesi AI-työnkulut.

Insert a new row or update an existing row in a Google Sheet based on a match in a specific column.
googleSheetsUpsertRow
BETA
Oikeudet
  • https://www.googleapis.com/auth/drive.file
Valinnaiset oikeudet
  • https://www.googleapis.com/auth/drive
Parametrit
NimiTyyppiKuvausPakollinen
spreadsheetIdfile Select the Google Sheets file where the row should be inserted or updated.Kyllä
sheetNamemustache Name of the sheet (tab) to search and upsert the row in (e.g. "Sheet1").Kyllä
matchColumnmustache Column used as the unique identifier for matching rows (e.g. "A" for the first column).Kyllä
matchValuemustache Value to search for in the match column. If found, that row will be updated; if not, a new row will be inserted.Kyllä
valueInputOptionstring How to treat the cell values: RAW = store exactly as given, USER_ENTERED = let Sheets parse values and formulas.Kyllä
valuesarray (mustache)Full row values to write.Kyllä
Palautukset
NimiTyyppiKuvaus
statusstring INSERTED, UPDATED, or ERROR.
sensitive.spreadsheetIdstring Spreadsheet ID.
sensitive.sheetNamestring Sheet name where the row was written.
sensitive.updatedRangestring Range that was inserted or updated.
sensitive.matchedboolean Whether a matching row was found before writing.