Skip to main content

How it works on shared spreadsheets

Roles and Permissions

When using GPT for Sheets in Google spreadsheets, the roles and permissions of the users involved determine who can enable, execute, and manage settings. The key roles are:

After the Creator of a Google spreadsheet enables GPT functions by going to Extensions > GPT for Sheets and Docs > Enable GPT functions, any user with Editor's access to the spreadsheet can execute them, but access to the sidebar settings can be restricted. Whose balance is used for the executions depends on the location of the spreadsheet as decribed in the table below.

Where is the spreadsheet?Who must enable GPT functionsWho can execute GPT functionsWho can use GPT for Sheets sidebarWhose balance is usedWhose API keys are used
(if any)
My DriveCreatorCreator
Owner
Editors
OwnerOwnerOwner
Shared DriveCreatorCreator
Editors
Creator
Editors
CreatorCreator
info

If the Owner or Creator of the spreadsheet is part of a team, then the team's balance is used.

Example scenarios

The following scenarios show how to manage the execution of GPT functions in shared spreadsheets, and who pays for them.

1. Pay for your team's executions in their own spreadsheets

Prerequisite: You have signed in to the GPT for Work dashboard and added members to your space. You have bought a pack for the space. If you need help, contact support.

Members of your space, and editors with whom they share their spreadsheets, can execute GPT functions in the spreadsheets they create or own. See Roles and permissions.

Who pays: Their executions consume the space balance. The balance is shared among the space members, but only the space owner (you) can see it.

2. Create a spreadsheet where your coworkers can execute GPT functions and you pay for them

Prerequisite: You have created a spreadsheet and enabled GPT functions, then shared it with your coworkers. You have a positive balance in your GPT for Sheets account.

Your coworkers can execute GPT functions in the spreadsheet.

Who pays: Their executions consume your balance.

3. Execute GPT functions in a spreadsheet that has been shared with you

Prerequisite: Your colleague has created a spreadsheet and enabled GPT functions, then shared it with you. They have a positive balance in their GPT for Sheets account.

You can execute GPT functions in the spreadsheet.

Who pays: Your executions consume your colleague's balance.

4. Provide a spreadsheet to your customer, and have them pay for their consumption

Prerequisite: You have created a spreadsheet containing a set of GPT formulas for your customer to use.

Ask your customer to:

  1. Make a copy of the spreadsheet in their domain.
  2. Install the GPT for Sheets add-on.
  3. Select Extensions > GPT for Sheets and Docs > Open from the copied spreadsheet.
  4. Buy a GPT for Sheets pack.

Your customer can execute GPT functions in the spreadsheet.

Who pays: Their executions consume their own balance.