Appbricx
Docs
FeaturesPricingStart free

Get started

OverviewWhat Appbricx isQuickstart with a coding agentQuickstart with the builderCore concepts

Guides

Data and tablesAccess and rolesBusiness rulesSign-inCustom screensRealtime and topicsWorkflows, schedules and webhooksServer functionsAI in your appPaymentsFilesMessagesIntegrationsVerifyPublishing, domains and rollbackOperating your appExport and self-hostSelf-host install

Tutorials

Build a booking app with Claude CodeMulti-user todo listClient portalSlack on new sign-upTemplates

Reference

Reference homeFrontend SDKHTTP APIMCP toolsCLIIntegrations catalogContract formatAI key resolutionRun Appbricx locally

Google Sheets

Read, write, and manage data in Google Sheets spreadsheets.

ProductivityOAuth21 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (21)
  4. clear_sheet
  5. find_rows
  6. insert_row
  7. update_row
  8. copy-worksheet
  9. create-column
  10. create-spreadsheet
  11. create-worksheet
  12. custom_api_call
  13. delete_row
  14. delete-worksheet
  15. export_sheet
  16. find_row_by_num
  17. find_spreadsheets
  18. find-worksheet
  19. format-row
  20. get_next_rows
  21. get-many-rows
  22. google-sheets-insert-multiple-rows
  23. rename-worksheet
  24. update-multiple-rows
  25. Details

Connect

Auth type: OAuth (oauth2). Click Connect and approve access on the provider's page. Appbricx runs the OAuth flow (signed single-use state, PKCE where the provider supports it), stores the tokens encrypted and refreshes them before they expire.

Scopes requested: https://www.googleapis.com/auth/spreadsheets

OAuth needs an OAuth app: the platform's when the operator configured one, or your own (admin panel, Integrations, Configure). You can also bring your own credentials.

  • In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
  • For every project in a workspace: Workspace settings, Integrations.
  • Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.

Call it from a workflow

Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.

Native workflow
// .workflow.js (native ctx)
export async function run(ctx) {
  const res = await ctx.integrations.invoke("google_sheets", "clear_sheet", {
    "spreadsheetId": "<spreadsheetId>",
    "sheetId": "<sheetId>",
    "is_first_row_headers": true,
    "headerRow": 1
  });
  if (!res.success) throw new Error(res.error);
  ctx.log.info("Google Sheets answered", { output: res.output });
}
defineWorkflow module
// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";

export default defineWorkflow({
  id: "google-sheets-clear-sheet",
  name: "Google Sheets: Clear Sheet",
  description: "Calls Google Sheets when a row is created.",
  trigger: { type: "entity_event", entity: "tickets", event: "created" },
  async run(ctx, event) {
    const res = await ctx.integrations.call("google_sheets", {
      "action": "clear_sheet",
      "spreadsheetId": "<spreadsheetId>",
      "sheetId": "<sheetId>",
      "is_first_row_headers": true,
      "headerRow": 1
    }) as { success: boolean; error?: string };
    if (!res.success) throw new Error(res.error);
  },
});
From an app (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/google_sheets/clear_sheet" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"spreadsheetId":"<spreadsheetId>","sheetId":"<sheetId>","is_first_row_headers":true,"headerRow":1}}'

Actions

clear_sheetin catalog

Clear Sheet. Clears all rows on an existing sheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
is_first_row_headersrequiredbooleanFirst Row Contains Headers ?
headerRowrequirednumberEnter the row number where your column headers are located (usually row 1).

find_rowsin catalog

Find Rows. Look up rows in a worksheet based on a column value.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
columnNamerequiredid (picked from your account)The name of the column to search in
searchValueoptionaltextThe value to look for in the selected column. Leave empty to return all rows.
matchCaserequiredbooleanOnly return rows where the cell value exactly matches the search value.
startingRowoptionalnumberStart searching from this row number.
numberOfRowsoptionalnumberHow many rows to return. Defaults to 1 if not specified.
headerRowrequirednumberThe row number that contains the column names.
useHeaderNamesoptionalbooleanUse column names as keys instead of A, B, C.

insert_rowin catalog

Add Row. Add a new row of data to a specific spreadsheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
first_row_headersrequiredbooleanFirst Row Contains Headers ?
as_stringoptionalbooleanInserted values that are dates and formulas will be entered strings and have no effect
valuesrequiredobject (depends on other props)The values to add

update_rowin catalog

Update Row. Update the data in an existing row.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
row_idrequirednumberThe row number to update
first_row_headersrequiredbooleanFirst Row Contains Headers ?
valuesrequiredobject (depends on other props)The values to add

copy-worksheet

Copy Worksheet. Creates a new worksheet by copying an existing one.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)Spreadsheet Containing the Worksheet to Copy
sheetIdrequiredid (picked from your account)Worksheet to Copy
desinationSpeadsheetIdrequiredid (picked from your account)Spreadsheet to paste in

create-column

Create Spreadsheet Column. Creates a new column in a specific spreadsheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
columnNamerequiredtextColumn Name
columnIndexoptionalnumberThe column index starts from 1.For example, if you want to add a column to the third column, enter 3.Ff the input is less than 1 the column will be added after the last current column.

create-spreadsheet

Create Spreadsheet. Creates a blank spreadsheet.

InputTypeDescription
titlerequiredtextThe title of the new spreadsheet.
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
folderoptionalid (picked from your account)The folder to create the worksheet in.By default, the new worksheet is created in the root folder of drive.

