Skip to main content
The write_google_sheet method writes data to a specified range of cells in a Google Sheet. This method requires that the user has the appropriate Google Sheets permissions configured in their Narada extension.
This method requires Google Sheets access to be configured in the Narada extension. If this is your first time using Google Sheets methods, the Narada extension will prompt you to authorize access. The user must have write permissions for the specified spreadsheet.

Method Signature

Parameters

spreadsheet_id
str
required
The ID of the Google Sheet. This is the long string in the Google Sheets URL.
range
str
required
The range of cells to write to in A1 notation. Can include sheet name.
values
list[list[str]]
required
A 2D array containing the data to write. Each inner list represents a row of data.
timeout
int | None
default:"None"
Maximum time in seconds to wait for the operation to complete.

Return Value

This method returns None and completes when the data has been written to the sheet.

Example