Google Sheets Tool Steps
Update Row
The Update Row tool step allows you to update any row in your Google Sheet
Add the ‘Update Row’ Tool step to your Tool
You can add the ‘Update Row’ Tool step to your Tool by:
- Creating a new Tool, then searching for the ‘Update Row’ Tool step
- Click ‘Expand’ to see the full Tool step
- Using the dropdown menu:
- Select the Google account you would like to use.
- Select the Drive you would like to use (defaults to “My Drive”).
- Select the Spreadsheet you would like to update.
- Select the worksheet you would like to update.
- Select the row number you would like to update.
- Select whether the first row has headers.
- Enter the values you would like to update.
- Click ‘Run step’ to test out the Tool
Using in an Agent
There are 3 ways to configure the tool step when using in an agent
This is the easiest way to configure the tool step. You can select the Drive, Spreadsheet and Worksheet from a list of options via the dropdown menu.

This option offers the most flexibility - you can use the same tool step for multiple Google Sheets, however you will need to manually provide the necessary Google Sheet IDs.

This option offers the best of both worlds. You can use the dropdown menu to select the Drive, Spreadsheet and Worksheet, and then use an input variable for “Row Number” and “Values” to allow the agent to dynamically update different rows in your Google sheet.

Parameters
DrivestringThe Drive you want to use. By default, the tool uses “My Drive”.
Spreadsheet IDstringrequiredTo get the spreadsheet ID, navigate to your Google Sheet and copy the ID from the URL (the long string between /d/ and /edit).
Worksheet IDstringrequiredTo get the worksheet ID, open the specific worksheet you want to use and copy the ID from the URL (appears after #gid=).
Row NumbernumberrequiredThe row number you want to update.
Does the first row have headers?booleanWhen this option is checked, each column will appear as a separate input field in the tool step for you to fill in. This option will be ignored when using dynamic input fields.
ValuesarrayrequiredThe data being inserted will need to be in an array format.
["John Doe", "john.doe@example.com", "123 Main St"]Frequently asked questions (FAQs)
The dropdown menu is the easiest way to configure the tool step. You can select the Drive, Spreadsheet and Worksheet from a list of options via the dropdown menu.
The input variables offer more flexibility e.g. you can use the same tool step for multiple Google Sheets, however you will need to manually provide the necessary Google Sheet IDs.
If you are using the tool in an agent, this is the recommended approach. You can use the dropdown menu to select the fields that don’t need to change, and then use the green input variables for “Range” to allow the agent to dynamically retrieve data from your Google sheet.