create-worksheet

Create Worksheet. Create a new blank worksheet with a title.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)Spreadsheet
titlerequiredtextThe title of the new worksheet.
headersoptionalarrayHeaders

custom_api_call

Custom API Call. Make a custom API call to a specific endpoint

InputTypeDescription
urlrequiredobject (depends on other props)url
methodrequiredone of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD"Method
headersrequiredobjectAuthorization headers are injected automatically from your connection.
queryParamsrequiredobjectQuery Parameters
body_typeoptionalone of "none" | "json" | "form_data" | "raw"Body Type
bodyoptionalobject (depends on other props)Body
response_is_binaryoptionalbooleanEnable for files like PDFs, images, etc.
failsafeoptionalbooleanNo Error on Failure
timeoutoptionalnumberTimeout (in seconds)
followRedirectsoptionalbooleanFollow redirects

delete_row

Delete Row. Delete a specific row from the selected sheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
rowIdrequirednumberThe number of the row you want to delete.

delete-worksheet

Delete Worksheet. Permanently delete a specific worksheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to delete.

export_sheet

Export Worksheet. Download a worksheet as a CSV or TSV file.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
formatrequiredone of "csv" | "tsv"Select the file type to export the sheet as.
returnAsTextoptionalbooleanReturn the exported data as text instead of a file.

find_row_by_num

Get Single Row by ID. Retrieve a specific row using its unique ID.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
rowNumberrequirednumberEnter the row number you want to retrieve
headerRowrequirednumberEnter the row number where your column headers are located (usually row 1).

find_spreadsheets

Find Spreadsheet(s). Find spreadsheet(s) by name.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheet_namerequiredtextEnter the name of the spreadsheet to search for
exact_matchoptionalbooleanIf true, only return spreadsheets that exactly match the name. If false, return spreadsheets that contain the name.

find-worksheet

Find Worksheet(s). Finds a worksheet(s) by title.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)Spreadsheet
titlerequiredtextTitle
exact_matchoptionalbooleanIf true, only return worksheets that exactly match the name. If false, return worksheets that contain the name.

format-row

Format Row(s). Format one or multiple rows in specific spreadsheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
startingRowrequirednumberThe first row number where formatting should begin.
endingRowoptionalnumberThe last row number where formatting should stop (leave empty to format only the starting row).
bgColoroptionaltextProvide a HEX color code (example: #FFD966)
textColoroptionaltextProvide a HEX color code (example: #FFD966)
boldoptionalbooleanMake text bold
italicoptionalbooleanMake text Italic
strikethroughoptionalbooleanMake text Strikethrough

get_next_rows

Get next row(s). Get next group of rows from a specifiec workheet

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
startRowrequirednumberWhich row to start from?
headerRowrequirednumberWhich row contains the headers?
useHeaderNamesoptionalbooleanMap A/B/C… to the actual column headers (row specified above).
memKeyrequiredtextThe key used to store the current row number in memory
groupSizerequirednumberThe number of rows to get

get-many-rows

Get All Rows. Get all the rows from a specific sheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
first_row_headersrequiredbooleanFirst Row Contains Headers ?

google-sheets-insert-multiple-rows

Add Multiple Rows. Add multiple rows of data at once to a specific spreadsheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
input_typerequiredone of "csv" | "json" | "column_names"Select the format of the input values to be added into the worksheet.
valuesrequiredobject (depends on other props)The values to add.
overwriteoptionalbooleanEnable this option to replace all existing data in the sheet with new data from your input. This will clear any extra rows beyond the updated range.
check_for_duplicateoptionalbooleanEnable this option to check for duplicate values before inserting data into the sheet. Only unique rows will be added based on the selected column.
check_for_duplicate_columnoptionalobject (depends on other props)The column to check for duplicate values.
as_stringoptionalbooleanInserted values that are dates and formulas will be entered as strings and have no effect
headerRowrequirednumberEnter the row number where your column headers are located (usually row 1).

rename-worksheet

Rename Worksheet. Rename specific worksheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to rename.
newNamerequiredtextNew Sheet Name

update-multiple-rows

Update Multiple Rows. Updates multiple rows in a specific spreadsheet.

InputTypeDescription
includeTeamDrivesoptionalbooleanTurn this on to also see spreadsheets from Shared Drives.
spreadsheetIdrequiredid (picked from your account)The ID of the spreadsheet to use.
sheetIdrequiredid (picked from your account)The ID of the worksheet to use.
valuesrequiredobject (depends on other props)The values to update.
as_stringoptionalbooleanInserted values that are dates and formulas will be entered as strings and have no effect
headerRowrequirednumberWhich row contains the headers?

Details

Id
google_sheets
Category
Productivity
Tags
spreadsheet, data, google, sheets
Package
@activepieces/piece-google-sheets@0.14.6
Tier
Built in

On this page

  1. Connect
  2. Call it from a workflow
  3. Actions (21)
  4. clear_sheet
  5. find_rows
  6. insert_row
  7. update_row
  8. copy-worksheet
  9. create-column
  10. create-spreadsheet
  11. create-worksheet
  12. custom_api_call
  13. delete_row
  14. delete-worksheet
  15. export_sheet
  16. find_row_by_num
  17. find_spreadsheets
  18. find-worksheet
  19. format-row
  20. get_next_rows
  21. get-many-rows
  22. google-sheets-insert-multiple-rows
  23. rename-worksheet
  24. update-multiple-rows
  25. Details
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcasePricingFor coding agentsTemplatesPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use