Google Sheets integration
Read, append, clear, and update values in Google Sheets.
How it works
Each Google Sheets action is a YAML template or Python function in Tracecat's open-source registry, under tools.google_sheets. Add an action as a step in a workflow, or give it to an agent as a tool.
Credentials
Add these in Tracecat before running the actions. How credentials work
- Secret
google_api(optional) withGOOGLE_API_CREDENTIALSand optionalGOOGLE_API_SUBJECT - OAuth connection
google_sheets_oauth(optional)
Actions
Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.
Append values
Append rows to a Google Sheets range.
Batch clear values
Clear values from one or more ranges in a spreadsheet.
Batch clear values by data filter
Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc.) are kept.
Batch get values
Retrieve values from multiple ranges in a spreadsheet.
Batch get values by data filter
Returns one or more ranges of values that match the specified data filters. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges that match any of the data filters in the request will be returned.
Batch update spreadsheet
Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied.
Batch update values
Update cell values across multiple ranges in one request.
Batch update values by data filter
Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges.
Clear values
Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc.) are kept.
Copy sheet
Copy a sheet to another spreadsheet.
Create spreadsheet
Create a new Google Spreadsheet with an optional set of sheets.
Get developer metadata
Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId.
Get spreadsheet
Retrieve spreadsheet metadata and optional grid data.
Get spreadsheet by data filter
Returns the spreadsheet at the given ID. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned.
Get values
Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range.
Search developer metadata
Returns all developer metadata matching the specified DataFilter. If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region.
Update values
Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.