BLOCKS Reference

G Suite

Share items from Google Drive

Self-Service Plan users (including trial version users) must enable the Google Drive API. For more information on how to enable the API, please refer to Enabling Google APIs.

Overview

This BLOCK shares items (files or folders) from Google Drive with other users.

You can configure whether those you share with can edit, comment on, or simply view the item.

To target items that already exist in Google Drive (not created/saved using G Suite 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.
Item name

Designate the item you want to share.

You can also enter the URL of the item you want to share. You can use the sharing link or the URL from the address bar of the file.

Grantee type

Select who to share the item with.

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

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

  • Editor: Can edit the item.
  • Commenter: Can view and comment on the item.
  • Reader: Can only view the item.
Email address

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

  • 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 G Suite domain.
BLOCK memos Make notes about this BLOCK.
Allow file discovery

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

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