Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Google Workspace

Connect to Google Workspace for productivity and collaboration tools.

Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

Connector
Authentication

Google Workspace

OAuth sign-in

Google Workspace

Connect to Google Workspace to access Google productivity tools. Supports reading and writing to Google documents and spreadsheets.

Set up in Google Workspace

  1. Sign in to your Google account in the window that opens.

  2. Review and authorize the requested Google Workspace permissions (access to your documents and spreadsheets).

Set up in StackAI

  1. Open Settings → Connections, add a connection, and select Google Workspace.

  2. Select Connect, sign in to the provider account, and review the requested access. Complete authorization to return to StackAI.

  3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

StackAI obtains the OAuth credentials during sign-in. You do not need to paste an access token or refresh token.

Provider documentation: Setup reference.

Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

Detailed setup guides

Use an action

  1. Add the required Google Workspace action to the workflow.

  2. Select a connection when the action requests one.

  3. Complete the required fields. Use the reference picker when a value comes from another workflow step.

  4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

Actions

List Drive Files

List files from your Google Drive to validate the Google Workspace connection.

Inputs

Field
Type
Required
Description

Search Query (q)

string

No

Optional search query for Drive files (Drive v3 'q' syntax).

Page Size

number

No

Maximum number of files to return (default 10). Default: 10.

Outputs

Field
Type
Description

Files

object_array

List of files with id, name, mimeType and modifiedTime.

Important behavior

If an operation is denied, check the connection’s granted permissions and the account’s access in the provider. Reauthorize the connection when it needs additional permissions.

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.

Last updated

Was this helpful?