Write data to a Google Sheet step

Use this step to write data from your automation into a Google Sheet. There are also steps to Read data from a Google Sheet, Clear data from a Google Sheet and Delete rows from a Google Sheet.

You can use this step to:

  • Write scraped data to a Google Sheet
  • Transfer data stored in CSVs into a Google Sheet
  • Output reporting data into a sheet your team shares

This step features in many of our bot templates.

The Write data to a Google Sheet step with its Spreadsheet dropdown and Set sheet URL from data button, the Sheet name box, the DATA Insert Data dropdown, the Write options with Add to existing data chosen and an empty starting cell box, and the Write method switch

How to configure the Write data to a Google Sheet step


Spreadsheet

Select a Google Sheet, or paste its URL. You can also click Set sheet URL from data to pass a spreadsheet URL in from another step, such as the one a Create a new Google Sheet step outputs.

Sheet name

Enter the name of the sheet to write to, the tab at the bottom of the spreadsheet. The step fetches the names for you to pick from.

DATA

Click Insert Data and select the data to write. To clear a sheet without writing, use the Clear data from a Google Sheet step.

Write options

Choose Add to existing data to write below what is already in the sheet, or Clear data before writing to delete everything in the sheet first.

With Add to existing data, the box below sets the starting cell. Leave it blank to append after the last row, or enter a column and row, such as D7, to always start writing there. Click Insert Data to take the cell from another step, such as the row a Find row in a Google Sheet step found, so each loop writes back to its own row.

Write method

Turn the switch on to write as User entered, which makes Google Sheets treat the values as if typed, so formulas are calculated. Off, values are written as plain text.

Guides that use this step