> For the complete documentation index, see [llms.txt](https://docs.browserflow.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.browserflow.app/reference/browserflow-commands/spreadsheet/add-spreadsheet-row.md).

# Add Spreadsheet Row

Writes a row to Google Sheets

{% hint style="info" %}
Note: Writes to Google Sheets are batched and will occur every 5 minutes and when the flow finishes, not when the command runs
{% endhint %}

#### Sheet

* Google Sheet to write to

#### Fields

* Values of the output row
  * Each field represents a separate column

### Viewing the output

The output of Add Spreadsheet Row can be seen in the Output tab of the [console](/guides/debugging-a-flow.md#console).

### Exporting the output

There are two ways to export the output:

* Writing to a Google Sheet
* Click the "Download CSV" button in the Output tab of the console

### Avoiding Overwriting Rows

When Browserflow sends rows to Google Sheets to be appended, Google Sheets uses the first column of the sheet to determine where to add the rows. Please note that if the first column is empty, Google Sheets will **overwrite** existing rows rather than **appending** new rows. You can fix this by reordering the columns so that when a row is populated, the first column for that row has a value.
