Voltar para Google Sheets

Conectar Knoon AI com Google Sheets (Google) para automatizar fluxos de trabalho de AI.

Aggregate values within a specific A1 range in a Google Sheet (e.g. SUM, AVG, MIN, MAX, COUNT, ARRAY_AGG, STRING_AGG).
googleSheetsAggregateCells
Beta
Permissões
  • https://www.googleapis.com/auth/drive.file
Permissões opcionais
  • https://www.googleapis.com/auth/drive
Parâmetros
NomeTipoDescriçãoObrigatório
spreadsheetIdfile Select the Google Sheets file that contains the range to aggregate.Sim
sheetNamemustache Name of the sheet (tab) to read from (e.g. "Sheet1").Sim
rangemustache A1 range to aggregate (e.g. "A2:A100", "B2:D10").Sim
aggregationstring Aggregation function to apply to the cells in the range.Sim
delimitermustache Delimiter to use for STRING_AGG. Ignored for other aggregation types.Não
topNmustache Number of top values to return for APPROX_TOP_COUNT. Ignored for other aggregation types.Não
numQuantilesmustache Number of quantiles for APPROX_QUANTILES (e.g. 4 = quartiles). Ignored for other aggregation types.Não
Devoluções
NomeTipoDescrição
statusstring DONE.
resultany Aggregation result. For SUM/AVG/MIN/MAX/COUNT/COUNT(DISTINCT) returns a number. For STRING_AGG returns a string. For ARRAY_AGG returns an array of values. For APPROX_TOP_COUNT returns an array of { value, count } objects. For APPROX_QUANTILES returns an array of numeric quantile boundaries.