Skip to content

append_google_sheet_rows

Append explicit rows to one Google Sheet tab.

NameTypeRequiredDefaultDescription
model_nameAnnotated[str, Field(description='Name of the Bridge Town model.')]Yes
valuesAnnotated[list[Annotated[list[Any], Field(min_length=1, max_length=1000)]], Field(min_length=1, max_length=10000, description='Bounded rows and cell values to append.')]Yes
sheet_nameAnnotated[str, Field(min_length=1, max_length=100, description='Explicit destination tab name.')]No'Sheet1'
spreadsheet_id`Annotated[strNone, Field(description=‘Google Spreadsheet ID; provide this or source_name.’)]`NoNone
source_name`Annotated[strNone, Field(description=‘Connected Sheet data-source name; provide this or spreadsheet_id.’)]`NoNone
workspace_id`Annotated[strNone, Field(description=WORKSPACE_ID_FIELD_DESCRIPTION)]`NoNone

Returns a structured object. Top-level fields:

  • spreadsheet_id (string)
  • ranges_written (integer)
  • total_rows (integer)

See the response example below for the full payload shape.

{
"name": "append_google_sheet_rows",
"arguments": {
"model_name": "forecasts",
"sheet_name": "Forecast",
"values": [
[
"2026-03",
120
]
],
"spreadsheet_id": "1aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789ABCDEFG"
}
}
{
"spreadsheet_id": "1aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789ABCDEFG",
"ranges_written": 1,
"total_rows": 1
}
  • Module: Google Sheets
  • Requires authentication via API token or Auth0 JWT.