BLOCKS Reference

Google Drive

Update spreadsheet

Self-Service Plan users (including trial version users) must enable the Google Sheets API. If you intend to use the sharing feature (Grantee type property), you must also enable the Google Drive API. For more information on enabling the Google Sheets and Google Drive APIs, please refer to Enabling Google APIs.

Overview

This BLOCK updates a spreadsheet in Google Drive.

You must set a variable as the new contents for the sheet you will update. The data stored in the variable should be the same format as used with the Create spreadsheet BLOCK. For details, refer to the Create spreadsheet BLOCK reference page.

To target items that already exist in Google Drive (not created/saved using Google Drive BLOCKS), you must share the items with the email address for your GCP service account. You can view the email address of your GCP service account in the GCP service accounts section of the Flow Designer Settings menu.

Properties

Property Explanation
BLOCK name Configure the name displayed on this BLOCK.
GCP service account Select the GCP service account to use with this BLOCK.
File name

Designate the file name of the spreadsheet to be updated.

A new spreadsheet will be created if one with this file name does not already exist.

You can also enter the URL of the file. You can use the sharing link or the URL from the address bar of the file.

Worksheet name

Designate the name of the worksheet to be updated.

Starting cell (A1 notation) Designate the starting cell (A1 notation) for writing to the worksheet. The data will be entered from cell A1 if this is left blank.
Input variable Designate the variable that contains the data to write to the spreadsheet.
BLOCK memos Make notes about this BLOCK.
Parent folder Designate the name of the folder that contains the spreadsheet to be updated. Use this property when spreadsheets with the same file name exist in multiple folders and you want to specify which file to update.
Output header line

Select whether or not to output the header line.

  • Check the box to include the header line in the output.
  • Remove the check to not include the header line in the output.
Output keys

Designate specific keys for the data contained in the Input variable. Only data for the specified keys will be output to the spreadsheet. The spreadsheet columns will be ordered in the same order as the keys you designate in this property.

Click to add keys.

Grantee type

Select who to share the spreadsheet with.

  • Specific users: Share with users that you specify.
  • Group: Share with a Google group that you specify.
  • Domain: Share with a Google Workspace domain that you specify.
  • Anyone on the web: Allow anyone access to the item.
Role granted

Select the role to give to those you share the spreadsheet with.

  • Editor: Can edit the spreadsheet.
  • Commenter: Can view and comment on the spreadsheet.
  • Viewer: Can only view the spreadsheet.
Email address

When Grantee type is set to Specific users or Group, designate the email address of those you want to share the spreadsheet with.

You can enter multiple emails at once as a comma-separated list (foo@example.com, bar@example.com, baz@example.com).

  • Specific users: Designate the email address of a user.
  • Group: Designate the email address of a Google group.
Domain

When Grantee type is set to Domain, designate a Google Workspace domain.

Allow file discovery

When Grantee type is set to Domain or Anyone on the web, designate whether or not to have the spreadsheet appear in search results.

  • Check the box to allow others to find the spreadsheet in search.
  • Remove the check to not allow others to find the spreadsheet in search.

この情報は役に立ちましたか?